xBetter

Untitled

Mar 27th, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. every 60 minutes:
  2. loop all players:
  3. send "&6Twoj ekwipunek zostal zapisany z data: &c%now%" to loop-player
  4. set {ekwipunek.%loop-player%} to serialized inventory of loop-player
  5. set {helm.%loop-player%} to helmet of the loop-player
  6. set {klata.%loop-player%} to chestplate of the loop-player
  7. set {gacie.%loop-player%} to legging of the loop-player
  8. set {buty.%loop-player%} to boots of the loop-player
  9.  
  10. command /backup [<player=%player%>]:
  11. permission: przywroc.admin
  12. trigger:
  13. send "&6Twoj ekwipunek zostal przywrocony z ostatniego zapisu!" to arg 1
  14. send "&6Przywrociles ekwipunek graczowi: &c%arg 1%"
  15. equip the arg 1 with {helm.%arg 1%} parsed as item
  16. equip the arg 1 with {klata.%arg 1%} parsed as item
  17. equip the arg 1 with {gacie.%arg 1%} parsed as item
  18. equip the arg 1 with {buty.%arg 1%} parsed as item
  19. restore inventory of arg 1 from {ekwipunek.%arg 1%}
Advertisement
Add Comment
Please, Sign In to add comment