Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.
variables:
{message-prefix} = "&7[<##FFD700>Server Name&7]&r "
{generic-color} = "<##00FA9A>"
{error-color} = "<##FF6347>"
{entitykills::%player%} = 0
{playerkills::%player%} = 0
on death:
if attacker is a player:
add 1 to {entitykills::%attacker%}
on death:
if victim is a player:
if attacker is a player:
add 1 to {playerkills::%attacker%}
command /kills [<offline player>] [<text>]:
permission: skript.kills.all
permission message: %{message-prefix}%<##FF6347>&lSorry!&r<##FF6347> You lack the necessary permissions to run this command.
cooldown: 5 seconds
cooldown message: %{message-prefix}%<##FFA500>Please wait %remaining time% in order to execute this command.
trigger:
if arg 1 is not set:
message colored "%{message-prefix}%%{error-color}%You must specify a player." to player
else if arg 2 is not set:
message colored "%{message-prefix}%%{error-color}%You must specify an entity type." to player
if arg 2 is "Entities":
if {entitykills::%arg 1%} is 1:
message colored "%{message-prefix}%%{generic-color}%%arg 1% has killed <##FFD700>%{entitykills::%arg 1%}%<##00FA9A> entitity." to player
else:
message colored "%{message-prefix}%%{generic-color}%%arg 1% has killed <##FFD700>%{entitykills::%arg 1%} ? 0%<##00FA9A> entities." to player
if arg 2 is "Players":
if {playerkills::%arg 1%} is 1:
message colored "%{message-prefix}%%{generic-color}%%arg 1% has killed <##FFD700>%{playerkills::%arg 1%}%<##00FA9A> player." to player
else:
message colored "%{message-prefix}%%{generic-color}%%arg 1% has killed <##FFD700>%{playerkills::%arg 1%} ? 0%<##00FA9A> players." to player
on tab complete of "/kills":
set tab completions for position 1 to all offline players
set tab completions for position 2 to "Entities", "Players"
# Made by Swidt#3505