Hydorax

Kryształ

Dec 21st, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. Options:
  2. world: world #tu wpisujesz nazwę świata na którym ma to działać
  3. item: sponge or upside-down double sandstone slab item #tu wpisujesz nazwy bloków które robią za kryształ oddzielone "or"
  4.  
  5. on break:
  6. if player is in world "{@world}":
  7. if player have permission "break.event":
  8. stop
  9. else:
  10. loop blocks in radius 15 around the player:
  11. if event-block is {@item}:
  12. stop
  13. else:
  14. if loop-block is {@item}:
  15. send "&cW pobliżu znajduje się kryształ."
  16. cancel event
  17. exit loop
  18. stop
  19.  
  20. on place:
  21. if player is in world "{@world}":
  22. if player have permission "break.event":
  23. stop
  24. else:
  25. loop blocks in radius 15 around the player:
  26. if loop-block is {@item}:
  27. send "&cW pobliżu znajduje się kryształ."
  28. cancel event
  29. exit loop
  30. stop
  31.  
  32. command /id [<text>]:
  33. trigger:
  34. argument is not set:
  35. send "&6Twoj item to: &c%player's tool%&6, nazwa to &c%name of player's tool%&6, jego opis: &c%lore of player's tool%&6 i ID: &c%id of player's tool%:%data value of player's tool%"
  36. argument is "reka" or "hand":
  37. execute player command "/id"
  38. argument is "cel" or "target":
  39. send "&6Namierzony blok to: &c%targeted block%&6, ID: &c%id of targeted block%:%data value of targeted block%"
Advertisement
Add Comment
Please, Sign In to add comment