Castle Defense
A simple plugin that lets you create your own attackers vs defenders game mode. Fully modifiable team spawns and flag spawn (flag is a blue bed). Customizable inventories for both teams, when a game starts all players who joined will be teleported to their respective spawns with the set inventory for their team, and the flag will be placed. Once the game ends all players will be teleported back to where they were before the game began and their inventories will be restored. This plugin is server crash-safe, if the server is reloaded or crashes during a game all player's in the game will have their inventories restored and be teleported back to where they were before the game started.
Commands
All players:
/cd join - will put the player on either the attackers or defenders team (balances teams automatically).
Admins only:
/cd create [world] - creates a new game on a specified world (will use the player's current world if not defined).
/cd start - will force start the game.
/cd end - will force end the game.
/cd teamsize <maxPlayers> - will set the max players on a team (number of players required on each team to start).
/cd timelimit <seconds> - will set the time limit for the game in seconds (if time runs out then the defenders win).
/cd options - opens a GUI where you can configure the team spawns, flag spawn, and team inventories.