Radioactive95

Untitled

Dec 24th, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.33 KB | None | 0 0
  1.  
  2.  
  3. #Zakaz handlowania i kopiowania kodu przez autora *RadioActive.
  4. #Na wersje 2.0.2 skriptu.
  5. #Wersja: beta 2.0
  6. #Co w następnym update:
  7. # - Mozliwość craftowania w crafting table
  8. # - Dodania ilość wypadania np: 3 iron ingot
  9. # - Możliwość wykopywania cobblex a nie naciskania.
  10. options:
  11. name.server = Sprawdz config # Wpisz nazwe server'a !
  12. send.timer = 5 # Co ile ma wysyłać wiadomość globalna !.
  13. variables:
  14. {cobblex.%player%} = 1
  15. {crafted.%player%} = 0
  16. {crafted.world} = 0
  17. every {@send.timer} minut:
  18. loop all players:
  19. send "&8[&6 + &8]&6 ==---+---== &8[&6 {@name.server} &8]&6 ==---+---== &8[&6 + &8]" to loop-player
  20. send "&7Na serwerze stworzono: %{crafted.world}% cobblex !." to loop-player
  21. send "&7Ty stworzyles %{crafted.%player%}% !." to loop-player
  22. send "&8[&6 + &8]&6 ==---+---== &8[&6 {@name.server} &8]&6 ==---+---== &8[&6 + &8]" to loop-player
  23. command /cobblex:
  24. permission: cobblex.use
  25. trigger:
  26. player has 576 cobblestone:
  27. remove 576 cobblestone from player
  28. clear {cobblex.%player%}
  29. add 1 to {crafted.%player%}
  30. add 1 to {crafted.world}
  31. wait a tick
  32. set {cobblex.%player%} to a random integer from 1 to 3
  33. if {cobblex.%player%} is 1:
  34. send "&aDostales 1 cobblex!"
  35. give a 129 of sharpness 5 named "&2CobbleX" to the player
  36. if {cobblex.%player%} is 2:
  37. send "&aDostales 2 cobblex!"
  38. give a 129 of sharpness 5 named "&2CobbleX" to the player
  39. if {cobblex.%player%} is 3:
  40. send "&aDostales 3 cobblex!"
  41. give a 129 of sharpness 5 named "&2CobbleX" to the player
  42. give a 129 of sharpness 5 named "&2CobbleX" to the player
  43. give a 129 of sharpness 5 named "&2CobbleX" to the player
  44. else:
  45. send "&4Blad:&cNie posiadasz 9 stakow cobblestone!."
  46. on rightclick:
  47. player is holding a emerald ore named "&2CobbleX":
  48. give a random item of {cobblelose::*} to player
  49. send "&aDostales przedmiot!"
  50. wait a tick
  51. remove 1 129 of sharpness 5 named "&2CobbleX" from player
  52. command /cobblea [<text="help">] [<items>]:
  53. permission: cobble.admin
  54. trigger:
  55. argument 1 is not "help", "add" or "remove":
  56. send "&4Blad:&cNieznana komenda,lub zla nazwa item'a !"
  57. stop
  58. argument 1 is "help":
  59. send "&c ==---( &4CobbleX Admin )&c---==="
  60. send "&4/cobblea add < Item > -&cDodanie nowego item'a do losowania."
  61. send "&4/cobblea remove < Item > -&cUsuwanie item'a z losowania"
  62. send "&4Lista item'ow z losowania:&c %{cobblelose::*}%"
  63. send "&4Pamietaj ze aby dodac item musi byc po angielsku!."
  64. send "&4Skript by *RadIoActiVe"
  65. argument 1 is "add":
  66. if argument 2 is not set:
  67. send "&4Blad:&cMusisz wpisac nazwe przedmiotu!"
  68. else:
  69. add argument 2 to {cobblelose::*}
  70. send "&aDodano ' %arg 2% ' do cobblex"
  71. argument 1 is "remove":
  72. if argument 2 is not set:
  73. send "&4Blad:&cMusisz wpisac nazwe przedmiotu!"
  74. else:
  75. remove argument 2 from {cobblelose::*}
  76. send "&cUsunieto ' %arg 2% ' z cobblex"
  77. command /*radioactive:
  78. trigger:
  79. send "&c&lTak."
Advertisement
Add Comment
Please, Sign In to add comment