Advertisement
Guest User

aa

a guest
Jan 31st, 2015
889
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. options:
  2. diament: 10
  3. wegiel: 20
  4. szmaragd: 10
  5. tnt: 10
  6. obsydian: 20
  7. cobble: 100
  8. wymagane: 576 cobblestone
  9.  
  10. command /cobblex:
  11. trigger:
  12. if player has {@wymagane}:
  13. remove {@wymagane} from player
  14. give player 1 sponge named "&2CobbleX"
  15. send "&4 Dostales CobbleX"
  16. else:
  17. send "&c Nie Masz {@wymagane}"
  18.  
  19.  
  20. on mine sponge:
  21. if player's gamemode is survival:
  22. if player's tool is pickaxe:
  23. set event-block to air
  24. cancel event
  25. chance of {@tnt}%:
  26. give 10 tnt to the player
  27. send "&4 Wygrales TNT"
  28. chance of {@diament}%:
  29. give 10 diamond to the player
  30. send "&4 Wygrales Diamenty"
  31. chance of {@wegiel}%:
  32. give 10 coal to the player
  33. send "&4 Wygrales Wungiel"
  34. chance of {@szmaragd}%:
  35. give 10 emerald to the player
  36. send "&4 Wygrales Szmaragdy"
  37. chance of {@obsydian}%:
  38. give 10 obsidian to the player
  39. send "&4 Wygrales Obsydian"
  40. chance of {@cobble}%:
  41. give 64 cobblestone to the player
  42. send "&4 Wygrales Pewne 64 Cobblestone"
  43. options:
  44. message1: &7[&a*&7] &c Denerwuje Cie Cobblestone? &6 Wpisz /cobblex i wygraj fantastyczne nagrody!
  45. message2: &7[&a*&7] &3 By dowiedziec sie o nagrodach Wpisz &2/nagrody
  46. minutymessage: 15
  47. minutymessage2: 20
  48. every {@minutymessage} seconds:
  49. broadcast "{@message1}"
  50. every {@minutymessage2} seconds:
  51. broadcast "{@message2}"
  52. command /nagrody:
  53. trigger:
  54. open chest with 1 rows named "&4 Nagrody" to player
  55. format slot 1 of player with 1 of tnt named "&4 10 Sztuk TNT" to be unstealable
  56. format slot 2 of player with 1 of diamond named "&3 10 sztuk Diamentow" to be unstealable
  57. format slot 3 of player with 1 of cobblestone named "&7 64 sztuk cobblestone" to be unstealable
  58. format slot 4 of player with 1 of emerald named "&a 10 sztuk Emeraldow" to be unstealable
  59. format slot 5 of player with 1 of obsidian named "&0 10 sztuk Obsydianu" to be unstealable
  60. format slot 6 of player with 1 of coal named "&8 10 sztuk Wegla" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement