Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {adminchat.%player%} = false
- command /ac:
- permission: adminchat.admin
- permission message: &8┃ &6xLiTe&eMC &8┃ &7You Don't Have Permission
- trigger:
- open chest with 5 rows named "&8┃ &cAdminChat" to player
- 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"
- 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"
- format slot 31 of player with 76 named "&8┃ &4Quit" with lore "&7Close menu!" to close
- command /adminchatjoin:
- permission: adminchat.chat
- permission message: &8┃ &6xLiTe&eMC &8┃ &7You Don't Have Permission
- trigger:
- if {adminchat.%player%} is false:
- set {adminchat.%player%} to true
- message "&8┃ &6xLiTe&eMC &8┃ &7You Joined To Admin Chat "
- else:
- message "&8┃ &6xLiTe&eMC &8┃ &7You Already Joined To Admin Chat "
- command /adminchatleave:
- permission: adminchat.chat
- permission message: &8┃ &6xLiTe&eMC &8┃ &7You Don't Have Permission
- trigger:
- if {adminchat.%player%} is true:
- set {adminchat.%player%} to false
- message "&8┃ &6xLiTe&eMC &8┃ &7You Leaved Admin Chat "
- else:
- message "&8┃ &6xLiTe&eMC &8┃ &7You're Not In Admin Chat "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement