✱ Combat Log ✱ Skript ✱ 1.8.x - 1.12.2 ✱ Fully Customizable
V 0.0.5Anti Combat Log or Combat Log is a Skript alternative to the Combat Tag Plugin!
V 0.0.5latest0.0.5Oct 17, 2018 V0.0.5 UPDATE Addon | Added the command /ct Edit | Made some changes to the config Addon | Added a new customisation option ( Combat Timer ) # YAH HERES THE CODE # Code (Text): # Thanks for installing this Skript, before you run it make sure to fully edit the config at the top of the Skript. Thanks. # ----------------------- Config Section --------------------------- options: ConfigVersion: 1.0 # Do not edit this, its for me to help people if / when they require help! # Version: 0.0.5 # Please do not edit this # SkriptName: AntiCombatLog # Edit this to what you save the skript as WITHOUT THE .SK AT THE END Prefix: &7[&bACL&7] # Set this to the prefix of your server. ColorScheme1: &7 # Pick a color and put it here! # NoPermissionMessage: &cYou have no permission! # Set this to the permission message for the skript - Players without the permission to reload the Skript will see this # # You may use variables / placeholders such as %player% and %uuid of player% etc # SelectedWorld: "world" # Default setting # Set this to the world or worlds that you wish to use this skript in # PunishmentCommand1: kill %player% PunishmentCommand2: eco take %player% 1000 # The punishment command a player will receieve after logging out in combat. eg /kill %player% # NEW # CombatTimer: 19 # Default # # The amount of time set, please minus 1 away from the desired amount. e.g if you want 20 seconds put 19. # # Thats it, you're done with the config :D # More Updates Coming Soon # on damage: if victim is a player: if attacker is a player: if {anticombatlog.%attacker%} = 0: message "{@Prefix} {@ColorScheme1}You have been combat tagged, do not log out!" to victim message "{@Prefix} {@ColorScheme1}You have tagged %victim%, do not log out!" to attacker set {anticombatlog.%attacker%} to 1 every second in {@SelectedWorld}: loop all players: if {anticombatlog.%loop-player%} > 0: add 1 to {anticombatlog.%loop-player%} loop all players: if {anticombatlog.%loop-player%} > {@CombatTimer}: set {anticombatlog.%loop-player%} to 0 message "{@Prefix} {@ColorScheme1}You can now log out!" to loop-player command /anticombatlog [<text>]: permission: anticombatlog.reload permission message: {@NoPermissionMessage} trigger: if arg 1 is "reload": broadcast "&7AntiCombatLog {@Version} is reloading.." make player execute command "/sk reload {@SkriptName}.sk" wait 4 seconds broadcast "&bAntiCombatLog {@Version} has succesfully reloaded!" broadcast "&bPlease report any issues on the Spigot page!" else: send "&9Usage /anticombatlog reload" command /ct: trigger: send "{@ColorScheme1}The server combat log timer is &9{@CombatTimer} seconds" to player # Added in V0.0.4 HOTFIX 2 # on join: if {anticombatlog.%player%} > 0: message "{@Prefix} {@ColorScheme1}You logged out in combat!" make console execute command "{@PunishmentCommand1}" make console execute command "{@PunishmentCommand2}" # Added in V0.0.4 HOTFIX 3 # on command "tpa": if {anticombatlog.%player%} > 0: cancel event message "{@Prefix} {@ColorScheme1}You may not teleport whilst in combat!" on command "tp": if {anticombatlog.%player%} > 0: cancel event message "{@Prefix} {@ColorScheme1}You may not teleport whilst in combat!" on command "spawn": if {anticombatlog.%player%} > 0: cancel event message "{@Prefix} {@ColorScheme1}You may not teleport to spawn whilst in combat!" on command "home": if {anticombatlog.%player%} > 0: cancel event message "{@Prefix} {@ColorScheme1}You may not teleport whilst in combat!" # How to add your own command to be blocked whilst a player is in combat # #on command "<command name without backslash>": # if {anticombatlog.%player%} > 0: # cancel event # message "{@Prefix} {@ColorScheme1}<insert deny message here>"V 0.0.4-HOTFIX 30.0.4 HOTFIX 3Apr 23, 2018 Addon | Added Blocked commands ( commands that are blocked from a player typing them whilst in combat. ) Addon | Added Punishment command ( a customizable command that can be ran when a player rejoins the server after combat logging. ) Addon | Added a tutorial so you can add Commits on Apr 23, 2018 @FrostedWeFall FrostedWeFall | Add Blocked Commands | 623e19f @FrostedWeFall FrostedWeFall | Add punishment commands / death losses | 27821c3 @FrostedWeFall FrostedWeFall | Fix incorrect version number in config. | 776905e @FrostedWeFall FrostedWeFall | Added missing colon in on command functions | 494020a @FrostedWeFall FrostedWeFall | Added missing colon in on command tutorial | 8a65417 @FrostedWeFall FrostedWeFall | Fixed an indentation error in punishment command | aca4aedV 0.0.4-HOTFIX 10.0.4 HOTFIX 1Apr 20, 2018 HOTFIX V 0.0.4 Fix | Fixed some incorrect variables not matching up!V 0.0.40.0.4Apr 20, 2018 THE RECODE IS HERE - IT ACTUALLY WORKS NOW Fixes Fix | Fixes the entire Skript, it now works Fix | No longer spams messages in pvp Coming Soon | More configurable options Coming Soon | Disabled commands whilst in combat | Editable in config Addon | Many new config options seen below Code (Text): # Thanks for installing this Skript, before you run it make sure to fully edit the config at the top of the Skript. Thanks. # ----------------------- Config Section --------------------------- options: ConfigVersion: 1.0 # Do not edit this, its for me to help people if / when they require help! # Version: 0.0.4 # Please do not edit this # SkriptName: AntiCombatLog # Edit this to what you save the skript as WITHOUT THE .SK AT THE END Prefix: &7[&bACL&7] # Set this to the prefix of your server. ColorScheme1: &7 # Pick a color and put it here! # NoPermissionMessage: &cYou have no permission! # Set this to the permission message for the skript - Players without the permission to reload the Skript will see this # # You may use variables / placeholders such as %player% and %uuid of player% etc # SelectedWorld: world # Default setting # Set this to the world or worlds that you wish to use this skript in # # Thats it, you're done with the config :D # More Updates Coming Soon # V 0.0.30.0.3Mar 22, 2018 Fix | Fixed the incorrect version in the Auto Updater Fix | Fixed some other issues and bugsV 0.0.20.0.2Feb 28, 2018 Addon | Added more customizable options Fix | Fixed some other issues and bugs Addon | Added an auto updater [ Still in early BETA ]V 0.0.1Nov 22, 2017
Similar projects
Script →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta