PalermoTown
Incompatible con la versión actual de PocketMine-MP — Could not load plugin 'PalermoTown': Incompatible API version (plugin requires one of: 4.0.0) · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).
PalermoTown
Pocketmine Minigame
In this minigame there are three main roles:
-
Murder - You have to kill everybody
-
Sherif - Your goal is to kill Murder
-
Innocent - Help sherif, survive as long as possible
Features
-
Easy to setup Arenas
-
Easily editable language file
-
Map saving
-
Lobby and Game map
How to setup
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
-
Set basic info:
-
/pt set name <arena_display_name>
-
/pt set slots <max_players>
-
/pt set world_lobby <lobby_world_name>
-
/pt set world_game <game_world_name>
-
/pt set save_lobby | game map is saved automaticly, but you can also enable lobby save
-
Set position data:
You can use tags to set position value.
Availble tags are: player_pos , look_pos , look_block
To setup spawns:
-
/pt set spawns 0 player_pos
-
/pt set spawns 1 player_pos
-
/pt set spawns 2 look_pos
-
etc...
To setup chests you have to aim at the chests and use "look_block" tag
-
/pt set chests 0 look_block
-
/pt set chests 1 look_block
-
/pt set chests 2 look_block
-
etc...
To setup lobby position (in the lobby world)
-
/pt set lobby player_pos
-
Last thing you want to do is save the map(s), save data and enable arena
-
/pt savelevels
-
/pt savedata
-
/pt set enable true
-
RESTART SERVER
-
The arena is ready to play
Commands
-
Basic Commands:
-
/pt join <arena_name>
-
/pt leave
-
/pt list
-
Admin commands (op only)
-
/pt admin create <arena_name>
-
/pt admin remove <arena_name>
-
/pt admin setup
-
/pt | to list commands
-
Setup Commands (setup only)
-
/pt set
-
/pt set
-
/pt info
-
/pt dump | show raw data
-
/pt dump [data] | show specific part of data | /pt dump spawns
Upcoming features
-
Map vote
-
Better item shop
-
Cosmetics
Known bugs
-
Works only on 4.0.0 Pocketmine version
-
This is beta release, for entertainment purposes only
-
There are some issues with Map saving on non Windows OS.
Author
-
This plugin was created by MinekCz
-
You can contact me on discord: Minek#2962
Credit me
- If you're making video please use poggit/github link.
Video
Showcase: IMAGE ALT TEXT
How to setup: IMAGE ALT TEXT
Api
use MinekCz\PalermoTown\PalermoTown;
PalermoTown::FindArena() :?Arena PalermoTown::GetAvailbleArenas() :array PalermoTown::IsInArena(Player player) :?Arena PalermoTown::StartArena(Arena arena) :void PalermoTown::SetTime(Arena time) :void PalermoTown::GetArenaWorlds(Arena arena) :array //Get all players in arena including spectators PalermoTown::GetArenaByName(string $id) :?Arena
´´´