Dodgeball
A plugin for Minecraft 1.16 which provides a built-in dodgeball minigame. Complete with inventory storage and return, command autocomplete, and json configuration for team names, start timer, cooldown on receiving dodgeballs, spawnpoints for spectators and members of each team (also able to be set in game via commands, much easier!), and winner rewards!
Commands and Permissions:
- /dodgeball join - joins the lobby of a started game;
permission dodgeball.player
- /dodgeball leave - leaves the lobby of a started game;
permission: dodgeball.player
- /dodgeball reload - reloads the configuration of the plugin;
permission: dodgeball.admin
- /dodgeball setspawn [team1|team2] - adds a spawnpoint of the respective team to your position;
permission: dodgeball.admin
- /dodgeball setspectate - sets spectator spawnpoint to your position;
permission: dodgeball.admin
- /dodgeball start - opens a game of dodgeball if one is not open;
permission: dodgeball.admin
- /dodgeball stop - closes an open game of dodgeball;
permission: dodgeball.admin
Default Config
Code (Text):
{
"Team_One_Name": "Red",
"Team_Two_Name": "Blue",
"Game_Start_Time": 120,
"Ball_Cooldown": 5,
"Spectate_Spawnpoint": {
"worldname": "world",
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"Team_One_Spawnpoints": [
{
"worldname": "world",
"x": 0.0,
"y": 0.0,
"z": 0.0
}
],
"Team_Two_Spawnpoints": [
{
"worldname": "world",
"x": 0.0,
"y": 0.0,
"z": 0.0
}
],
"rewards": [
"give %player% diamond 1"
]
}
I'm a beginner plugin developer, but this product is fully free and I would appreciate any constructive criticism from anyone who tries it out, and will look at any feature requests I can provide!