Combat Tag
Plugin to block commands, display messages & different scoreboards (with TAB) when players hit each other for a specified time.
Commands
/combat-tag reload(alias:/ct) — reload configuration
Requires combattag.admin.
Placeholders
%ct_in_combat%%ct_time_left%
Configuration
Combat scoreboard
TAB offers a pretty nifty feature where you can display scoreboards determined by conditions. You can use this in conjunction with the in_combat placeholder offered by this plugin to create a scoreboard that is displayed when the player is in combat.
Example usage (in TAB's config.yml):
scoreboard:
scoreboards:
# Combat scoreboard (TAB checks top to bottom)
combat:
display-condition: "%ct_in_combat%=true" # <- the condition
title: Combat scoreboard
lines:
- ' You are in combat!'
- ' %ct_time_left% secs left'
# Default scoreboard
scoreboard:
title: Normal scoreboard
lines:
- ' The default scoreboard of my server!'
Messages use MiniMessage and live in messages.yml; behaviour is configured in config.yml
All Versions
+ Add Version- New option 'kill-on-quit-only-if-at-fault' (on): combat loggers are only killed when the disconnect was their own doing, protecting those kicked by staff etc.
- New option 'custom-kill-message-on-leave' (on): when a combat logger is killed, the server is told who logged out and who they were fighting, in place of the plain vanilla
- New option 'end-combat-when-opponent-gone' (on): a player's combat tag ends the moment the opponent who tagged them leaves or dies, instead of running the full timer
- Fixed leftover combat timers, which could send a stray 'you are no longer in combat' message after combat had already ended or after the plugin was disabled
- New messages.yml for messages (there is an automatic migrator that copies values over for you)
kill-on-quit option and null error+ Restructured code to be more efficient
blocked-cmds list