Pocketmine Minigame
In this minigame there are three main roles:
Create Arena: /pt admin create
Go to Setup mode: /pt admin setup (datas are saved in memory)
In setup mode it is possible to see all editable values using the command: /pt info
You can use tags to set position value.
Availble tags are: player_pos , look_pos , look_block
To setup spawns:
To setup chests you have to aim at the chests and use "look_block" tag
To setup lobby position (in the lobby world)
use MinekCz\PalermoTown\PalermoTown;
PalermoTown::FindArena() :?Arena
PalermoTown::GetAvailbleArenas() :array
PalermoTown::IsInArena(Player $player) :bool
PalermoTown::GetArenaByPlayer(Player $player) :?Arena
PalermoTown::StartArena(Arena $arena) :void
PalermoTown::EndArena(Arena $arena) :void
PalermoTown::SetTime(Arena $arena, int $time) :void
PalermoTown::GetArenaWorlds(Arena $arena) :array //[0 => gameWorld, 1 => lobbyWorld]
PalermoTown::GetAllPlayer(Arena $arena) :array //Get all players in arena including spectators
PalermoTown::GetArenaByName(string $id) :?Arena
ยดยดยด