🎌Capture The Flag
Last updated
Last updated
Holographic Displays & ProtocolLib are recommended to use CTF so each team can see the flag holograms correctly.
This is not a separated game mode, you can set your arena to be CTF but there's no CTF wins or anything like that. Key game features:
Your flag has to be safe for you to capture the enemy flag
The flag has 5 states: Safe, Stolen, Dropped, Captured, Respawning
Fully Holographic System
Scoreboard flag data
All sounds & messages can be changed
Works with classes and kits
You can make it works however you want
You can enable or disable certain skills for the flag carrier, like Crusader's Shield, Enderman's Recall and Double Jump.
The CTF can be played along the other game modes as well! You can add game objectives, CTF flags and use the KOTH system all at the same time. To enable CTF go to Options.Game.CTF.Enable-Game-Tasks and set it to true, this will enable some tasks for the game to work. This is a option because if CTF is not being used the task would be still be running but doing nothing so the tasks will just not run if this is not enabled to save server resources. After enabling the game tasks, you can add the flags to your arena by using
/wizards setLocation <arena> RED_FLAG and BLUE_FLAG
That's it! You can now customize the game mode. There's a ton of options, sounds and messages - everything is separated by a CTF section in config, so look for those. Additionally, if you want to use CTF in some arenas and not on others, you can! Just like the Objectives Placeholder in scoreboard you can use %ctf%. If the game does not detect any flags this placeholder will just be empty and the Scoreboard line will be reduced accordingly.
Other Scoreboard Placeholders:
%red_flags_captured%
%blue_flags_captured%
When capturing a flag you can add points to the team OR set a specific amount of flags that a team has to capture to win: By setting Captures-To-Win to -1, the score system will be used. You can also set Score-To-Win to -1 and Captures-To-Win to positive value if you don't want kills to be part of the game; players can still get points by kills.
For classes, your Objective-Protection-Size at map config will apply to flags. Very important config settings to know what they do:
Options.Game.CTF.Flag-Location-Threshold
The distance that the player needs to be to capture a flag
Options.Game.CTF.Update-Type
How frequent should the capture flag check update be, check Updates & Timer at plugin's page for more. Default is FAST (0.5 sec)
Everything is customizable.