Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 60 minutes:
- loop all players:
- send "&6Twoj ekwipunek zostal zapisany z data: &c%now%" to loop-player
- set {ekwipunek.%loop-player%} to serialized inventory of loop-player
- set {helm.%loop-player%} to helmet of the loop-player
- set {klata.%loop-player%} to chestplate of the loop-player
- set {gacie.%loop-player%} to legging of the loop-player
- set {buty.%loop-player%} to boots of the loop-player
- command /backup [<player=%player%>]:
- permission: przywroc.admin
- trigger:
- send "&6Twoj ekwipunek zostal przywrocony z ostatniego zapisu!" to arg 1
- send "&6Przywrociles ekwipunek graczowi: &c%arg 1%"
- equip the arg 1 with {helm.%arg 1%} parsed as item
- equip the arg 1 with {klata.%arg 1%} parsed as item
- equip the arg 1 with {gacie.%arg 1%} parsed as item
- equip the arg 1 with {buty.%arg 1%} parsed as item
- restore inventory of arg 1 from {ekwipunek.%arg 1%}
Advertisement
Add Comment
Please, Sign In to add comment