Guest User

Untitled

a guest
Jan 18th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. variables:
  2. {exp.%player%} = false
  3. {cobble.%player%} = true
  4. options:
  5. #GRACZ
  6. diamond: 4.00
  7. coal: 6.00 #
  8. emerald: 3.00 #
  9. gold: 3.5 #
  10. iron: 5.00 #
  11. obs: 2.00 #
  12. perla: 0.5 #
  13. slimeball: 3.00 #
  14. sand: 4.00 #
  15. book: 1.5 #
  16. redstone: 2.00 #
  17. lapis: 3.00
  18. tnt: 2.00
  19. apple: 3.00
  20. EXP: 5
  21. #KORDY GRACZ
  22. dy:80 #diamenty
  23. gy:80 #gold
  24. iy:80 #iron
  25. ey:80 #emerald
  26. sly:32 #slimeball
  27. say:80 #sand
  28. sty:80 #string
  29. cy:80 #coal
  30. guy:80 #gunpowder
  31. ly:80 #lapis
  32. ry:80 #redstone
  33. py:80 #perla
  34. ay:80 #apple
  35. ky:80 #kwarc
  36. obsy: 80 #obsydian
  37. #VIP
  38. diamondv: 5.00
  39. coalv: 7.00
  40. emeraldv: 4.0
  41. goldv: 4.5
  42. ironv: 6.00
  43. obsv: 3.00
  44. tntv: 3.00
  45. perlav: 0.5
  46. slimeballv: 4.00
  47. sandv: 5.00
  48. bookv: 2.5
  49. redstonev: 3.00
  50. lapisv: 4.00
  51. applev: 4.00
  52. EXPV: 6
  53. #KORDY VIP
  54. dyv:80 #diamenty
  55. gyv:80 #gold
  56. iyv:80 #iron
  57. eyv:80 #emerald
  58. slyv:80 #slimeball
  59. sayv:80 #sand
  60. styv:80 #string
  61. cyv:80 #coal
  62. guyv:80 #gunpowder
  63. lyv:80 #lapis
  64. ryv:80 #redstone
  65. pyv:80 #perla
  66. ayv:80 #apple
  67. kyv:80 #kwarc
  68. #SVIP
  69. diamonds: 6.0
  70. coals: 8.00
  71. emeralds: 5.0
  72. golds: 5.5
  73. irons: 7.00
  74. obss: 4.00
  75. tnts: 4.00
  76. perlas: 0.5
  77. slimeballs: 5.00
  78. sands: 6.00
  79. books: 3.5
  80. redstones: 4.00
  81. lapiss: 5.00
  82. apples: 5.00
  83. EXPS: 7
  84. #KORDY SVIP
  85. dys:80 #diamenty
  86. gys:80 #gold
  87. iys:80 #iron
  88. eys:80 #emerald
  89. slys:80 #slimeball
  90. says:80 #sand
  91. stys:80 #string
  92. cys:80 #coal
  93. guys:80 #gunpowder
  94. lys:80 #lapis
  95. rys:80 #redstone
  96. pys:80 #perla
  97. ays:80 #apple
  98. kys:80 #kwarc
  99. on mine of stone:
  100. tool is pickaxe:
  101. if {cobble.%player%} is true:
  102. player's gamemode is survival
  103. player has permission "drop.gracz":
  104. give {@EXP} xp to the player
  105. if player's y-coordinate is less than {@dy}:
  106. chance of {@diamond}%:
  107. if player can hold 1 diamond:
  108. give 1 diamond to player
  109. else:
  110. drop 1 diamond
  111. if player's y-coordinate is less than {@gy}:
  112. chance of {@gold}%:
  113. if player can hold 1 gold ingot:
  114. give 1 gold ingot to player
  115. else:
  116. drop 1 gold ingot
  117. if player's y-coordinate is less than {@iy}:
  118. chance of {@iron}%:
  119. if player can hold 1 iron ingot:
  120. give 1 iron ingot to player
  121. else:
  122. drop 1 iron ingot
  123. if player's y-coordinate is less than {@ey}:
  124. chance of {@emerald}%:
  125. if player can hold 1 emerald:
  126. give 1 emerald to player
  127. else:
  128. drop 1 emerald
  129. if player's y-coordinate is less than {@sly}:
  130. chance of {@slimeball}%:
  131. if player can hold 1 slimeball:
  132. give 1 slimeball to player
  133. else:
  134. drop 1 slimeball
  135. if player's y-coordinate is less than {@say}:
  136. chance of {@sand}%:
  137. if player can hold 1 sand:
  138. give 1 sand to player
  139. else:
  140. drop 1 sand
  141. if player's y-coordinate is less than {@sty}:
  142. chance of {@tnt}%:
  143. if player can hold 1 tnt:
  144. give 1 tnt to player
  145. else:
  146. drop 1 tnt
  147. if player's y-coordinate is less than {@cy}:
  148. chance of {@coal}%:
  149. if player can hold 1 coal:
  150. give 1 coal to player
  151. else:
  152. drop 1 coal
  153. if player's y-coordinate is less than {@py}:
  154. chance of {@perla}%:
  155. if player can hold 1 ender pearl:
  156. give 1 ender pearl to player
  157. else:
  158. drop 1 ender pearl
  159. if player's y-coordinate is less than {@ly}:
  160. chance of {@lapis}%:
  161. if player can hold 1 lapis lazuli:
  162. give 1 lapis lazuli to player
  163. else:
  164. drop 1 lapis lazuli
  165. if player's y-coordinate is less than {@ry}:
  166. chance of {@redstone}%:
  167. if player can hold 1 redstone:
  168. give 1 redstone to player
  169. else:
  170. drop 1 redstone
  171. if player's y-coordinate is less than {@ay}:
  172. chance of {@apple}%:
  173. if player can hold 1 apple:
  174. give 1 apple to player
  175. else:
  176. drop 1 apple
  177. if player's y-coordinate is less than {@obsy}:
  178. chance of {@obs}%:
  179. if player can hold 1 obsidian:
  180. give 1 obsidian to player
  181. else:
  182. drop 1 obsidian
  183. if player's y-coordinate is less than {@ky}:
  184. chance of {@book}%:
  185. if player can hold 1 book:
  186. give 1 book to player
  187. else:
  188. drop 1 book
  189. player has permission "drop.vip":
  190. give {@EXPV} xp to the player
  191. if player's y-coordinate is less than {@dyv}:
  192. chance of {@diamondv}%:
  193. if player can hold 1 diamond:
  194. give 1 diamond to player
  195. else:
  196. drop 1 diamond
  197. if player's y-coordinate is less than {@gyv}:
  198. chance of {@goldv}%:
  199. if player can hold 1 gold ingot:
  200. give 1 gold ingot to player
  201. else:
  202. drop 1 gold ingot
  203. if player's y-coordinate is less than {@iyv}:
  204. chance of {@ironv}%:
  205. if player can hold 1 iron ingot:
  206. give 1 iron ingot to player
  207. else:
  208. drop 1 iron ingot
  209. if player's y-coordinate is less than {@eyv}:
  210. chance of {@emeraldv}%:
  211. if player can hold 1 emerald:
  212. give 1 emerald to player
  213. else:
  214. drop 1 emerald
  215. if player's y-coordinate is less than {@slyv}:
  216. chance of {@slimeballv}%:
  217. if player can hold 1 slimeball:
  218. give 1 slimeball to player
  219. else:
  220. drop 1 slimeball
  221. if player's y-coordinate is less than {@sayv}:
  222. chance of {@sandv}%:
  223. if player can hold 1 sand:
  224. give 1 sand to player
  225. else:
  226. drop 1 sand
  227. if player's y-coordinate is less than {@styv}:
  228. chance of {@tntv}%:
  229. if player can hold 1 tnt:
  230. give 1 tnt to player
  231. else:
  232. drop 1 tnt
  233. if player's y-coordinate is less than {@cyv}:
  234. chance of {@coalv}%:
  235. if player can hold 1 coal:
  236. give 1 coal to player
  237. else:
  238. drop 1 coal
  239. if player's y-coordinate is less than {@pyv}:
  240. chance of {@perlav}%:
  241. if player can hold 1 ender pearl:
  242. give 1 ender pearl to player
  243. else:
  244. drop 1 ender pearl
  245. if player's y-coordinate is less than {@lyv}:
  246. chance of {@lapisv}%:
  247. if player can hold 1 lapis lazuli:
  248. give 1 lapis lazuli to player
  249. else:
  250. drop 1 lapis lazuli
  251. if player's y-coordinate is less than {@ryv}:
  252. chance of {@redstonev}%:
  253. if player can hold 1 redstone:
  254. give 1 redstone to player
  255. else:
  256. drop 1 redstone
  257. if player's y-coordinate is less than {@ayv}:
  258. chance of {@applev}%:
  259. if player can hold 1 apple:
  260. give 1 apple to player
  261. else:
  262. drop 1 apple
  263. if player's y-coordinate is less than {@obsy}:
  264. chance of {@obsv}%:
  265. if player can hold 1 obsidian:
  266. give 1 obsidian to player
  267. else:
  268. drop 1 obsidian
  269. if player's y-coordinate is less than {@kyv}:
  270. chance of {@bookv}%:
  271. if player can hold 1 book:
  272. give 1 book to player
  273. else:
  274. drop 1 book
  275. player has permission "drop.svip":
  276. give {@EXPS} xp to the player
  277. if player's y-coordinate is less than {@dys}:
  278. chance of {@diamonds}%:
  279. if player can hold 1 diamond:
  280. give 1 diamond to player
  281. else:
  282. drop 1 diamond
  283. if player's y-coordinate is less than {@gys}:
  284. chance of {@golds}%:
  285. if player can hold 1 gold ingot:
  286. give 1 gold ingot to player
  287. else:
  288. drop 1 gold ingot
  289. if player's y-coordinate is less than {@iys}:
  290. chance of {@irons}%:
  291. if player can hold 1 iron ingot:
  292. give 1 iron ingot to player
  293. else:
  294. drop 1 iron ingot
  295. if player's y-coordinate is less than {@eys}:
  296. chance of {@emeralds}%:
  297. if player can hold 1 emerald:
  298. give 1 emerald to player
  299. else:
  300. drop 1 emerald
  301. if player's y-coordinate is less than {@slys}:
  302. chance of {@slimeballs}%:
  303. if player can hold 1 slimeball:
  304. give 1 slimeball to player
  305. else:
  306. drop 1 slimeball
  307. if player's y-coordinate is less than {@says}:
  308. chance of {@sands}%:
  309. if player can hold 1 sand:
  310. give 1 sand to player
  311. else:
  312. drop 1 sand
  313. if player's y-coordinate is less than {@stys}:
  314. chance of {@tnts}%:
  315. if player can hold 1 tnt:
  316. give 1 tnt to player
  317. else:
  318. drop 1 tnt
  319. if player's y-coordinate is less than {@cys}:
  320. chance of {@coals}%:
  321. if player can hold 1 coal:
  322. give 1 coal to player
  323. else:
  324. drop 1 coal
  325. if player's y-coordinate is less than {@pys}:
  326. chance of {@perlas}%:
  327. if player can hold 1 ender pearl:
  328. give 1 ender pearl to player
  329. else:
  330. drop 1 ender pearl
  331. if player's y-coordinate is less than {@lys}:
  332. chance of {@lapiss}%:
  333. if player can hold 1 lapis lazuli:
  334. give 1 lapis lazuli to player
  335. else:
  336. drop 1 lapis lazuli
  337. if player's y-coordinate is less than {@rys}:
  338. chance of {@redstones}%:
  339. if player can hold 1 redstone:
  340. give 1 redstone to player
  341. else:
  342. drop 1 redstone
  343. if player's y-coordinate is less than {@ays}:
  344. chance of {@apples}%:
  345. if player can hold 1 apple:
  346. give 1 apple to player
  347. else:
  348. drop 1 apple
  349. if player's y-coordinate is less than {@obss}:
  350. chance of {@obss}%:
  351. if player can hold 1 obsidian:
  352. give 1 obsidian to player
  353. else:
  354. drop 1 obsidian
  355. if player's y-coordinate is less than {@kys}:
  356. chance of {@books}%:
  357. if player can hold 1 book:
  358. give 1 book to player
  359. else:
  360. drop 1 book
  361. on mine of any ore:
  362. cancel event
  363. delete event-block
  364. send "&4Blad: &cTen surowiec nie dropi z rud tylko ze stona!"
  365. command /cobble [<text>]:
  366. trigger:
  367. if arg 1 is not set:
  368. send "&7Opcje wylanczania cobbla"
  369. send "&a/cobble on"
  370. send "&a/cobble off"
  371. if arg 1 is "on":
  372. set {cobble.%player%} to true
  373. send "&7Drop z bruku zostal wlaczony"
  374. if arg 1 is "off":
  375. set {cobble.%player%} to false
  376. send "&7Drop z bruku zostal wylaczony"
  377. stop
  378. on mine of stone:
  379. if {cobble.%player%} is false:
  380. cancel event
  381. set block to air
  382. drop nothing
  383. stop
  384. command /drop:
  385. aliases: kamien, stone
  386. trigger:
  387. execute console command "admin:drop %player% 1"
  388. command /admin:drop [<player>] [<integer>]:
  389. executable by: console
  390. trigger:
  391. if arg 2 is 1:
  392. wait 2 tick
  393. open chest with 3 rows named "&6&LEASYPROT.NET &a&l- &c&lDROP" to player-arg
  394. wait 1 tick
  395. format slot 0 of player-arg with 1 of diamond with lore "&7Szansa dla gracza: &e{@diamond}||&7Szansa dla vipa: &e{@diamondv}||&7Szansa dla svipa: &e{@diamonds}" to be unstealable
  396. format slot 1 of player-arg with 1 of emerald with lore "&7Szansa dla gracza: &e{@emerald}||&7Szansa dla vipa: &e{@emeraldv}||&7Szansa dla svipa: &e{@emeralds}" to be unstealable
  397. format slot 2 of player-arg with 1 of gold ingot with lore "&7Szansa dla gracza: &e{@gold}||&7Szansa dla vipa: &e{@goldv}||&7Szansa dla svipa: &e{@golds}" to be unstealable
  398. format slot 3 of player-arg with 1 of iron ingot with lore "&7Szansa dla gracza: &e{@iron}||&7Szansa dla vipa: &e{@ironv}||&7Szansa dla svipa: &e{@irons}" to be unstealable
  399. format slot 4 of player-arg with 1 of obsidian with lore "&7Szansa dla gracza: &e{@obs}||&7Szansa dla vipa: &e{@obsv}||&7Szansa dla svipa: &e{@obss}" to be unstealable
  400. format slot 5 of player-arg with 1 of 263 with lore "&7Szansa dla gracza: &e{@coal}||&7Szansa dla vipa: &e{@coalv}||&7Szansa dla svipa: &e{@coals}" to be unstealable
  401. format slot 6 of player-arg with 1 of ender pearl with lore "&7Szansa dla gracza: &e{@perla}||&7Szansa dla vipa: &e{@perlav}||&7Szansa dla svipa: &e{@perlas}" to be unstealable
  402. format slot 7 of player-arg with 1 of book with lore "&7Szansa dla gracza: &e{@book}||&7Szansa dla vipa: &e{@bookv}||&7Szansa dla svipa: &e{@books}" to be unstealable
  403. format slot 8 of player-arg with 1 of sand with lore "&7Szansa dla gracza: &e{@sand}||&7Szansa dla vipa: &e{@sandv}||&7Szansa dla svipa: &e{@sands}" to be unstealable
  404. format slot 9 of player-arg with 1 of slimeball with lore "&7Szansa dla gracza: &e{@slimeball}||&7Szansa dla vipa: &e{@slimeballv}||&7Szansa dla svipa: &e{@slimeballs}" to be unstealable
  405. format slot 10 of player-arg with 1 of redstone with lore "&7Szansa dla gracza: &e{@redstone}||&7Szansa dla vipa: &e{@redstonev}||&7Szansa dla svipa: &e{@redstones}" to be unstealable
  406. format slot 11 of player-arg with 1 of tnt with lore "&7Szansa dla gracza: &e{@tnt}||&7Szansa dla vipa: &e{@tntv}||&7Szansa dla svipa: &e{@tnts}" to be unstealable
  407. format slot 12 of player-arg with 1 of apple with lore "&7Szansa dla gracza: &e{@apple}||&7Szansa dla vipa: &e{@applev}||&7Szansa dla svipa: &e{@apples}" to be unstealable
  408. format slot 13 of player-arg with 1 of 351:4 with lore "&7Szansa dla gracza: &e{@lapis}||&7Szansa dla vipa: &e{@lapisv}||&7Szansa dla svipa: &e{@lapiss}" to be unstealable
  409. format slot 25 of player-arg with 1 of cobble with lore "&7Komendy:||&c/cobble on &e- &7Wlancza drop cobbla||&c/cobble off &e- &7Wylancza drop cobbla" to be unstealable
  410. format slot 26 of player-arg with 1 of stone with lore "&7Exp dla gracza: &e{@EXP}||&7Exp dla vipa: &e{@EXPV}||&7Exp dla svipa: &e{@EXPS}" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment