How to set up the game: Build a large room or a place surrounded by walls,
set up the game area by setting the area corner locations using commands /agset point1 and /agset point2. (players locations)
The 'spawn point' for the game should be set to outside of the game area. It must be set by the command /agset spawn.
It can also be inside of the game area, but in that case the command /anvilgame will not teleport players while a game is running.
The game area's corners (point1, point2) must be
inside the area, not the corner locations of the wall's blocks.
The game area should have doors, so players can enter or leave.
This doors can be set by /agset door.
You can remove doors with that same command if needed.
When there are enough players for a game the countdown will start.
Minimun players needed for a game to start can be set by /agset minplayers.
When a game starts the doors will get locked with a block (default is IRON_BARS, see config)
Players must not stand in the doors when the game starts!
The game ends when only one player is left.
Rewards can be given by items or by money (any economy plugin supporting vault and vault itself are needed for money...)
Commands: /anvilgame teleport a player to the game
/agset set or change config values
/aginfo print a list with game settings
/agreset restart the plugin (saves and reloads the config)
/agleaderboard prints a list of the top ten players