daily pastebin goal
23%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.   staffmsg: &7Staff mode
  3.   freezemsg: &7Player &b[name]&7 has been
  4.  
  5. command /staff:
  6.   permission: *
  7.   permission message: &cInsufficient Permissions.
  8.   trigger:
  9.     if {staff::%player%} is set:
  10.       delete {staff::%player%}
  11.       send ""
  12.       send "{@staffmsg} &aenabled!"
  13.       send ""
  14.       hide player from all players
  15.       loop all players:
  16.         loop-player has permission "admin"
  17.         reveal player to loop-player
  18.       set {_n} to 0
  19.       loop 36 times:
  20.         set {norminv::%player%::%loop-number%} to slot {_n} of player's inventory
  21.         add 1 to {_n}
  22.       clear player's inventory
  23.       set slot 0 of player to ice named "&bFreeze"
  24.       set slot 1 of player to a gold axe named "&cBan Hammer &7(Temp)"
  25.       set slot 2 of player to a diamond axe named "&cBan Hammer &7(Perm)"
  26.       set slot 3 of player to a sign named "&6Open Inventory"
  27.       set slot 4 of player to a saddle named "&dRide"
  28.     else:
  29.       set {staff::%player%} to true
  30.       clear player's inventory
  31.       loop {norminv::%player%::*}:
  32.         set {_n} to (loop-index parsed as an integer) - 1
  33.         set slot {_n} of player to loop-value
  34.       send ""
  35.       send "{@staffmsg} &cdisabled!"
  36.       send ""
  37.  
  38. on place:
  39.   player's tool is an ice named "&bFreeze":
  40.     cancel event
  41.   player's tool is a sign named "&6Open Inventory":
  42.     cancel event
  43.  
  44. on rightclick on player:
  45.   if player's tool is ice named "&bFreeze":
  46.     make player execute command "skf %event-entity%"
  47.   else if player's tool is a diamond axe named "&cBan Hammer &7(Perm)":
  48.     ban event-entity due to "§cYou've been smashed by the ban hammer!§7 -§c %player%"
  49.   else if player's tool is a sign named "&6Open Inventory":
  50.     make player execute command "openinv %event-entity%"
  51.   else if player's tool is a saddle named "&dRide":
  52.     make player execute command "ride %event-entity%"
  53.   else if player's tool is a gold axe named "&cBan Hammer &7(Temp)":
  54.     open virtual chest inventory named "Tempban - %event-entity%" to player
  55.     set {_i} to a feather named "&bFlight"
  56.     set line 1 of lore of {_i} to "&71 Day"
  57.     format gui slot 13 of player with {_i} to run gui click event
  58.     set {_i} to a feather named "&cKillaura"
  59.     set line 1 of lore of {_i} to "&73 Days"
  60.     format gui slot 12 of player with {_i} to run gui click event
  61.     set {_i} to a feather named "&cHacks &7(Other)"
  62.     set line 1 of lore of {_i} to "&73 Days"
  63.     format gui slot 14 of player with {_i} to run gui click event
  64.  
  65. on gui click:
  66.   name of event-inventory contains "Tempban - "
  67.   set {_n::*} to uncolored name of event-inventory parsed as "Tempban - %string%"
  68.   set {_i} to uncolored name of slot event-number of event-inventory
  69.   if {_i} contains "Hacks":
  70.     make player execute command "tempban %{_n::1}% 2d §cYou're a naughty boy! Hacking on this server!"
  71.   else if {_i} contains "Killaura":
  72.     make player execute command "tempban %{_n::1}% 3d §cKillaura? No no no... You get banned."
  73.   else if {_i} contains "Flight":
  74.     make player execute command "tempban %{_n::1}% 1d §cNo flying! You aren't a pilot."
  75.   close player's inventory
  76.  
  77. command /ride <player>:
  78.   permission: *
  79.   permission message: &cInsufficient Permissions.
  80.   trigger:
  81.     make player ride arg-player
  82.  
  83. on any move:
  84.   {freeze::%player%} is set
  85.   cancel event
  86.  
  87. command /skf <player>:
  88.   permission: *
  89.   permission message: &cInsufficient Permissions.
  90.   trigger:
  91.     if {freeze::%arg%} is set:
  92.       delete {freeze::%arg%}
  93.       set {_f} to "{@freezemsg}"
  94.       replace all "[name]" in {_f} with "%arg%"
  95.       send ""
  96.       send "%{_f}% &bunfrozen."
  97.       send ""
  98.       send "&7You have been unfrozen" to arg
  99.     else:
  100.       set {freeze::%arg%} to true
  101.       set {_f} to "{@freezemsg}"
  102.       replace all "[name]" in {_f} with "%arg%"
  103.       send ""
  104.       send "%{_f}% &bfrozen."
  105.       send ""
  106.       send "&7You have been frozen" to arg
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top