The classic and fully customizable minigame fun to play for PocketMine-MP.
Easy to setup
Customizable scoretag for the players
Arena map loading when starting the plugin
Ingame sounds, to make the gameplay alive
API to fully customize the game
Customize the game settings (in-game or in the config file)
How to setup & play
The plugin itself it's easy to setup. Follow the steps:
Install the plugin
Change the config values as you like
Go to your server and type /kbffa join
Commands and Permissions
kbffa (or knock) -> The minigame command
join -> Makes the player join the minigame
leave -> Makes the player leave the minigame
kills -> Check the kills of a player (can be used in console too)
settings -> Customize the minigame settings directly in-game
knockbackffa.customize -> Customize the minigame settings
The server crashes
When you reload the server, the plugin will mess up. What you can do is to just restart the server every time you changed a configuration file.
Why the plugin won't work fine on X fork of PocketMine?
Why are you even using a PocketMine fork?
Developers and API
The documentation is in my GitHub Wiki: it explains how to use the API to check some settings or to get the kills and the last damager, how to edit some in-game settings and even how to listen for the plugin events.
Some settings did not apply when using the /knock settings command
Many others not explained here (it's a huge list)
Added the new double jump (still experimental, so don't expect much from it)
Added the PlayerDoubleJumpEvent. It is cancellable ;)
Added PM4 support, finally
Updated to protocol 448 (version 1.17.10)
Added support for 1.17.0 (protocol version 440)
Fixed a bug where the server may crash when the player joins the minigame
PlayerKitEvent and SettingsChangeEvent are now cancellable
Added functions to get the damager and the target in some events
Enjoy the new items: the bow, the snowball and the leap that will help the game to be more fun to play. The leap will have a cooldown of 10 seconds for now, then, in the next updates, it will be customizable.
Rewrote the listener to make them separate
Rewrote the whole API and added events! This will allow server owners to customize the game a lot (check the GitHub Wiki of the project for more info about using the API and the events). Expect more functions in events for the next update.
Added more settings both in-game and in the configuration file
Removed the world handler since it's useless
In-game settings! Change the minigame settings by typing /kbffa settings
Now the leave subcommand will teleport the players to a specified world in the configuration file
Fixed many bugs where players' killstreak still didn't got reset
Using Commando as a command framework for the plugin
Support for 1.16.220 (protocol version 431)
Added the mcpe-protocol to our plugin.yml to prevent issues on other versions when PocketMine-MP is being updated for other versions
Added the leave subcommand, that allows the player to leave the game and go to the world he joined from