Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. variables:
  2. {adminchat.%player%} = false
  3.  
  4. command /ac:
  5. permission: adminchat.admin
  6. permission message: &8┃ &6xLiTe&eMC &8┃ &7You Don't Have Permission
  7. trigger:
  8. open chest with 5 rows named "&8┃ &cAdminChat" to player
  9. format slot 20 of player with Green Stained Glass Pane named "&8┃ &aTrue" with lore "&7Join to admin chat!" to close then run "pc %player% adminchatjoin"
  10. format slot 24 of player with Red Stained Glass Pane named "&8┃ &cFalse" with lore "&7Leave admin chat!" to close then run "pc %player% adminchatleave"
  11. format slot 31 of player with 76 named "&8┃ &4Quit" with lore "&7Close menu!" to close
  12.  
  13. command /adminchatjoin:
  14. permission: adminchat.chat
  15. permission message: &8┃ &6xLiTe&eMC &8┃ &7You Don't Have Permission
  16. trigger:
  17. if {adminchat.%player%} is false:
  18. set {adminchat.%player%} to true
  19. message "&8┃ &6xLiTe&eMC &8┃ &7You Joined To Admin Chat "
  20. else:
  21. message "&8┃ &6xLiTe&eMC &8┃ &7You Already Joined To Admin Chat "
  22.  
  23. command /adminchatleave:
  24. permission: adminchat.chat
  25. permission message: &8┃ &6xLiTe&eMC &8┃ &7You Don't Have Permission
  26. trigger:
  27. if {adminchat.%player%} is true:
  28. set {adminchat.%player%} to false
  29. message "&8┃ &6xLiTe&eMC &8┃ &7You Leaved Admin Chat "
  30. else:
  31. message "&8┃ &6xLiTe&eMC &8┃ &7You're Not In Admin Chat "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement