MiniBoardGames Documentation¶
Contents¶
Creating your own games¶
API¶
Creating Your Own Games¶
Setup¶
For make games in MBG you have to create new Java project, then go to Properties > Java Build Path > Add External JARs... and then search MiniBoardGames {version}.jar you download from spigotmc.org
Note
You don’t need Spigot lib, or create new plugin
Inventory Games¶
Map Games¶
Configuration¶
Rewards¶
You can create rewards for each game, and when player win the game, all command go to be executed
How to add it¶
For add rewards select a game, then go to the node (Configuration Section):

Then in the same space (Like “colors: ” node) add “finalCommand: [COMMAND HERE]” You can use {player} to replace it for the winner name and multiple commands separated with comma:
Example: say {player} wins, it's super cool,give {player} minecraft:diamond_block 1000
With this you add all commands you wan’t vanilla, from other plugins etc
Note
More info about vanilla commands: http://minecraft.gamepedia.com/Commands
AFK¶
MiniBoardGames has Anti-AFK system, with this system, players playing will not be kicked
Enable/Disable¶
You can enable and disable this searching in config antiafk
My Players Get Kicked By Flying¶
MBG Anti-AFK system use move event to prevent AFK kick, and some anticheats detect this move like Hacked
If you dont need AFK system go to antiafk
node in config and disable it but if you need it
You can modify the force of that movement searching in config afk
Then you have x: 0.5
y: 0
z: 0.5
values, change this depending of you AFK system and your AntiCheat, example if you afk system detect slow movement set it to 0.05
0
0.05