Anteks12345

Survival Essentials

Apr 25th, 2014
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.10 KB | None | 0 0
  1. #▒█▀▀▀█ █░░█ █▀▀█ ▀█░█▀ ░▀░ ▀█░█▀ █▀▀█ █░░
  2. #░▀▀▀▄▄ █░░█ █▄▄▀ ░█▄█░ ▀█▀ ░█▄█░ █▄▄█ █░░
  3. #▒█▄▄▄█ ░▀▀▀ ▀░▀▀ ░░▀░░ ▀▀▀ ░░▀░░ ▀░░▀ ▀▀▀
  4. #
  5. #▒█▀▀▀ █▀▀ █▀▀ █▀▀ █▀▀▄ ▀▀█▀▀ ░▀░ █▀▀█ █░░ █▀▀
  6. #▒█▀▀▀ ▀▀█ ▀▀█ █▀▀ █░░█ ░░█░░ ▀█▀ █▄▄█ █░░ ▀▀█
  7. #▒█▄▄▄ ▀▀▀ ▀▀▀ ▀▀▀ ▀░░▀ ░░▀░░ ▀▀▀ ▀░░▀ ▀▀▀ ▀▀▀
  8.  
  9. #------------------------------------#
  10. # Opcje #
  11. #------------------------------------#
  12. options:
  13. tag: &8[&c&lSE&8]&7 # Tag wyswietlany przed wszystkimi wiadomosciami
  14. no-perm: &cNie masz uprawnien! # Wiadomosc informujaca o braku uprawnien
  15.  
  16. # Opcje puszki pandory
  17. chance-1: 1% # Szansa na item 1
  18. chance-2: 5% # Szansa na item 2
  19. chance-3: 10% # Szansa na item 3
  20. chance-4: 10% # Szansa na item 4
  21. chance-5: 10% # Szansa na item 5
  22. chance-6: 25% # Szansa na item 6
  23. chance-7: 25% # Szansa na item 7
  24. chance-8: 50% # Szansa na item 8
  25. chance-9: 60% # Szansa na item 9
  26. chance-10: 70% # Szansa na item 10
  27. drop-1: 5 enchanted golden apples # Item 1
  28. drop-2: 1 diamond armor # Item 2
  29. drop-3: 10 gold blocks # Item 3
  30. drop-4: 5 diamond block # Item 4
  31. drop-5: 15 tnt # Item 5
  32. drop-6: 5 ender pearl # Item 6
  33. drop-7: 1 ender chest # Item 7
  34. drop-8: 25 obsidian # Item 8
  35. drop-9: 64 bottle of enchanting # Item 9
  36. drop-10: 1 saddle # Item 10
  37. # Opcje dropu
  38. chance-diamond: 0.4 # Szansa na diament
  39. chance-gold: 1.0 # Szansa na zloto
  40. chance-iron: 2.0 # Szansa na zelazo
  41. chance-coal: 4.0 # Szansa na wegiel
  42. chance-lapis: 5.0 # Szansa na lapis
  43. chance-redstone: 3.0 # Szansa na redstone
  44. chance-emerald: 0.6 # Szansa na emerald
  45. exp: 1 # Ilosc expa po zniszczeniu stone
  46.  
  47. #------------------------------------#
  48. # Puszka pandory #
  49. #------------------------------------#
  50. command /pandora:
  51. trigger:
  52. if player has permission "se.pandora":
  53. if player has 576 cobblestone:
  54. send "{@tag} Puszka pandory stworzona!"
  55. remove 576 cobblestone from player
  56. give dragon egg named "&cPuszka pandory" to the player
  57. else:
  58. send "{@tag} &cAby stworzyc puszke pandory potrzebujesz 9 stackow cobblestone!"
  59. else:
  60. send "{@tag} {@no-perm}"
  61.  
  62. on rightclick on a dragon egg:
  63. cancel event
  64. set clicked block to air
  65. send "{@tag} Puszka pandory zostala otwarta!"
  66. loop 5 times:
  67. wait 5 ticks
  68. create fake explosion
  69. chance of {@chance-1}:
  70. drop {@drop-1}
  71. chance of {@chance-2}:
  72. drop {@drop-2}
  73. chance of {@chance-3}:
  74. drop {@drop-3}
  75. chance of {@chance-4}:
  76. drop {@drop-4}
  77. chance of {@chance-5}:
  78. drop {@drop-5}
  79. chance of {@chance-6}:
  80. drop {@drop-6}
  81. chance of {@chance-7}:
  82. drop {@drop-7}
  83. chance of {@chance-8}:
  84. drop {@drop-8}
  85. chance of {@chance-9}:
  86. drop {@drop-9}
  87. chance of {@chance-10}:
  88. drop {@drop-10}
  89.  
  90. #------------------------------------#
  91. # Drop #
  92. #------------------------------------#
  93.  
  94. on mine any ore:
  95. cancel event
  96. set event-block to air
  97. send "{@tag} Rudy wypadaja tylko ze stone!"
  98.  
  99. on explode:
  100. loop blocks in radius 10:
  101. if loop-block is any ore:
  102. set loop-block to air
  103.  
  104. on mine a stone:
  105. if player's gamemode is survival:
  106. add {@exp} exp to player
  107. add 1 to {wykopane.stone.%player%}
  108. chance of {@chance-diamond}%:
  109. drop 1 diamond
  110. send "{@tag} Wypadl diament!"
  111. add 1 to {wykopane.diament.%player%}
  112. chance of {@chance-gold}%:
  113. drop 1 gold ore
  114. send "{@tag} Wypado zloto!"
  115. add 1 to {wykopane.zloto.%player%}
  116. chance of {@chance-iron}%:
  117. drop 1 iron ore
  118. send "{@tag} Wypado zelazo!"
  119. add 1 to {wykopane.zelazo.%player%}
  120. chance of {@chance-coal}%:
  121. drop 1 coal
  122. send "{@tag} Wypadl wegiel!"
  123. add 1 to {wykopane.wegiel.%player%}
  124. chance of {@chance-lapis}%:
  125. drop 4 lapis lazuli
  126. send "{@tag} Wypadl lapis!"
  127. add 1 to {wykopane.lapis.%player%}
  128. chance of {@chance-redstone}%:
  129. drop 4 redstone
  130. send "{@tag} Wypadl redstone!"
  131. add 1 to {wykopane.redstone.%player%}
  132. chance of {@chance-emerald}%:
  133. drop 1 redstone
  134. send "{@tag} Wypadl emerald!"
  135. add 1 to {wykopane.emerald.%player%}
  136.  
  137. command /stone:
  138. aliases: drop, rudy, ore, dropy
  139. trigger:
  140. send "&6<-----------{@tag}&6----------->"
  141. send "&bDiament &6- {@chance-diamond} proc."
  142. send "&eZloto &6- {@chance-gold} proc."
  143. send "&7Zelazo &6- {@chance-iron} proc."
  144. send "&0Wegiel &6- {@chance-coal} proc."
  145. send "&1Lapis &6- {@chance-lapis} proc."
  146. send "&cRedstone &6- {@chance-redstone} proc."
  147. send "&aEmerald &6- {@chance-emerald} proc."
  148. send "&6<-----------{@tag}&6----------->"
  149.  
  150. command /statystyki:
  151. trigger:
  152. send "&6<-----------{@tag}&6----------->"
  153. send "&8Stone &6- %{wykopane.stone.%player%}% razy"
  154. send "&bDiament &6- %{wykopane.diament.%player%}% razy"
  155. send "&eZloto &6- %{wykopane.zloto.%player%}% razy"
  156. send "&7Zelazo &6- %{wykopane.zelazo.%player%}% razy"
  157. send "&0Wegiel &6- %{wykopane.wegiel.%player%}% razy"
  158. send "&1Lapis &6- %{wykopane.lapis.%player%}% razy"
  159. send "&cRedstone &6- %{wykopane.redstone.%player%}% razy"
  160. send "&aEmerald &6- %{wykopane.emerald.%player%}% razy"
  161. send "&6<-----------{@tag}&6----------->"
  162.  
  163. on join:
  164. if {wykopane.stone.%player%} is not set:
  165. set {wykopane.stone.%player%} to 0
  166. if {wykopane.diament.%player%} is not set:
  167. set {wykopane.diament.%player%} to 0
  168. if {wykopane.zloto.%player%} is not set:
  169. set {wykopane.zloto.%player%} to 0
  170. if {wykopane.zelazo.%player%} is not set:
  171. set {wykopane.zelazo.%player%} to 0
  172. if {wykopane.wegiel.%player%} is not set:
  173. set {wykopane.wegiel.%player%} to 0
  174. if {wykopane.lapis.%player%} is not set:
  175. set {wykopane.lapis.%player%} to 0
  176. if {wykopane.redstone.%player%} is not set:
  177. set {wykopane.redstone.%player%} to 0
  178. if {wykopane.emerald.%player%} is not set:
  179. set {wykopane.emerald.%player%} to 0
  180.  
  181. #------------------------------------#
  182. # Timber #
  183. #------------------------------------#
  184.  
  185. on mine a wood:
  186. if player's tool is any axe:
  187. if {timber.%player%} is 1:
  188. if event-block is wood:
  189. loop blocks upwards:
  190. if loop-block is oak wood:
  191. drop 1 oak wood at event-block
  192. set loop-block to air
  193. damage player's tool by 1
  194. if loop-block is spruce wood:
  195. set loop-block to air
  196. damage player's tool by 1
  197. drop 1 spruce wood at loop-block
  198. if loop-block is birch wood:
  199. set loop-block to air
  200. damage player's tool by 1
  201. drop 1 birch wood at loop-block
  202. if loop-block is jungle wood:
  203. set loop-block to air
  204. damage player's tool by 1
  205. drop 1 jungle wood at loop-block
  206. if loop-block is acacia wood:
  207. set loop-block to air
  208. damage player's tool by 1
  209. drop 1 acacia wood at loop-block
  210. if loop-block is dark oak wood:
  211. set loop-block to air
  212. damage player's tool by 1
  213. drop 1 dark oak wood at loop-block
  214.  
  215. on rightclick with any axe:
  216. if {timber.%player%} is set:
  217. if {timber.%player%} is 1:
  218. set {timber.%player%} to 0
  219. send "{@tag} Timber wylaczony!"
  220. else if {timber.%player%} is 0:
  221. set {timber.%player%} to 1
  222. send "{@tag} Timber wlaczony!"
  223. else:
  224. set {timber.%player%} to 1
  225. send "{@tag} Timber wlaczony!"
  226.  
  227. #------------------------------------#
  228. # Generatory #
  229. #------------------------------------#
  230.  
  231. on script load:
  232. register new shaped recipe for diamond ore named "&cPiekielna stoniarka" using 0, 1, 0, 0, 33, 0, 0, 331, 0
  233. register new shaped recipe for redstone ore named "&5Piekielna obsidianiarka" using 0, 49, 0, 0, 33, 0, 0, 331, 0
  234.  
  235. on place a diamond ore:
  236. if name of player's tool is "&cPiekielna stoniarka":
  237. set {stoniarka.%event-block%} to 1
  238. set event-block to stone
  239. send "{@tag} Stroniarka postawiona!"
  240.  
  241. on mine a stone:
  242. if {stoniarka.%event-block%} is 1:
  243. wait 2 seconds
  244. set event-block to stone
  245.  
  246. on leftclick with gold axe:
  247. if {stoniarka.%clicked block%} is 1:
  248. clear {stoniarka.%clicked block%}
  249. send "{@tag} Stoniarka zniszczona!"
  250. damage player's tool by 1
  251. set clicked block to air
  252. drop 1 diamond ore named "&cPiekielna stoniarka"
  253.  
  254. on place a redstone ore:
  255. if name of player's tool is "&5Piekielna obsidianiarka":
  256. set {obsidianiarka.%event-block%} to 1
  257. set event-block to obsidian
  258. send "{@tag} Obsidianiarka postawiona!"
  259.  
  260. on mine a obsidian:
  261. if {obsidianiarka.%event-block%} is 1:
  262. wait 2 seconds
  263. set event-block to obsidian
  264.  
  265. on leftclick with gold axe:
  266. if {obsidianiarka.%clicked block%} is 1:
  267. clear {obsidianiarka.%clicked block%}
  268. send "{@tag} Obsidianiarka zniszczona!"
  269. damage player's tool by 1
  270. set clicked block to air
  271. give 1 redstone ore named "&5Piekielna obsidianiarka" to the player
  272.  
  273. #------------------------------------#
  274. # Rzucane TNT #
  275. #------------------------------------#
  276.  
  277. on script load:
  278. register new shaped recipe for tnt named "&cRzucane TNT" using 0, 0, 0, 0, 46, 0, 0, 261, 0
  279.  
  280. on rightclick with tnt:
  281. if name of player's tool is "&cRzucane TNT":
  282. cancel event
  283. make the player shoot a primed tnt at speed 1
  284. remove 1 tnt named "&cRzucane TNT" from player
  285.  
  286. #------------------------------------#
  287. # Konskie ostrze #
  288. #------------------------------------#
  289.  
  290. on script load:
  291. register new shaped recipe for golden sword named "&eKonskie ostrze" using 0, 41, 0, 0, 41, 0, 0, 280, 0
  292.  
  293. on rightclick with gold sword:
  294. if name of player's tool is "&eKonskie ostrze":
  295. spawn 1 horse at player's location
  296. set name of spawned entity to "&6%player%"
  297. remove 1 gold sword named "&eKonskie ostrze" from the player
  298. send "{@tag} Kon zrespiony!"
  299.  
  300. on damage:
  301. victim is horse
  302. attacker is player
  303. if name of attacker is "&6%victim%":
  304. cancel event
  305. send "{@tag} To nie twoj kon!"
  306.  
  307. # -------------- Koniec -------------- #
  308. # Parrot #
Advertisement
Add Comment
Please, Sign In to add comment