Guest User

itemy

a guest
Jul 17th, 2014
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. options:
  2. item1: compass #Tutaj wpisz ID/Nazwe itemu
  3. item2: clock #Tutaj wpisz ID/Nazwe itemu
  4. item3: slimeball #Tutaj wpisz ID/Nazwe itemu
  5. nazwa1: nazwa1
  6. nazwa2: nazwa2
  7. nazwa3: nazwa3
  8. opis1: opis1
  9. opis2: opis2
  10. opis3: opis3
  11. komenda1: /say przykladowa komenda #Nie zapomnij dac / przed komenda
  12. komenda2: /say przykladowa komenda #Nie zapomnij dac / przed komenda
  13. komenda3: /say przykladowa komenda #Nie zapomnij dac / przed komenda
  14.  
  15. on join:
  16. clear player's inventory
  17. give {@item1} named "{@nazwa1}" with lore "{@opis1}" to slot 0 of player's inventory
  18. give {@item2} named "{@nazwa2}" with lore "{@opis2}" to slot 4 of player's inventory
  19. give {@item3} named "{@nazwa3}" with lore "{@opis3}" to slot 8 of player's inventory
  20.  
  21. on click with {@item1}:
  22. if name of player's tool is "{@nazwa1}":
  23. execute command "{@komenda1}"
  24.  
  25. on click with {@item2}:
  26. if name of player's tool is "{@nazwa2}":
  27. execute command "{@komenda2}"
  28.  
  29. on click with {@item3}:
  30. if name of player's tool is "{@nazwa3}":
  31. execute command "{@komenda3}"
Advertisement
Add Comment
Please, Sign In to add comment