Anti Combatlog
作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11
平台: bukkit spigot
标签: game-mechanics management social
AntiCombatLog
Plugin
A simple, yet customizable Anti Combatlog Plugin. Default config is at the end of this page.
Discord: blizzard8562 (for Bug-Reports, other Issues and Feedback)
Features:
- Customizable Messages
- Configurable Combat timer
- Custom Sounds
- Configurable Punishments (for logging out in combat)
- Placeholder Support (PlaceholderAPI)
How to use:
- /combatlog reload To reload the configuration.
Permissions:
- anticomblog.reload You need this Permission to run /combatlog reload.
Placeholders:
- _%anticombatlog_status%_ returns:
In Combatif the player is tagged orSafeif not in combat - _%anticombatlog_status_short%_ returns:
Combatif the player is tagged orIdleif not in combat - _%anticombatlog_time_left%_ returns: remaining combat time in seconds as a number (for example
12,3,0) - _%anticombatlog_time_left_formatted%_ returns: remaining combat time in m:ss format (for example
0:12,1:05) - _%anticombatlog_combat_with%_ returns: the last opponent name linked to the current combat tag. If none is known, returns empty
- _%anticombatlog_opponent%_ _Alias of %anticombatlog_combatwith% (same output, different placeholder name).
- _%anticombatlog_in_combat%_ returns:
trueif player is in combat orfalse if not - _%anticombatlog_combat_duration%_ returns: configured total combat duration (in seconds), from config.yml
- _%anticombatlog_combat_with_uuid%_ returns: the opponents UUID if available. If none is known, returns empty

default config.yml
combat:
duration-seconds: 15
show-action-bar: true
action-bar-message: "&cCombat: {time-left}s"
punishments:
kill-on-logout: true
drop-items-on-logout: true
messages:
prefix: "&8[&cCombat&8]&r "
combat-start: "{prefix}&eYou have entered combat. Do not log out for {duration}s."
combat-refresh: "{prefix}&eCombat timer refreshed. {time-left}s remaining."
combat-end: "{prefix}&aYou are no longer in combat."
logout-kill: "{prefix}&cLogging out during combat killed you."
logout-drop: "{prefix}&cLogging out during combat made you drop your items."
logout-kill-notification: "{prefix}&cYou logged out during combat and were killed."
logout-kill-notification-with-drops: "{prefix}&cYou logged out during combat and were killed. Your items were dropped."请登录后举报
暂无评论,抢个沙发吧~