1vs1
Incompatible con la versión actual de PocketMine-MP — Could not load plugin '1vs1': Incompatible API version (plugin requires one of: 4.0.0) · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).
1vs1
poggit-ci
✔️ Simple setup
✔️ Multi arena support
✔️ Fast, without lags
✔️ Last PocketMine API support
✔️ Kits support
How to setup?
Installation:
-
Download latest release or sucess. build
-
Upload it to your server folder /plugins/
-
Restart the server
Create and setup an arena:
-
Create an arena using /1vs1 create
-
Join the setup mode (command /1vs1 set
) -
There are setup commands (they are without /), you can use them to set the arena
Setup commands:
Command Description
help Displays all setup commands
done Is used to exit setup mode
level
Sets arena game level
spawn
Sets arena spawn position
joinsign Update joinsign
enable Enable the arena
Commands:
Commands:
/1vs1 help:
Description: Displays all OneVsOne commands
Permission: 1vs1.cmd.help (OP)
/1vs1 create:
Description: Create new arena
Permission: 1vs1.cmd.create (OP)
Usage: /1vs1 set
Permissions
1vs1.cmd: description: Permissions for all OneVsOne commands default: op children: 1vs1.cmd.help: description: Permission for /1vs1 help default: op 1vs1.cmd.create: description: Permission for /1vs1 create default: op 1vs1.cmd.remove: description: Permission for /1vs1 remove default: op 1vs1.cmd.set: description: Permission for /1vs1 set default: op 1vs1.cmd.arenas: description: Permission for /1vs1 arenas default: op 1vs1.cmd.join: description: Permission for /1vs1 arenas default: op
API
Events:
- PlayerArenaWinEvent
/**
- Arena constructor.
- @param Server $server
- @param Plugin plugin */ public function __construct(Server server, Plugin plugin) { server->getPluginManager()->registerEvents(plugin); }
/**
- @param PlayerArenaWinEvent event) { event->getPlayer(); player, 100); $player->sendMessage("§a> You won 100 coins!"); }
/**
- @param Player $player
- @param int player, int $coins) {}
Credits
- Icon made by Nikita Golubev from www.flaticon.com is licensed by CC 3.0 BY