fireblazehere Posted October 27, 2020 Share Posted October 27, 2020 command /addstaff <offline player>: permission: staff.add trigger: if {stafflist::*} contains arg-1: send "That player is already added to the staff list" else: add arg-1 to {stafflist::*} send "%arg-1% added to the staff list" command /removestaff <offline player>: permission: staff.remove triger: if {stafflist::*} contains arg-1: remove arg-1 from {stafflist::*} send "Removed %arg-1% from the staff list" else: send "%arg-1% is not in the staff list" command /staff: trigger: set {_s} to 0 set metadata tag "staffGUI" of player to chest inventory with 3 rows named "Staff" loop {stafflist::*}: set slot {_s} of metadata tag "staffGUI" of player to loop-value's skull with lore "Name: %loop-value%" and "Rank: %loop-value's group%" add 1 to {_s} open (metadata tag "staffGUI" of player) to player Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now