Guest User

Untitled

a guest
Jan 16th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.77 KB | None | 0 0
  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. player's gamemode is survival
  102. player has permission "drop.gracz":
  103. give {@EXP} xp to the player
  104. if player's y-coordinate is less than {@dy}:
  105. chance of {@diamond}%:
  106. if player can hold 1 diamond:
  107. give 1 diamond to player
  108. else:
  109. drop 1 diamond
  110. if player's y-coordinate is less than {@gy}:
  111. chance of {@gold}%:
  112. if player can hold 1 gold ingot:
  113. give 1 gold ingot to player
  114. else:
  115. drop 1 gold ingot
  116. if player's y-coordinate is less than {@iy}:
  117. chance of {@iron}%:
  118. if player can hold 1 iron ingot:
  119. give 1 iron ingot to player
  120. else:
  121. drop 1 iron ingot
  122. if player's y-coordinate is less than {@ey}:
  123. chance of {@emerald}%:
  124. if player can hold 1 emerald:
  125. give 1 emerald to player
  126. else:
  127. drop 1 emerald
  128. if player's y-coordinate is less than {@sly}:
  129. chance of {@slimeball}%:
  130. if player can hold 1 slimeball:
  131. give 1 slimeball to player
  132. else:
  133. drop 1 slimeball
  134. if player's y-coordinate is less than {@say}:
  135. chance of {@sand}%:
  136. if player can hold 1 sand:
  137. give 1 sand to player
  138. else:
  139. drop 1 sand
  140. if player's y-coordinate is less than {@sty}:
  141. chance of {@tnt}%:
  142. if player can hold 1 tnt:
  143. give 1 tnt to player
  144. else:
  145. drop 1 tnt
  146. if player's y-coordinate is less than {@cy}:
  147. chance of {@coal}%:
  148. if player can hold 1 coal:
  149. give 1 coal to player
  150. else:
  151. drop 1 coal
  152. if player's y-coordinate is less than {@py}:
  153. chance of {@perla}%:
  154. if player can hold 1 ender pearl:
  155. give 1 ender pearl to player
  156. else:
  157. drop 1 ender pearl
  158. if player's y-coordinate is less than {@ly}:
  159. chance of {@lapis}%:
  160. if player can hold 1 lapis lazuli:
  161. give 1 lapis lazuli to player
  162. else:
  163. drop 1 lapis lazuli
  164. if player's y-coordinate is less than {@ry}:
  165. chance of {@redstone}%:
  166. if player can hold 1 redstone:
  167. give 1 redstone to player
  168. else:
  169. drop 1 redstone
  170. if player's y-coordinate is less than {@ay}:
  171. chance of {@apple}%:
  172. if player can hold 1 apple:
  173. give 1 apple to player
  174. else:
  175. drop 1 apple
  176. if player's y-coordinate is less than {@obsy}:
  177. chance of {@obs}%:
  178. if player can hold 1 obsidian:
  179. give 1 obsidian to player
  180. else:
  181. drop 1 obsidian
  182. if player's y-coordinate is less than {@ky}:
  183. chance of {@book}%:
  184. if player can hold 1 book:
  185. give 1 book to player
  186. else:
  187. drop 1 book
  188. player has permission "drop.vip":
  189. give {@EXPV} xp to the player
  190. if player's y-coordinate is less than {@dyv}:
  191. chance of {@diamondv}%:
  192. if player can hold 1 diamond:
  193. give 1 diamond to player
  194. else:
  195. drop 1 diamond
  196. if player's y-coordinate is less than {@gyv}:
  197. chance of {@goldv}%:
  198. if player can hold 1 gold ingot:
  199. give 1 gold ingot to player
  200. else:
  201. drop 1 gold ingot
  202. if player's y-coordinate is less than {@iyv}:
  203. chance of {@ironv}%:
  204. if player can hold 1 iron ingot:
  205. give 1 iron ingot to player
  206. else:
  207. drop 1 iron ingot
  208. if player's y-coordinate is less than {@eyv}:
  209. chance of {@emeraldv}%:
  210. if player can hold 1 emerald:
  211. give 1 emerald to player
  212. else:
  213. drop 1 emerald
  214. if player's y-coordinate is less than {@slyv}:
  215. chance of {@slimeballv}%:
  216. if player can hold 1 slimeball:
  217. give 1 slimeball to player
  218. else:
  219. drop 1 slimeball
  220. if player's y-coordinate is less than {@sayv}:
  221. chance of {@sandv}%:
  222. if player can hold 1 sand:
  223. give 1 sand to player
  224. else:
  225. drop 1 sand
  226. if player's y-coordinate is less than {@styv}:
  227. chance of {@tntv}%:
  228. if player can hold 1 tnt:
  229. give 1 tnt to player
  230. else:
  231. drop 1 tnt
  232. if player's y-coordinate is less than {@cyv}:
  233. chance of {@coalv}%:
  234. if player can hold 1 coal:
  235. give 1 coal to player
  236. else:
  237. drop 1 coal
  238. if player's y-coordinate is less than {@pyv}:
  239. chance of {@perlav}%:
  240. if player can hold 1 ender pearl:
  241. give 1 ender pearl to player
  242. else:
  243. drop 1 ender pearl
  244. if player's y-coordinate is less than {@lyv}:
  245. chance of {@lapisv}%:
  246. if player can hold 1 lapis lazuli:
  247. give 1 lapis lazuli to player
  248. else:
  249. drop 1 lapis lazuli
  250. if player's y-coordinate is less than {@ryv}:
  251. chance of {@redstonev}%:
  252. if player can hold 1 redstone:
  253. give 1 redstone to player
  254. else:
  255. drop 1 redstone
  256. if player's y-coordinate is less than {@ayv}:
  257. chance of {@applev}%:
  258. if player can hold 1 apple:
  259. give 1 apple to player
  260. else:
  261. drop 1 apple
  262. if player's y-coordinate is less than {@obsy}:
  263. chance of {@obsv}%:
  264. if player can hold 1 obsidian:
  265. give 1 obsidian to player
  266. else:
  267. drop 1 obsidian
  268. if player's y-coordinate is less than {@kyv}:
  269. chance of {@bookv}%:
  270. if player can hold 1 book:
  271. give 1 book to player
  272. else:
  273. drop 1 book
  274. player has permission "drop.svip":
  275. give {@EXPS} xp to the player
  276. if player's y-coordinate is less than {@dys}:
  277. chance of {@diamonds}%:
  278. if player can hold 1 diamond:
  279. give 1 diamond to player
  280. else:
  281. drop 1 diamond
  282. if player's y-coordinate is less than {@gys}:
  283. chance of {@golds}%:
  284. if player can hold 1 gold ingot:
  285. give 1 gold ingot to player
  286. else:
  287. drop 1 gold ingot
  288. if player's y-coordinate is less than {@iys}:
  289. chance of {@irons}%:
  290. if player can hold 1 iron ingot:
  291. give 1 iron ingot to player
  292. else:
  293. drop 1 iron ingot
  294. if player's y-coordinate is less than {@eys}:
  295. chance of {@emeralds}%:
  296. if player can hold 1 emerald:
  297. give 1 emerald to player
  298. else:
  299. drop 1 emerald
  300. if player's y-coordinate is less than {@slys}:
  301. chance of {@slimeballs}%:
  302. if player can hold 1 slimeball:
  303. give 1 slimeball to player
  304. else:
  305. drop 1 slimeball
  306. if player's y-coordinate is less than {@says}:
  307. chance of {@sands}%:
  308. if player can hold 1 sand:
  309. give 1 sand to player
  310. else:
  311. drop 1 sand
  312. if player's y-coordinate is less than {@stys}:
  313. chance of {@tnts}%:
  314. if player can hold 1 tnt:
  315. give 1 tnt to player
  316. else:
  317. drop 1 tnt
  318. if player's y-coordinate is less than {@cys}:
  319. chance of {@coals}%:
  320. if player can hold 1 coal:
  321. give 1 coal to player
  322. else:
  323. drop 1 coal
  324. if player's y-coordinate is less than {@pys}:
  325. chance of {@perlas}%:
  326. if player can hold 1 ender pearl:
  327. give 1 ender pearl to player
  328. else:
  329. drop 1 ender pearl
  330. if player's y-coordinate is less than {@lys}:
  331. chance of {@lapiss}%:
  332. if player can hold 1 lapis lazuli:
  333. give 1 lapis lazuli to player
  334. else:
  335. drop 1 lapis lazuli
  336. if player's y-coordinate is less than {@rys}:
  337. chance of {@redstones}%:
  338. if player can hold 1 redstone:
  339. give 1 redstone to player
  340. else:
  341. drop 1 redstone
  342. if player's y-coordinate is less than {@ays}:
  343. chance of {@apples}%:
  344. if player can hold 1 apple:
  345. give 1 apple to player
  346. else:
  347. drop 1 apple
  348. if player's y-coordinate is less than {@obss}:
  349. chance of {@obss}%:
  350. if player can hold 1 obsidian:
  351. give 1 obsidian to player
  352. else:
  353. drop 1 obsidian
  354. if player's y-coordinate is less than {@kys}:
  355. chance of {@books}%:
  356. if player can hold 1 book:
  357. give 1 book to player
  358. else:
  359. drop 1 book
  360. on mine of any ore:
  361. cancel event
  362. delete event-block
  363. send "&4Blad: &cTen surowiec nie dropi z rud tylko ze stona!"
  364. command /cobble [<text>]:
  365. trigger:
  366. if arg 1 is not set:
  367. send "&7Opcje wylanczania cobbla"
  368. send "&a/cobble on"
  369. send "&a/cobble off"
  370. if arg 1 is "on":
  371. set {cobble.%player%} to true
  372. send "&7Drop z bruku zostal wlaczony"
  373. if arg 1 is "off":
  374. set {cobble.%player%} to false
  375. send "&7Drop z bruku zostal wylaczony"
  376. stop
  377. on mine of stone:
  378. if {cobble.%player%} is false:
  379. cancel event
  380. set block to air
  381. drop nothing
  382. stop
  383. command /drop:
  384. aliases: kamien, stone
  385. trigger:
  386. execute console command "admin:drop %player% 1"
  387. command /admin:drop [<player>] [<integer>]:
  388. executable by: console
  389. trigger:
  390. if arg 2 is 1:
  391. wait 2 tick
  392. open chest with 3 rows named "&6&LEASYPROT.NET &a&l- &c&lDROP" to player-arg
  393. wait 1 tick
  394. 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
  395. 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
  396. 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
  397. 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
  398. 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
  399. 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
  400. 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
  401. 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
  402. 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
  403. 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
  404. 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
  405. 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
  406. 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
  407. 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
  408. 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
  409. 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