Anti Combatlog
A simple, yet customizable Anti Combatlog Plugin
Anti Combatlog
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)
/combatlog reload - %%MD0%% To reload the configuration.
/combatlog reload - %%MD0%% You need this Permission to run %%MD0%%.
%anticombatlog_combat_with_uuid% - %%MD0%% returns: ```In Combat``` if the player is tagged %anticombatlog_combat_with_uuid% ```Safe``` if not in combat - %%MD0%% returns: ```Combat``` if the player is tagged %anticombatlog_combat_with_uuid% ```Idle``` if not in combat - %%MD0%% returns: remaining combat time in seconds as a number (for example ```12```, ```3```, ```0```) - %%MD0%% returns: remaining combat time in %anticombatlog_combat_with_uuid% format (for example ```0:12```, ```1:05```) - %%MD0%% returns: the last opponent name linked to the current combat tag. If none is known, returns empty - %%MD0%% _Alias of %anticombatlog_combat_with% (same output, different placeholder name). - %anticombatlog_combat_with_uuid% returns: ```true``` if player is in combat %%MD0%% ```false if not``` - %anticombatlog_combat_with_uuid% 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." ```