Jump to content

Here is a admin tools skript, hope u likey!


LunarFrost

Recommended Posts

u need permissions btw like get luckperms

command /ta [<text>]:
       permission: admin.tools
       permission message: You shall &4&lNot &7&rPass!
       trigger:
              execute console command "/clear %player%"
              execute console command "/mail send dantdm18320 %player% has used the &e&lADMIN TOOLS &r&a Program &rfor the reason &2%arg-1%"
              give player diamond axe named "&a&kH&r&c&lBan &4&lHammer&a&kH&r"
              give player stick named "&5&kP&r&c&lMute&5&kP&r"
              give player netherite ingot named "&a&kP&r&b&lKick Player&a&kP&r"
              set slot 8 of player's inventory to  barrier named "&cExit"
              set slot 3 of player's inventory to  iron bars named "&6&lPurgatory &c&lPlayer"
              set slot 4 of player's inventory to  book named "&a&lJudge &c&lPlayer"
              set slot 5 of player's inventory to diamond named "&a&lWarn Player"
on damage:
    if attacker's weapon is diamond axe named "&a&kH&r&c&lBan &4&lHammer&a&kH&r":
        execute console command "/ban %victim%"
        send "&c(ALERT):&a Successfully banned!" to attacker
on damage:
     if attacker's weapon is stick named "&5&kP&r&c&lMute&5&kP&r":
          execute console command "mute %victim%"
          send "&c(ALERT):&a Successfully muted" to attacker
on damage:
     if attacker's weapon is netherite ingot named "&a&kP&r&b&lKick Player&a&kP&r":
          execute console command "kick %victim%"
          send "&c(ALERT):&a Successfully Kicked!" to attacker
on right-click:
		if event-item is barrier named "&cExit":
				execute console command "/clear %player%"
				send "&cExited the &e&lADMIN TOOLS &r&aprogram."
on damage:
		if attacker's weapon is iron bars named "&6&lPurgatory &c&lPlayer":
				execute console command "/purgatory %victim%"
				send "&a(TA)&c: &2Sent them to &6Purgatory&c!" to attacker
on damage:
		if attacker's weapon is book named "&a&lJudge &c&lPlayer":
				execute console command "/jail %victim% court"
				send "&a(TA)&c: &2Sent them to &6Court&c!" to attacker
				execute console command "/warp court %attacker%"
				send "&c(&a!&c)&6: &cYou are now in court." to victim
on damage:
     if attacker's weapon is diamond named "&a&lWarn Player":
          execute console command "/warn %victim% AdminTools Warn"
          send "&c(ALERT):&a Successfully Warned!" to attacker

 

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...