Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. command /clearchat:
  2.     trigger:
  3.         if player does not have permission "Chat.Admin":
  4.             send  "&4[ERROR] &8| &cNo permissions!"
  5.             stop
  6.         if player has permission "Chat.Admin":
  7.             loop 300 times:
  8.                 broadcast "&7 "
  9.             broadcast "&6[CHAT CLEAR] &8| &eChat has been cleared by %player%"
  10.             stop
  11.  
  12.  
  13. command /mutechat:
  14. trigger:
  15.         if player does not have permission "Chat.Admin":
  16.             send  "&4[ERROR] &8| &cNo permissions!"
  17.             stop
  18.         if player has permission "Chat.Admin":
  19.             if {MuteChat} is true:
  20.                 set {MuteChat} to false
  21.                 broadcast "&6[CHAT MUTE] &8| &aChat is no longer muted!"
  22.                 stop
  23.             if {MuteChat} is false:        
  24.                 set {MuteChat} to true
  25.                 broadcast "&6[CHAT MUTE] &8| &cChat is now muted!"
  26.                 stop
  27.             if {MuteChat} is not true or false:
  28.                 send "&4[ERROR] &8| &cDon't worry! This is a 1 time error (First Installation error), please just re-type /mutechat to successfully mute the chat!"
  29.                 set {MuteChat} to false
  30.                 stop
  31.  
  32. on chat:
  33.     if {MuteChat} is true:
  34.         if player does not have permission "Chat.Admin":
  35.             cancel event
  36.             send "&6[CHAT MUTE] &8| &cChat is muted!"
  37.             stop
  38.         if player has permission "Chat.Admin":
  39.             stop
  40.  
  41.  
  42.  
  43. command /kit:
  44.     trigger:
  45.         open chest with 3 rows named "&6&lKits" to player
  46.         format slot 0 of player with stone sword named "&e&lSwordsman Kit" to close then run [execute player command "gkit Swordsman"]
  47.         format slot 8 of player with bow named "&e&lBowman Kit" to close then run [execute player command "gkit Bowman"]
  48.         format slot 9 of player with stone axe named "&e&lLumberjack Kit" to close then run [execute player command "gkit Lumberjack"]
  49.         format slot 17 of player with glowing stone hoe named "&e&lReaper Kit" to close then run [execute player command "gkit Reaper"]
  50.         format slot 18 of player with fishing rod named "&e&lOriginal Kit" to close then run [execute player command "gkit Original"]
  51.         format slot 26 of player with glowing book named "&e&lEnchanter Kit" to close then run [execute player command "gkit Enchanter"]
  52.  
  53. command /ekit:
  54.     trigger:
  55.         send "&c&lUse /kit!"
  56.  
  57. command /essentials:kit:
  58.     trigger:
  59.         send "&c&lUse /kit!"
  60.  
  61. command /ekits:
  62.     trigger:
  63.         send "&c&lUse /kit!"
  64.  
  65. command /essentials:ekit:
  66.     trigger:
  67.         send "&c&lUse /kit!"
  68.  
  69. command /kits:
  70.     trigger:
  71.         send "&c&lUse /kit!"          
  72.  
  73.  
  74.  
  75. command /gkit [<text>]:
  76.     trigger:
  77.         execute console command "clear %player%"
  78.         execute player command "kit %arg 1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement