Note: This is a MASSIVE update, I'd recommend testing out the plugin first. Even if you don't care about CTF, the Leaderboard rework is a huge performance improvement.
- Added CTF mode options
- Commands will now tab complete
- Better overall performance
- The leaderboard system was completed recoded.
- If your leaderboard has more than 10 players make sure to change Leaderboard.Data-Limit to the correct value.
- Healing and Damage leaderboards may lost a little bit of precision, should not impact anything.
- The amount of data stored has been reduced from ALL your players to the limit option.
- Updated Holographic Displays Placeholder system.
- Offline player PlaceholderAPI Placeholders have been removed.
- It is possible to have it back, but I see no use for them and it is costly to maintain updating.
- Leaderboard PlaceholderAPI will be added later.
- Placeholders for online players are still working!
- New Leaderboard type: Flags Captured
- {wizards_flags_captured_position}
CTF
NOTE: This feature is in BETA, please report bugs at discussion or Private Message, check the full changelog for known issues.
Holographic Displays & ProtocolLib are recommended to use CTF so each team can see the flag holograms correctly.
Wizards now supports CTF gamemode. Note that this is a BETA feature as some other features, like stats, may be added later. 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.
Known issues:
- When Always-Drop-Flag-On-Ground is set to true, the flag will sometimes not be visible, this is due how the server checks for the highest block, it's a very rare problem but it can happen.
Missing features (will be added in future updates):
- Titles
- Some custom Placeholders
Any feedback is welcome.