Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on inventory close:
- inventory name of player's current inventory contain "&e%Player%"
- set {_sn} to 0
- loop 54 times:
- set {storage.%uuid of player%::%{_sn}%} to slot {_sn} of player's current inventory
- add 1 to {_sn}
- command /storage [<offline Player>]:
- aliases: st
- trigger:
- if arg-1 is not set:
- open chest with 6 rows named "&e%Player%" to player
- set {_sn} to 0
- loop 54 times:
- set slot {_sn} of player's current inventory to {storage.%uuid of player%::%{_sn}%}
- add 1 to {_sn}
- else:
- Player has permission "admin.sk"
- open chest with 6 rows named "&e%arg-1%" to player
- set {_sn} to 0
- loop 54 times:
- set slot {_sn} of player's current inventory to {storage.%uuid of arg-1%::%{_sn}%}
- add 1 to {_sn}
- on RightClick:
- player's tool is enchanted with Protection 0
- open chest with 6 rows named "&e%Player%" to player
- set {_sn} to 0
- loop 54 times:
- set slot {_sn} of player's current inventory to {storage.%uuid of player%::%{_sn}%}
- add 1 to {_sn}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement