This is a plugin that you can use to create a Capture the Flag map on your server. The plugin generates a 256x256 area for the map, enclosed with adminium walls.
To play CTF, players can say /silver or /gold to join a team. When they say /quit, they will be returned to their original location with their inventory.
The two teams are silver and gold, each team has their own spawn platform, flagstand and capture point. The flags are silver and iron blocks.
To capture the flag, players just need to click it, then return to their own base and click the capture zone. The flag will be returned to the enemy base if the carrier is killed by mobs or enemy players.
When one team reaches 5 captures, scores are reset and all players are returned to the spawn point.
All players get a starter kit of iron tools, a bow and arrows, torches, and wood and cobblestone blocks.
Using the plugin:
You can download the CTF plugin here (source). CTF requires TheYeti's Permissions system; players with the "ctf.op" permission will be able to use the operator commands.
Generating the map can be a little problematic (at least on my computer) due to the chunk loading/generation system. This set of steps worked for me.
- [*:1v3km0jq]Start the server and let it generate a new world. Connect, and wait for the initial loading/sending lag to diminsh.
[*:1v3km0jq]Say /newmap (this should be done with no other players online). The server will send you a message when it is finished creating the map.
[*:1v3km0jq]Save the level and restart the sever, this will make sure all of the spawn/flag positions are set properly.
[*:1v3km0jq]Make the server public!
For everyone: /silver, /gold, /ctfhelp, /ctfstatus, /tc, /resupply, /ctfquit
For operators: /newmap, /newgame, /ctfgoto
CTF was originally intended to be used without other game-altering plugins, but I do recommend a death notification system.
Rather than being a remake of popular FPS CTF game modes, this plugin is designed to integrate with the general Minecraft experience. You may want to keep the same map for a week or two to allow players to build defenses and gather resources, though there's nothing stopping you from having your staff customize the map and then disallowing non-mods from building there.
I suggest not allowing players to use any other commands while in the CTF world, especially LWC and other "protection" systems since that decreases the competitive nature of the game. If you let your players use /home, /sethome, and /spawn, they should be disabled in the CTF world.
Enabling mobs is a good idea: after sunset the brazen will try to make a midnight run to the flag, but the sensible will stay where it is safe.