WATCHDOG.sk

Created by ServiCrack

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.

options:	
##NO EDIT###

	version: 1.3

#	#EDIT##

	prefix: &f&l[WATCHDOG] &f&r
	prefix1: &F[WATCHDOG CHEAT DETECTION] &r
	nopermission: &cNo tienes permiso para ejecutar este comando.
	banplayer: &cYou are permanently banned from this server! %newline%&f %newline% &7Reason: &f%{ban.razon.%uuid of arg 1%}% %newline% &7Find out more: &b&nhttps://example.net/appeal&r %newline% &f %newline% &7Ban ID: &f##%{ban.id.%uuid of arg-1%}% %newline% &7Sharing your Ban ID may affect the processing of your appeal!
	banplayer1: &cYou are permanently banned from this server! %newline%&f %newline% &7Reason: &f%{ban.razon.%uuid of player%}% %newline% &7Find out more: &b&nhttps://example.net/appeal&r %newline% &f %newline% &7Ban ID: &f##%{ban.id.%uuid of player%}% %newline% &7Sharing your Ban ID may affect the processing of your appeal!
	tempbanplayer: &cYou are temporarily banned for &f%{tban.timecheck}% &cfrom this server! %newline%&f %newline% &7Reason: &f%{tban.razon.%uuid of arg 1%}% %newline% &7Find out more: &b&nhttps://example.net/appeal&r %newline% &f %newline% &7Ban ID: &f##%{tban.id.%uuid of arg-1%}% %newline% &7Sharing your Ban ID may affect the processing of your appeal!
	tempbanplayer1: &cYou are temporarily banned for &f%{tban.timecheck}% &cfrom this server! %newline%&f %newline% &7Reason: &f%{tban.razon.%uuid of player%}% %newline% &7Find out more: &b&nhttps://example.net/appeal&r %newline% &f %newline% &7Ban ID: &f##%{tban.id.%uuid of player%}% %newline% &7Sharing your Ban ID may affect the processing of your appeal!
	broadcast1: &c&lA player has been removed from your game for hacking or abuse.
	unbans: &aEl usuario ha sido desbaneado.
	kickmessage: &cYou have been kicked! %newline% &f %newline%&7Reason: &f%{kick.razon.%uuid of arg-1%}% %newline%&7Find out more: &b&nhttps://example.net/kick
	id: set {id} to random integer between 1 and 9
	warnp: &f&l[WARNING] &f&r
	warnm: &cPlease keep chat appropiate and follow our rules. %newline%&cIf you continie braking the rules, you may be muted or banned. Alist of rules can be found at https://example.net/rules
	mute: &f %newline%&cYou are currently muted for Discussing or actively promoting cheating or breaking of rules on the server.%newline%&f%newline%&7Find out more here: &ewww.example.net/mutes%newline%&7Mute ID: &f##%{mute.id.%uuid of arg-1%}% %newline% &f
	mute1: &f %newline%&cYou are currently muted for Discussing or actively promoting cheating or breaking of rules on the server.%newline%&f%newline%&7Find out more here: &ewww.example.net/mutes%newline%&7Mute ID: &f##%{mute.id.%uuid of player%}% %newline% &f
	nonick: &cIngrese el jugador.
	
	
# #########				
on inventory click:
	if name of player's current inventory is "&c&l%player% &7- &f&lWATCHDOG":
		cancel event
	
command /check [<offlineplayer>]:
	permission: hypixel.check
	permission message: {@nopermission}
	executable by: player
	trigger:
		if arg 1 is not set:
			send "{@prefix}&cIngresa el jugador"
			stop
		if arg 1 is set:
			if {mute.%uuid of arg-1%} is true:
				if {ban.%uuid of arg-1%} is true:
					wait 2 ticks
					open virtual chest inventory with size 2 named "&c&l%arg-1% &7- &f&lWATCHDOG" to player
					wait 1 tick
					format slot 4 of player with 1 of arg-1's skull named "&f&lNICK: &b%arg-1%" to be unstealable
					format slot 12 of player with 1 paper named "&c" with lore "&6&lSTATUS: &4&lMUTED || &f || &fNick: &e%arg-1% || &fUUID: &7%uuid of arg-1% || &fStaff by ban: &e%{mute.staff.%uuid of arg-1%}% || &fID: &7##%{mute.id.%uuid of arg-1%}% || &f " to be unstealable
					format slot 10 of player with 1 paper named "&c" with lore "&6&lSTATUS: &4&lBANNED || &f || &fNick: &e%{ban.nick.%uuid of arg-1%}% || &fUUID: &7%uuid of arg-1% || &fStaff by ban: &e%{ban.staff.%uuid of arg-1%}% || &fID: &7##%{ban.id.%uuid of arg-1%}% || &f " to be unstealable
					format slot 14 of player with 1 paper named "&f" with lore "&a&lFor Unmute || &7(click here for unmute)" to close then run [make player execute command "/unmute %arg-1%"]
					format slot 16 of player with 1 paper named "&f" with lore "&a&lFor Unban || &7(click here for unban)" to close then run [make player execute command "/unban %arg-1%"]
				else:
					wait 2 ticks
					open virtual chest inventory with size 2 named "&c&l%arg-1% &7- &f&lWATCHDOG" to player
					wait 1 tick
					format slot 4 of player with 1 of arg-1's skull named "&f&lNICK: &b%arg-1%" to be unstealable
					format slot 12 of player with 1 paper named "&c" with lore "&6&lSTATUS: &4&lMUTED || &f || &fNick: &e%arg-1% || &fUUID: &7%uuid of arg-1% || &fStaff by ban: &e%{mute.staff.%uuid of arg-1%}% || &fID: &7##%{mute.id.%uuid of arg-1%}% || &f " to be unstealable
					format slot 14 of player with 1 paper named "&f" with lore "&a&lFor Unmute || &7(click here for unmute)" to close then run [make player execute command "/unmute %arg-1%"]
			else if {ban.%uuid of arg-1%} is true:
				wait 2 ticks
				open virtual chest inventory with size 2 named "&c&l%arg-1% &7- &f&lWATCHDOG" to player
				wait 1 tick
				format slot 4 of player with 1 of arg-1's skull named "&f&lNICK: &b%arg-1%" to be unstealable
				format slot 12 of player with 1 paper named "&c" with lore "&6&lSTATUS: &4&lBANNED || &f || &fNick: &e%{ban.nick.%uuid of arg-1%}% || &fUUID: &7%uuid of arg-1% || &fStaff by ban: &e%{ban.staff.%uuid of arg-1%}% || &fID: &7##%{ban.id.%uuid of arg-1%}% || &f " to be unstealable
				format slot 14 of player with 1 paper named "&f" with lore "&a&lFor Unban || &7(click here for unban)" to close then run [make player execute command "/unban %arg-1%"]
			else:
				send "{@prefix}&cEl usuario &f%arg-1% &cno tiene ninguna sancion."
				stop
	
command /profile [<offlineplayer>]:
	permission: hypixel.profile
	permission message: {@nopermission}
	executable by: player
	trigger:
		if arg-1 is not set:
			send "{@prefix}&cIngrese usuario"
			stop
		if arg-1 is set:
			if {mute.%uuid of arg-1%} is true:
				if {ban.%uuid of arg-1%} is true:
					send "&a"
					send "&6&lINFORMATION:"
					send "&7Nick: &f%arg-1%"
					send "&7UUID: &f%uuid of arg-1%"
					send "&7STATUS: &c&lBANNED AND MUTED"
					send "&a"
				else:
					send "&a"
					send "&6&lINFORMATION:"
					send "&7Nick: &f%arg-1%"
					send "&7UUID: &f%uuid of arg-1%"
					send "&7STATUS: &c&lMUTED"
					send "&a"
			else if {ban.%uuid of arg-1%} is true:
				send "&a"
				send "&6&lINFORMATION:"
				send "&7Nick: &f%arg-1%"
				send "&7UUID: &f%uuid of arg-1%"
				send "&7STATUS: &c&lBANNED"
				send "&a"
			else:
				send "&a"
				send "&6&lINFORMATION:"
				send "&7Nick: &f%arg-1%"
				send "&7UUID: &f%uuid of arg-1%"
				send "&7STATUS: &a&LGOOD"
				send "&a"
				
command /ban [<offline player>] [<text>] [<text>]:
	aliases: punish, punsh, p
	permission: hypixel.staff
	permission message: {@nopermission}
	executable by: console and player
	trigger:
		if arg 1 is not set:
			send "{@prefix}&cIngrese al jugador que desea banear"
			stop
		if arg 1 is set:
			if arg 2 is not set:
				send "{@prefix}&cIngrese la razon de la sancion."
				stop
		if arg 1 is set:
			if arg 2 is set:
				if {ban.%uuid of arg-1%} is true:
					send "{@prefix}&cEste usuario ya esta baneado"
				else:
					set {ban.data.%uuid of arg-1%} to now
					set {ban.%uuid of arg-1%} to true
					set {ban.id.%uuid of arg-1%} to "%random integer between 100000000 and 999999999%"
					set {ban.nick.%uuid of arg-1%} to "%arg 1%"
					set {ban.razon.%uuid of arg-1%} to "%arg 2%"
					set {ban.staff.%uuid of arg-1%} to "%player%"
					kick the arg-1 due to "{@banplayer}"
					broadcast "&7"
					broadcast "{@prefix1}{@broadcast1}"
					broadcast "&7"
					loop all players:
						if loop-players has permission "hypixel.staff":
							send "{@prefix}&f%arg-1% &chas been banned by &f%player%" to loop-players
						else:
							stop
on connect:
    if {ban.%uuid of player%} is true:
        kick the player due to "{@banplayer1}"
		
command /unban [<offline player>]:	
	permission: hypixela.admin
	permission message: {@nopermission}
	executable by: console and player
	trigger:
		if arg 1 is not set:
			send "{@prefix}&cIngresa jugador que desees unbanear."
			stop
		if arg 1 is set:
			if {ban.%uuid of arg 1%} is true:
				clear {ban.data.%uuid of arg 1%}
				delete {ban.%uuid of arg 1%}
				clear {ban.razon.%uuid of arg 1%}
				clear {ban.staff.%uuid of arg 1%}
				loop all players:
					if player has permission "hypixel.staff":
						message "{@prefix}{@unbans}" to loop-players
						stop
					if loop-player has permission "hypixel.staff":
						send "{@prefix}&f%arg-1%&a it has been unbanned by &f%player%" to loop-players
					else:
						stop
			else:
				send "{@prefix}&ceste usuario no esta baneado"
				stop
				
command /kick [<player>] [<text>]:
	permission: hypixel.kick
	permission message: {@nopermission}
	executable by: player and console
	trigger:
		if arg 1 is set:
			if arg 2 is not set:
				send "{@prefix}&cIngresa la razon de kick"
				stop
		if arg 1 is set:
			if arg 2 is set:
				set {kick.razon.%uuid of arg-1%} to "%arg-2%"
				kick the arg-1 due to "{@kickmessage}"
				loop all players:
					if loop-players has permission "hypixel.staff":
						send "{@prefix}&f%arg-1% &chas been kicked by &f%player%" to loop-players
						stop
						
command /warn [<offlineplayer>]:
	permission: hypixel.warn
	permission message: {@nopermission}
	executable by: player and console
	trigger:
		if arg 1 is not set:
			send "{@prefix}&cIngresa el jugador que desea warnear"
			stop
		else:
			send "{@warnp}{@warnm}" to arg-1
			loop all players:
				if loop-players has permission "hypixel.staff":
					send "{@prefix}&f%arg-1% &ahas been warning by &f%player%" to loop-players
					stop
					
command /mute [<offlineplayer>] [<text>]:
	permission: hypixel.mute
	permission message: {@nopermission}
	executable by: player and console
	trigger:
		if arg 1 is not set:
			send "{@prefix}&cIngrese al jugador que desea mutear"
			stop
		if arg 1 is set:
			if arg 2 is not set:
				send "{@prefix}&cIngrese la razon de la sancion."
				stop
		if arg 1 is set:
			if arg 2 is set:
				if {mute.%uuid of arg-1%} is true:
					send "{@prefix}&cEste usuario ya esta muteado"
				else:
					set {mute.data.%uuid of arg-1%} to now
					set {mute.%uuid of arg-1%} to true
					set {mute.id.%uuid of arg-1%} to "%random integer between 100000000 and 999999999%"
					set {mute.razon.%uuid of arg-1%} to "%arg 2%"
					set {mute.staff.%uuid of arg-1%} to "%player%"
					send "{@mute}" to arg-1
					loop all players:
						if loop-players has permission "hypixel.staff":
							send "{@prefix}&f%arg-1% &chas been muted by &f%player%" to loop-players
							stop
				
command /unmute [<offlineplayer>]:
	permission: hypixel.unmute
	permission message: {@nopermission}
	executable by: player and console
	trigger:
		if arg 1 is not set:
			send "{@prefix}&cIngresa el jugador"
			stop
		if arg 1 is set:
			if {mute.%uuid of arg-1%} is true:
				clear {mute.data.%uuid of arg 1%}
				delete {mute.%uuid of arg 1%}
				clear {mute.razon.%uuid of arg 1%}
				clear {mute.staff.%uuid of arg 1%}
				loop all players:
					if loop-players has permission "hypixel.staff":
						send "{@prefix}&f%arg-1% &ahas been unmuted by &f%player%" to loop-players
						stop
			else:
				send "{@prefix}&cEste usuario no esta muteado"
				stop
on chat:
	if {mute.%uuid of player%} is true:
		send "{@mute1}" to player
		cancel event
	else:
		stop