Jump to content

/warn script that i made


Recommended Posts

here is a /warn script that i made, hope u like it. if u do use this in ur server u dont need to give credit

 

command /warn <offlineplayer> [<text>]:
	permission: skript.warn
	trigger:
		if arg-1 is set:
			if arg-2 is set:
				add 1 to {warn::%arg-1's uuid%}
				broadcast "&4&lWARNING! &c&l%arg-1% &cgot warned for &c&l%arg-2%! &8&l[&4&l%{warn::%arg-1's uuid%}%&8&l]"
				send "" to arg-1
				send "&4&lWARNING! &cYou have been warned for %arg-2%. Remember that 3 warns is a 1 hour temp ban" to arg-1
				send "" to arg-1

command /warns <offlineplayer>:
	permission: skript.warnsveiw
	trigger:
		if arg-1 is set:
			send "&4&l%arg-1%'s &cwarn count is currently &4&l%{warn::%arg-1's uuid%}%."
			send "&cRemember that if a player has 3 or more warns, tempban them for 1 hour to keep the server running smoothly."
			
command /clearwarns <offlineplayer>:
	permission: skript.clearwarns
	trigger:
		if arg-1 is set:
			send "&cCleared %arg-1%'s warn count of %{warn::%arg-1's uuid%}%."
			set {warn::%arg-1's uuid%} to 0

 

 

Link to comment
Share on other sites

  • 3 months later...

Thank you so much!

Nmazey

Hello I'm nmazey and I joined minehut in 2014 but left because
It was super TRASH! and played other servers...

But in 2015 I joined back and saw the in-game gui and I left because i thought That it was still a towny server.. 2 years later I realised that I saw lots of youtube videos about minehut

so I joined again and found out it's not an towny server anymore saw free minecraft servers! Then I started to make a minehut server called foxboxy, newwolf and more

but today in 2024 I have 62 servers and I have the VIP rank and switched to bedrock

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...