HugoZvPlayZ

StoneZ

Nov 5th, 2013
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.07 KB | None | 0 0
  1. #========================================================================================================#
  2. # Skrypt stworzony przez HugoZvPlayZ #
  3. # Nazwa: StoneZ #
  4. # Wersja: 0.3 #
  5. # Skript: 2.0.2 #
  6. #========================================================================================================#
  7. #--------------------------------------------------------------------------------------------------------#
  8. # USTAWIENIA #
  9. #--------------------------------------------------------------------------------------------------------#
  10. options:
  11. # Tag Skryptu
  12. StoneZ.tag: &4&lStone&0&lZ
  13. StoneZ.|: &7&l|
  14.  
  15. #Swiat w ktorym skrypt StoneZ ma dzialac
  16. StoneZ.world: "world" or "world_2"
  17.  
  18. # Zamiana bloku rudy po zniszczeniu
  19. StoneZ.set.block: air
  20.  
  21. # Drop Exp z kamienia (stone)
  22. StoneZ.drop.xp: 1
  23.  
  24. # Szansa znalezienia mineralow:
  25. # Fortuna 0
  26. StoneZ.chance.coal.fortune.0: 1.7
  27. StoneZ.chance.iron.fortune.0: 1.3
  28. StoneZ.chance.gold.fortune.0: 0.4
  29. StoneZ.chance.diamond.fortune.0: 0.3
  30. StoneZ.chance.emerald.fortune.0: 0.1
  31. StoneZ.chance.lapis.fortune.0: 0.4
  32. StoneZ.chance.redstone.fortune.0: 0.4
  33. # Fortuna 1
  34. StoneZ.chance.coal.fortune.1: 2
  35. StoneZ.chance.iron.fortune.1: 1.6
  36. StoneZ.chance.gold.fortune.1: 0.7
  37. StoneZ.chance.diamond.fortune.1: 0.6
  38. StoneZ.chance.emerald.fortune.1: 0.4
  39. StoneZ.chance.lapis.fortune.1: 0.7
  40. StoneZ.chance.redstone.fortune.1: 0.7
  41. # Fortuna 2
  42. StoneZ.chance.coal.fortune.2: 2.3
  43. StoneZ.chance.iron.fortune.2: 1.9
  44. StoneZ.chance.gold.fortune.2: 1
  45. StoneZ.chance.diamond.fortune.2: 0.9
  46. StoneZ.chance.emerald.fortune.2: 0.7
  47. StoneZ.chance.lapis.fortune.2: 1
  48. StoneZ.chance.redstone.fortune.2: 1
  49. # Fortuna 3
  50. StoneZ.chance.coal.fortune.3: 2.6
  51. StoneZ.chance.iron.fortune.3: 2.2
  52. StoneZ.chance.gold.fortune.3: 1.3
  53. StoneZ.chance.diamond.fortune.3: 1.2
  54. StoneZ.chance.emerald.fortune.3: 1
  55. StoneZ.chance.lapis.fortune.3: 1.3
  56. StoneZ.chance.redstone.fortune.3: 1.3
  57.  
  58. #--------------------------------------------------------------------------------------------------------#
  59.  
  60. # Ilosc znalezienia mineralow:
  61. # Fortuna 0
  62. # Coal
  63. StoneZ.drop.coal.fortune.0.od: 3
  64. StoneZ.drop.coal.fortune.0.do: 7
  65. # Iron
  66. StoneZ.drop.iron.fortune.0.od: 1
  67. StoneZ.drop.iron.fortune.0.do: 1
  68. # Gold
  69. StoneZ.drop.gold.fortune.0.od: 1
  70. StoneZ.drop.gold.fortune.0.do: 1
  71. # Diamond
  72. StoneZ.drop.diamond.fortune.0.od: 1
  73. StoneZ.drop.diamond.fortune.0.do: 1
  74. # Emerald
  75. StoneZ.drop.emerald.fortune.0.od: 1
  76. StoneZ.drop.emerald.fortune.0.do: 1
  77. # Lapis
  78. StoneZ.drop.lapis.fortune.0.od: 4
  79. StoneZ.drop.lapis.fortune.0.do: 8
  80. # RedStone
  81. StoneZ.drop.redstone.fortune.0.od: 4
  82. StoneZ.drop.redstone.fortune.0.do: 5
  83. #--------------------------------------------------------------------------------------------------------#
  84. # Fortuna 1
  85. # Coal
  86. StoneZ.drop.coal.fortune.1.od: 3
  87. StoneZ.drop.coal.fortune.1.do: 8
  88. # Iron
  89. StoneZ.drop.iron.fortune.1.od: 1
  90. StoneZ.drop.iron.fortune.1.do: 2
  91. # Gold
  92. StoneZ.drop.gold.fortune.1.od: 1
  93. StoneZ.drop.gold.fortune.1.do: 2
  94. # Diamond
  95. StoneZ.drop.diamond.fortune.1.od: 1
  96. StoneZ.drop.diamond.fortune.1.do: 2
  97. # Emerald
  98. StoneZ.drop.emerald.fortune.1.od: 1
  99. StoneZ.drop.emerald.fortune.1.do: 2
  100. # Lapis
  101. StoneZ.drop.lapis.fortune.1.od: 4
  102. StoneZ.drop.lapis.fortune.1.do: 9
  103. # RedStone
  104. StoneZ.drop.redstone.fortune.1.od: 4
  105. StoneZ.drop.redstone.fortune.1.do: 6
  106. #--------------------------------------------------------------------------------------------------------#
  107. # Fortuna 2
  108. # Coal
  109. StoneZ.drop.coal.fortune.2.od: 3
  110. StoneZ.drop.coal.fortune.2.do: 9
  111. # Iron
  112. StoneZ.drop.iron.fortune.2.od: 1
  113. StoneZ.drop.iron.fortune.2.do: 3
  114. # Gold
  115. StoneZ.drop.gold.fortune.2.od: 1
  116. StoneZ.drop.gold.fortune.2.do: 3
  117. # Diamond
  118. StoneZ.drop.diamond.fortune.2.od: 1
  119. StoneZ.drop.diamond.fortune.2.do: 3
  120. # Emerald
  121. StoneZ.drop.emerald.fortune.2.od: 1
  122. StoneZ.drop.emerald.fortune.2.do: 3
  123. # Lapis
  124. StoneZ.drop.lapis.fortune.2.od: 4
  125. StoneZ.drop.lapis.fortune.2.do: 10
  126. # RedStone
  127. StoneZ.drop.redstone.fortune.2.od: 4
  128. StoneZ.drop.redstone.fortune.2.do: 7
  129. #--------------------------------------------------------------------------------------------------------#
  130. # Fortuna 3
  131. # Coal
  132. StoneZ.drop.coal.fortune.3.od: 3
  133. StoneZ.drop.coal.fortune.3.do: 10
  134. # Iron
  135. StoneZ.drop.iron.fortune.3.od: 1
  136. StoneZ.drop.iron.fortune.3.do: 4
  137. # Gold
  138. StoneZ.drop.gold.fortune.3.od: 1
  139. StoneZ.drop.gold.fortune.3.do: 4
  140. # Diamond
  141. StoneZ.drop.diamond.fortune.3.od: 1
  142. StoneZ.drop.diamond.fortune.3.do: 4
  143. # Emerald
  144. StoneZ.drop.emerald.fortune.3.od: 1
  145. StoneZ.drop.emerald.fortune.3.do: 4
  146. # Lapis
  147. StoneZ.drop.lapis.fortune.3.od: 4
  148. StoneZ.drop.lapis.fortune.3.do: 11
  149. # RedStone
  150. StoneZ.drop.redstone.fortune.3.od: 4
  151. StoneZ.drop.redstone.fortune.3.do: 8
  152.  
  153. #--------------------------------------------------------------------------------------------------------#
  154.  
  155. # Wysokosc znalezienia mineralow
  156. StoneZ.y.coal: 100
  157. StoneZ.y.iron: 60
  158. StoneZ.y.gold: 30
  159. StoneZ.y.diamond: 21
  160. StoneZ.y.emerald: 30
  161. StoneZ.y.lapis: 30
  162. StoneZ.y.redstone: 30
  163.  
  164. # Info | Wiadomosc po znalezieniu mineralu
  165. StoneZ.msg.drop.coal: &7 * Znalazles &0&lWegiel
  166. StoneZ.msg.drop.iron: &7 * Znalazles &7&lZelazo
  167. StoneZ.msg.drop.gold: &7 * Znalazles &e&lZloto
  168. StoneZ.msg.drop.diamond: &7 * Znalazles &b&lDiament
  169. StoneZ.msg.drop.emerald: &7 * Znalazles &2&lEmerald
  170. StoneZ.msg.drop.lapis: &7 * Znalazles &1&lLapis
  171. StoneZ.msg.drop.redstone: &7 * Znalazles &c&lRedStone
  172.  
  173. # Info | Wiadomosc po wykopaniu rudy mineralu
  174. StoneZ.msg.ore: &7Mineraly wypadaja z kamienia | &a/stone
  175.  
  176. # Info | Wiadomosc o braku uprawnien
  177. StoneZ.msg.permission: &4Nie masz uprawnien
  178.  
  179. # Info | Reload
  180. StoneZ.msg.reload: &aSkrypt przeladowany pomyslnie
  181. #--------------------------------------------------------------------------------------------------------#
  182. # UPRAWNIEIA #
  183. #--------------------------------------------------------------------------------------------------------#
  184. # /StoneZ pomoc ● Pomoc ● StoneZ.gracz | StoneZ.admin #
  185. # /StoneZ drop ● Drop ● StoneZ.gracz | StoneZ.admin #
  186. # /StoneZ info ● Informacje ● StoneZ.gracz | StoneZ.admin #
  187. # /StoneZ reload ● Reload ● StoneZ.admin #
  188. #--------------------------------------------------------------------------------------------------------#
  189. #--------------------------------------------------------------------------------------------------------#
  190. # KOD #
  191. #--------------------------------------------------------------------------------------------------------#
  192. on mine of any ore or emerald ore:
  193. if player's world is {@StoneZ.world}:
  194. cancel event
  195. set block to {@StoneZ.set.block}
  196. drop 1 cobblestone
  197. message "{@StoneZ.msg.ore}"
  198. #--------------------------------------------------------------------------------------------------------#
  199. on mine of stone:
  200. if player's world is {@StoneZ.world}:
  201. if player's gamemode is survival:
  202. drop {@StoneZ.drop.xp} xp
  203. #--------------------------------------------------------------------------------------------------------#
  204. if player' tool is a pickaxe of fortune 0:
  205. if player's y-coordinate is smaller than {@StoneZ.y.coal}:
  206. chance of {@StoneZ.chance.coal.fortune.0}%:
  207. if player's gamemode is survival:
  208. drop a random number between {@StoneZ.drop.coal.fortune.0.od} and {@StoneZ.drop.coal.fortune.0.do} of coal
  209. message "{@StoneZ.msg.drop.coal}"
  210. if player's y-coordinate is smaller than {@StoneZ.y.iron}:
  211. chance of {@StoneZ.chance.iron.fortune.0}%:
  212. if player's gamemode is survival:
  213. drop a random number between {@StoneZ.drop.iron.fortune.0.od} and {@StoneZ.drop.iron.fortune.0.do} of iron ore
  214. message "{@StoneZ.msg.drop.iron}"
  215. if player's y-coordinate is smaller than {@StoneZ.y.gold}:
  216. chance of {@StoneZ.chance.gold.fortune.0}%:
  217. if player's gamemode is survival:
  218. drop a random number between {@StoneZ.drop.gold.fortune.0.od} and {@StoneZ.drop.gold.fortune.0.do} of gold ore
  219. message "{@StoneZ.msg.drop.gold}"
  220. if player's y-coordinate is smaller than {@StoneZ.y.diamond}:
  221. chance of {@StoneZ.chance.diamond.fortune.0}%:
  222. if player's gamemode is survival:
  223. drop a random number between {@StoneZ.drop.diamond.fortune.0.od} and {@StoneZ.drop.diamond.fortune.0.do} of diamond
  224. message "{@StoneZ.msg.drop.diamond}"
  225. if player's y-coordinate is smaller than {@StoneZ.y.emerald}:
  226. chance of {@StoneZ.chance.emerald.fortune.0}%:
  227. if player's gamemode is survival:
  228. drop a random number between {@StoneZ.drop.emerald.fortune.0.od} and {@StoneZ.drop.emerald.fortune.0.do} of emerald
  229. message "{@StoneZ.msg.drop.emerald}"
  230. if player's y-coordinate is smaller than {@StoneZ.y.lapis}:
  231. chance of {@StoneZ.chance.lapis.fortune.0}%:
  232. if player's gamemode is survival:
  233. drop a random number between {@StoneZ.drop.lapis.fortune.0.od} and {@StoneZ.drop.lapis.fortune.0.do} of lapis
  234. message "{@StoneZ.msg.drop.lapis}"
  235. if player's y-coordinate is smaller than {@StoneZ.y.redstone}:
  236. chance of {@StoneZ.chance.redstone.fortune.0}%:
  237. if player's gamemode is survival:
  238. drop a random number between {@StoneZ.drop.redstone.fortune.0.od} and {@StoneZ.drop.redstone.fortune.0.do} of redstone
  239. message "{@StoneZ.msg.drop.redstone}"
  240. #--------------------------------------------------------------------------------------------------------#
  241. if player' tool is a pickaxe of fortune 1:
  242. if player's y-coordinate is smaller than {@StoneZ.y.coal}:
  243. chance of {@StoneZ.chance.coal.fortune.1}%:
  244. if player's gamemode is survival:
  245. drop a random number between {@StoneZ.drop.coal.fortune.1.od} and {@StoneZ.drop.coal.fortune.1.do} of coal
  246. message "{@StoneZ.msg.drop.coal}"
  247. if player's y-coordinate is smaller than {@StoneZ.y.iron}:
  248. chance of {@StoneZ.chance.iron.fortune.1}%:
  249. if player's gamemode is survival:
  250. drop a random number between {@StoneZ.drop.iron.fortune.1.od} and {@StoneZ.drop.iron.fortune.1.do} of iron ore
  251. message "{@StoneZ.msg.drop.iron}"
  252. if player's y-coordinate is smaller than {@StoneZ.y.gold}:
  253. chance of {@StoneZ.chance.gold.fortune.1}%:
  254. if player's gamemode is survival:
  255. drop a random number between {@StoneZ.drop.gold.fortune.1.od} and {@StoneZ.drop.gold.fortune.1.do} of gold ore
  256. message "{@StoneZ.msg.drop.gold}"
  257. if player's y-coordinate is smaller than {@StoneZ.y.diamond}:
  258. chance of {@StoneZ.chance.diamond.fortune.1}%:
  259. if player's gamemode is survival:
  260. drop a random number between {@StoneZ.drop.diamond.fortune.1.od} and {@StoneZ.drop.diamond.fortune.1.do} of diamond
  261. message "{@StoneZ.msg.drop.diamond}"
  262. if player's y-coordinate is smaller than {@StoneZ.y.emerald}:
  263. chance of {@StoneZ.chance.emerald.fortune.1}%:
  264. if player's gamemode is survival:
  265. drop a random number between {@StoneZ.drop.emerald.fortune.1.od} and {@StoneZ.drop.emerald.fortune.1.do} of emerald
  266. message "{@StoneZ.msg.drop.emerald}"
  267. if player's y-coordinate is smaller than {@StoneZ.y.lapis}:
  268. chance of {@StoneZ.chance.lapis.fortune.1}%:
  269. if player's gamemode is survival:
  270. drop a random number between {@StoneZ.drop.lapis.fortune.1.od} and {@StoneZ.drop.lapis.fortune.1.do} of lapis
  271. message "{@StoneZ.msg.drop.lapis}"
  272. if player's y-coordinate is smaller than {@StoneZ.y.redstone}:
  273. chance of {@StoneZ.chance.redstone.fortune.1}%:
  274. if player's gamemode is survival:
  275. drop a random number between {@StoneZ.drop.redstone.fortune.1.od} and {@StoneZ.drop.redstone.fortune.1.do} of redstone
  276. message "{@StoneZ.msg.drop.redstone}"
  277. #--------------------------------------------------------------------------------------------------------#
  278. if player' tool is a pickaxe of fortune 2:
  279. if player's y-coordinate is smaller than {@StoneZ.y.coal}:
  280. chance of {@StoneZ.chance.coal.fortune.2}%:
  281. if player's gamemode is survival:
  282. drop a random number between {@StoneZ.drop.coal.fortune.2.od} and {@StoneZ.drop.coal.fortune.2.do} of coal
  283. message "{@StoneZ.msg.drop.coal}"
  284. if player's y-coordinate is smaller than {@StoneZ.y.iron}:
  285. chance of {@StoneZ.chance.iron.fortune.2}%:
  286. if player's gamemode is survival:
  287. drop a random number between {@StoneZ.drop.iron.fortune.2.od} and {@StoneZ.drop.iron.fortune.2.do} of iron ore
  288. message "{@StoneZ.msg.drop.iron}"
  289. if player's y-coordinate is smaller than {@StoneZ.y.gold}:
  290. chance of {@StoneZ.chance.gold.fortune.2}%:
  291. if player's gamemode is survival:
  292. drop a random number between {@StoneZ.drop.gold.fortune.2.od} and {@StoneZ.drop.gold.fortune.2.do} of gold ore
  293. message "{@StoneZ.msg.drop.gold}"
  294. if player's y-coordinate is smaller than {@StoneZ.y.diamond}:
  295. chance of {@StoneZ.chance.diamond.fortune.2}%:
  296. if player's gamemode is survival:
  297. drop a random number between {@StoneZ.drop.diamond.fortune.2.od} and {@StoneZ.drop.diamond.fortune.2.do} of diamond
  298. message "{@StoneZ.msg.drop.diamond}"
  299. if player's y-coordinate is smaller than {@StoneZ.y.emerald}:
  300. chance of {@StoneZ.chance.emerald.fortune.2}%:
  301. if player's gamemode is survival:
  302. drop a random number between {@StoneZ.drop.emerald.fortune.2.od} and {@StoneZ.drop.emerald.fortune.2.do} of emerald
  303. message "{@StoneZ.msg.drop.emerald}"
  304. if player's y-coordinate is smaller than {@StoneZ.y.lapis}:
  305. chance of {@StoneZ.chance.lapis.fortune.2}%:
  306. if player's gamemode is survival:
  307. drop a random number between {@StoneZ.drop.lapis.fortune.2.od} and {@StoneZ.drop.lapis.fortune.2.do} of lapis
  308. message "{@StoneZ.msg.drop.lapis}"
  309. if player's y-coordinate is smaller than {@StoneZ.y.redstone}:
  310. chance of {@StoneZ.chance.redstone.fortune.2}%:
  311. if player's gamemode is survival:
  312. drop a random number between {@StoneZ.drop.redstone.fortune.2.od} and {@StoneZ.drop.redstone.fortune.2.do} of redstone
  313. message "{@StoneZ.msg.drop.redstone}"
  314. #--------------------------------------------------------------------------------------------------------#
  315. if player' tool is a pickaxe of fortune 3:
  316. if player's y-coordinate is smaller than {@StoneZ.y.coal}:
  317. chance of {@StoneZ.chance.coal.fortune.3}%:
  318. if player's gamemode is survival:
  319. drop a random number between {@StoneZ.drop.coal.fortune.3.od} and {@StoneZ.drop.coal.fortune.3.do} of coal
  320. message "{@StoneZ.msg.drop.coal}"
  321. if player's y-coordinate is smaller than {@StoneZ.y.iron}:
  322. chance of {@StoneZ.chance.iron.fortune.3}%:
  323. if player's gamemode is survival:
  324. drop a random number between {@StoneZ.drop.iron.fortune.3.od} and {@StoneZ.drop.iron.fortune.3.do} of iron ore
  325. message "{@StoneZ.msg.drop.iron}"
  326. if player's y-coordinate is smaller than {@StoneZ.y.gold}:
  327. chance of {@StoneZ.chance.gold.fortune.3}%:
  328. if player's gamemode is survival:
  329. drop a random number between {@StoneZ.drop.gold.fortune.3.od} and {@StoneZ.drop.gold.fortune.3.do} of gold ore
  330. message "{@StoneZ.msg.drop.gold}"
  331. if player's y-coordinate is smaller than {@StoneZ.y.diamond}:
  332. chance of {@StoneZ.chance.diamond.fortune.3}%:
  333. if player's gamemode is survival:
  334. drop a random number between {@StoneZ.drop.diamond.fortune.3.od} and {@StoneZ.drop.diamond.fortune.3.do} of diamond
  335. message "{@StoneZ.msg.drop.diamond}"
  336. if player's y-coordinate is smaller than {@StoneZ.y.emerald}:
  337. chance of {@StoneZ.chance.emerald.fortune.3}%:
  338. if player's gamemode is survival:
  339. drop a random number between {@StoneZ.drop.emerald.fortune.3.od} and {@StoneZ.drop.emerald.fortune.3.do} of emerald
  340. message "{@StoneZ.msg.drop.emerald}"
  341. if player's y-coordinate is smaller than {@StoneZ.y.lapis}:
  342. chance of {@StoneZ.chance.lapis.fortune.3}%:
  343. if player's gamemode is survival:
  344. drop a random number between {@StoneZ.drop.lapis.fortune.3.od} and {@StoneZ.drop.lapis.fortune.3.do} of lapis
  345. message "{@StoneZ.msg.drop.lapis}"
  346. if player's y-coordinate is smaller than {@StoneZ.y.redstone}:
  347. chance of {@StoneZ.chance.redstone.fortune.3}%:
  348. if player's gamemode is survival:
  349. drop a random number between {@StoneZ.drop.redstone.fortune.3.od} and {@StoneZ.drop.redstone.fortune.3.do} of redstone
  350. message "{@StoneZ.msg.drop.redstone}"
  351. #--------------------------------------------------------------------------------------------------------#
  352. command /StoneZ [<text>] [<text>]:
  353. aliases: sz, stone
  354. trigger:
  355. if argument 1 is not set:
  356. execute player command "StoneZ pomoc"
  357. if argument 1 is "pomoc":
  358. if player has permission "StoneZ.gracz" or "StoneZ.admin":
  359. message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
  360. message "&e&l* &2/StoneZ pomoc &f- &7Pomoc"
  361. message "&e&l* &2/StoneZ drop <on:off> &f- &7Drop z kamienia"
  362. message "&e&l* &2/StoneZ info &f- &7Informacje"
  363. message "&e&l* &2/StoneZ reload &f- &7Reload"
  364. message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
  365. else:
  366. message "{@StoneZ.tag} {@StoneZ.|} {@StoneZ.msg.permission}"
  367. if argument 1 is "drop":
  368. if player has permission "StoneZ.gracz" or "StoneZ.admin":
  369. message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
  370. message " &0&lWegiel &f- &7Fortuna 0: {@StoneZ.chance.coal.fortune.0}%, Fortuna 1: {@StoneZ.chance.coal.fortune.1}%, Fortuna 2: {@StoneZ.chance.coal.fortune.2}%, Fortuna 3: {@StoneZ.chance.coal.fortune.3}%, od poziomu {@StoneZ.y.coal}"
  371. message " &7&lZelazo &f- &7Fortuna 0: {@StoneZ.chance.iron.fortune.0}%, Fortuna 1: {@StoneZ.chance.iron.fortune.1}%, Fortuna 2: {@StoneZ.chance.iron.fortune.2}%, Fortuna 3: {@StoneZ.chance.iron.fortune.3}%, od poziomu {@StoneZ.y.iron}"
  372. message " &e&lZloto &f- &7Fortuna 0: {@StoneZ.chance.gold.fortune.0}%, Fortuna 1: {@StoneZ.chance.gold.fortune.1}%, Fortuna 2: {@StoneZ.chance.gold.fortune.2}%, Fortuna 3: {@StoneZ.chance.gold.fortune.3}%, od poziomu {@StoneZ.y.gold}"
  373. message " &b&lDiament &f- &7Fortuna 0: {@StoneZ.chance.diamond.fortune.0}%, Fortuna 1: {@StoneZ.chance.diamond.fortune.1}%, Fortuna 2: {@StoneZ.chance.diamond.fortune.2}%, Fortuna 3: {@StoneZ.chance.diamond.fortune.3}%, od poziomu {@StoneZ.y.diamond}"
  374. message " &2&lEmerald &f- &7Fortuna 0: {@StoneZ.chance.emerald.fortune.0}%, Fortuna 1: {@StoneZ.chance.emerald.fortune.1}%, Fortuna 2: {@StoneZ.chance.emerald.fortune.2}%, Fortuna 3: {@StoneZ.chance.emerald.fortune.3}%, od poziomu {@StoneZ.y.emerald}"
  375. message " &1&lLapis &f- &7Fortuna 0: {@StoneZ.chance.lapis.fortune.0}%, Fortuna 1: {@StoneZ.chance.lapis.fortune.1}%, Fortuna 2: {@StoneZ.chance.lapis.fortune.2}%, Fortuna 3: {@StoneZ.chance.lapis.fortune.3}%, od poziomu {@StoneZ.y.lapis}"
  376. message " &c&lRedStone &f- &7Fortuna 0: {@StoneZ.chance.redstone.fortune.0}%, Fortuna 1: {@StoneZ.chance.redstone.fortune.1}%, Fortuna 2: {@StoneZ.chance.redstone.fortune.2}%, Fortuna 3: {@StoneZ.chance.redstone.fortune.3}%, od poziomu {@StoneZ.y.redstone}"
  377. message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
  378. else:
  379. message "{@StoneZ.tag} {@StoneZ.|} {@StoneZ.msg.permission}"
  380. if argument 1 is "info":
  381. if player has permission "StoneZ.gracz" or "StoneZ.admin":
  382. message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
  383. message "&e&l* &2&lSkrypt: &4&lStone&0&lZ"
  384. message "&e&l* &2&lWersja: &c&l0.3"
  385. message "&e&l* &2&lAutor: &e&lHugoZvPlayZ"
  386. message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
  387. else:
  388. message "{@StoneZ.tag} {@StoneZ.|} {@StoneZ.msg.permission}"
  389. if argument 1 is "reload" or "rl":
  390. if player has permission "StoneZ.admin":
  391. execute console command "skript reload StoneZ"
  392. message "{@StoneZ.tag} {@StoneZ.|} {@StoneZ.msg.reload}"
  393. else:
  394. message "{@StoneZ.tag} {@StoneZ.|} {@StoneZ.msg.permission}"
  395.  
  396. command /stone:
  397. aliases: drop, kamien
  398. trigger:
  399. execute player command "StoneZ drop"
  400. #--------------------------------------------------------------------------------------------------------#
  401. #Zabezpieczenie przez TNT
  402. on explode:
  403. if entity is TNT:
  404. loop blocks in radius 5:
  405. if loop-block is any ore:
  406. set loop-block to {@StoneZ.set.block}
  407. #-------------------------------------------- Koniec skryptu --------------------------------------------#
  408. #------------------------------- © by HugoZvPlayZ - Strona: www.HvZ.ugu.pl ------------------------------#
Advertisement
Add Comment
Please, Sign In to add comment