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
Ченджлог
2.0.0Релиз26.1.1, 26.1.2, 26.2 · 9 августа 2026 г.
- 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 death message. Reword it with the 'combat-logged-out' message in messages.yml, or blank that to say nothing
- 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)
1.7Релиз26.1.1, 26.1.2, 26.2 · 9 августа 2024 г.
Don't kill members who are in combat when server closes
1.6Релиз1.20.6, 1.21, 1.21.1 · 9 августа 2024 г.
Fix kill-on-quit option and null error
1.5Релиз1.20.5, 1.20.6, 1.21 · 20 июля 2024 г.
Used the wrong eventpriority in the previous version
1.5Релиз1.20.5, 1.20.6, 1.21 · 17 июля 2024 г.
Safely change event priority (fixes triggering combat mode when player is invincible, like in particular WorldGuard regions)
1.4Релиз1.20.5, 1.20.6, 1.21 · 15 июля 2024 г.
Ignore cancelled events
1.3Релиз1.20.4, 1.20.5, 1.20.6 · 14 июля 2024 г.
- Option to kill on logout in combat
- Restructured code to be more efficient
1.2Релиз1.20.4, 1.20.5, 1.20.6 · 14 июля 2024 г.
Option to match entire arguments of each command
Комментарии
Загружаем…