Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Spawnpoint

Comments in 'Plugin Development' started by JackboyPlay, Jun 4, 2016.

  1. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    How can I set a spawnpoint of a player at the coordinates 1 1 1 in the world abcdefg?
  2. wolfdale
    Offline

    wolfdale Active Member Plugin Developer

    Joined:
    Dec 3, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    ace
    PHP:
    $player->setSpawn(new Position(1,1,1,$this->getServer()->getLevelbyName("abcdefg")));
    JackboyPlay likes this.

Share This Page

Advertisement