Advertisement
Guest User

poprawka

a guest
Nov 20th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.62 KB | None | 0 0
  1. options:
  2.  
  3. # DROP
  4.  
  5. sd: 2.5 # % diamentow
  6. se: 2.5 # % emeraldow
  7. sg: 2.5 # % zlota
  8. si: 2.5 # % zelaza
  9. sc: 2.5 # % wegla
  10. ss: 2.5 # % piasku
  11. sen: 2.5 # % perel endermana
  12. sgun: 2.5 # % prochu
  13.  
  14. # SERWER
  15.  
  16. serv: &8&l[&2&lSERWER&8&l]
  17.  
  18. # EXP
  19.  
  20. sde: 1 # % expa z diamentow
  21. see: 1 # % expa z emeraldow
  22. sge: 1 # % expa ze zlota
  23. sie: 1 # % expa z zelaza
  24. sce: 1 # % expa z wegla
  25. sse: 1 # % expa z piasku
  26. sene: 1 # % expa z perel endermana
  27. sgune: 1 # % expa z prochu
  28.  
  29. # TURBODROP
  30.  
  31. sdd: 5 # % diamentow na TurboDropie
  32. sed: 5 # % emeraldow na TurboDropie
  33. sgd: 5 # % zlota na TurboDropie
  34. sid: 5 # % zelaza na TurboDropie
  35. scd: 5 # % wegla na TurboDropie
  36. ssd: 5 # % piasku na TurboDropie
  37. send: 5 # % perel endermana na TurboDropie
  38. sgund: 5 # % prochu na TurboDropie
  39.  
  40.  
  41. # TURBOEXP
  42.  
  43. sdee: 2 # % expa z diamentow na TurboExpie
  44. seee: 2 # % expa z emeraldow na TurboExpie
  45. sgee: 2 # % expa ze zlota na TurboExpie
  46. siee: 2 # % expa z zelaza na TurboExpie
  47. scee: 2 # % expa z wegla na TurboExpie
  48. ssee: 2 # % expa z piasku na TurboExpie
  49. senee: 2 # % expa z perel endermana na TurboExpie
  50. sgunee: 2 # % expa z prochu na TurboExpie
  51.  
  52.  
  53.  
  54.  
  55.  
  56. variables:
  57.  
  58. # TURBODROP
  59.  
  60. {td} = off # NIE ZMIENIAJCIE!
  61. {turbod.%player%} = false # NIE ZMIENIAJCIE!
  62.  
  63. # TURBOEXP
  64.  
  65. {te} = off # NIE ZMIENIAJCIE!
  66. {turboexp.%player%} = false # NIE ZMIENIAJCIE
  67.  
  68. # GLOWNY KOD
  69.  
  70. on mine of stone:
  71. if player's gamemode is survival:
  72. if player's tool is pickaxe:
  73. If {td} is off: # Kiedy TurboDrop jest nie aktywny
  74. If {te} is off: # Kiedy TurboExp jest nie aktywny
  75. chance of {@sd}%:
  76. give 1 diamond to the player
  77. drop {@sde} xp
  78. chance of {@se}%:
  79. give 2 emeralds to the player
  80. drop {@see} xp
  81. chance of {@sg}%:
  82. give 1 gold ingot to the player
  83. drop {@sge} xp
  84. chance of {@si}%:
  85. give 1 iron ingot to the player
  86. drop {@sie} xp
  87. chance of {@sc}%:
  88. give 1 coal to the player
  89. drop {@sce} xp
  90. chance of {@ss}%:
  91. give 1 sand to the player
  92. drop {@sse} xp
  93. chance of {@sen}%:
  94. give 1 ender pearl to the player
  95. drop {@sene} xp
  96. chance of {@sgun}%:
  97. give 1 gunpowder to the player
  98. drop {@sgune} xp
  99. If {te} is on: # Kiedy TurboExp jest aktywny
  100. chance of {@sd}%:
  101. give 1 diamond to the player
  102. drop {@sdee} xp
  103. chance of {@se}%:
  104. give 2 emeralds to the player
  105. drop {@seee} xp
  106. chance of {@sg}%:
  107. give 1 gold ingot to the player
  108. drop {@sgee} xp
  109. chance of {@si}%:
  110. give 1 iron ingot to the player
  111. drop {@siee} xp
  112. chance of {@sc}%:
  113. give 1 coal to the player
  114. drop {@scee} xp
  115. chance of {@ss}%:
  116. give 1 sand to the player
  117. drop {@ssee} xp
  118. chance of {@sen}%:
  119. give 1 ender pearl to the player
  120. drop {@senee} xp
  121. chance of {@sgun}%:
  122. give 1 gunpowder to the player
  123. drop {@sgunee} xp
  124. If {td} is on:
  125. If {te} is off:
  126. chance of {@sdd}%:
  127. give 1 diamond to the player
  128. drop {@sde} xp
  129. chance of {@sed}%:
  130. give 2 emeralds to the player
  131. drop {@see} xp
  132. chance of {@sgd}%:
  133. give 1 gold ingot to the player
  134. drop {@sgee} xp
  135. chance of {@sid}%:
  136. give 1 iron ingot to the player
  137. drop {@sie} xp
  138. chance of {@scd}%:
  139. give 1 coal to the player
  140. drop {@sce} xp
  141. chance of {@ssd}%:
  142. give 1 sand to the player
  143. drop {@sse} xp
  144. chance of {@send}%:
  145. give 1 ender pearl to the player
  146. drop {@sene} xp
  147. chance of {@sgund}%:
  148. give 1 gunpowder to the player
  149. drop {@sgune} xp
  150. If {te} is on:
  151. chance of {@sdd}%:
  152. give 1 diamond to the player
  153. drop {@sdee} xp
  154. chance of {@sed}%:
  155. give 2 emeralds to the player
  156. drop {@seee} xp
  157. chance of {@siee}%:
  158. give 1 gold ingot to the player
  159. drop {@sgee} xp
  160. chance of {@sid}%:
  161. give 1 iron ingot to the player
  162. drop {@siee} xp
  163. chance of {@scd}%:
  164. give 1 coal to the player
  165. drop {@scee} xp
  166. chance of {@ssd}%:
  167. give 1 sand to the player
  168. drop {@ssee} xp
  169. chance of {@send}%:
  170. give 1 ender pearl to the player
  171. drop {@senee} xp
  172. chance of {@sgund}%:
  173. give 1 gunpowder to the player
  174. drop {@sgunee} xp
  175. If {turbod.%player%} is true:
  176. If {turboe.%player%} is false:
  177. chance of {@sdd}%:
  178. give 1 diamond to the player
  179. drop {@sde} xp
  180. chance of {@sed}%:
  181. give 2 emeralds to the player
  182. drop {@see} xp
  183. chance of {@sgd}%:
  184. give 1 gold ingot to the player
  185. drop {@sgee} xp
  186. chance of {@sid}%:
  187. give 1 iron ingot to the player
  188. drop {@sie} xp
  189. chance of {@scd}%:
  190. give 1 coal to the player
  191. drop {@sce} xp
  192. chance of {@ssd}%:
  193. give 1 sand to the player
  194. drop {@sse} xp
  195. chance of {@send}%:
  196. give 1 ender pearl to the player
  197. drop {@sene} xp
  198. chance of {@sgund}%:
  199. give 1 gunpowder to the player
  200. drop {@sgune} xp
  201. If {turboe.%player%} is true:
  202. chance of {@sdd}%:
  203. give 1 diamond to the player
  204. drop {@sdee} xp
  205. chance of {@sed}%:
  206. give 2 emeralds to the player
  207. drop {@seee} xp
  208. chance of {@siee}%:
  209. give 1 gold ingot to the player
  210. drop {@sgee} xp
  211. chance of {@sid}%:
  212. give 1 iron ingot to the player
  213. drop {@siee} xp
  214. chance of {@scd}%:
  215. give 1 coal to the player
  216. drop {@scee} xp
  217. chance of {@ssd}%:
  218. give 1 sand to the player
  219. drop {@ssee} xp
  220. chance of {@send}%:
  221. give 1 ender pearl to the player
  222. drop {@senee} xp
  223. chance of {@sgund}%:
  224. give 1 gunpowder to the player
  225. drop {@sgunee} xp
  226. If {turboe.%player%} is true:
  227. If {turbod.%player%} is false:
  228. chance of {@sd}%:
  229. give 1 diamond to the player
  230. drop {@sdee} xp
  231. chance of {@se}%:
  232. give 2 emeralds to the player
  233. drop {@seee} xp
  234. chance of {@siee}%:
  235. give 1 gold ingot to the player
  236. drop {@sgee} xp
  237. chance of {@sid}%:
  238. give 1 iron ingot to the player
  239. drop {@siee} xp
  240. chance of {@scd}%:
  241. give 1 coal to the player
  242. drop {@scee} xp
  243. chance of {@ss}%:
  244. give 1 sand to the player
  245. drop {@ssee} xp
  246. chance of {@sen}%:
  247. give 1 ender pearl to the player
  248. drop {@senee} xp
  249. chance of {@sgun}%:
  250. give 1 gunpowder to the player
  251. drop {@sgunee} xp
  252. If {turbod.%player%} is true:
  253. If {turbod.%player%} is true:
  254. chance of {@sdd}%:
  255. give 1 diamond to the player
  256. drop {@sdee} xp
  257. chance of {@sed}%:
  258. give 2 emeralds to the player
  259. drop {@seee} xp
  260. chance of {@siee}%:
  261. give 1 gold ingot to the player
  262. drop {@sgee} xp
  263. chance of {@sid}%:
  264. give 1 iron ingot to the player
  265. drop {@siee} xp
  266. chance of {@scd}%:
  267. give 1 coal to the player
  268. drop {@scee} xp
  269. chance of {@ssd}%:
  270. give 1 sand to the player
  271. drop {@ssee} xp
  272. chance of {@send}%:
  273. give 1 ender pearl to the player
  274. drop {@senee} xp
  275. chance of {@sgund}%:
  276. give 1 gunpowder to the player
  277. drop {@sgunee} xp
  278.  
  279. if player's gamemode is creative:
  280. if player's tool is pickaxe:
  281. send "&2DROP ZE STONE NA CREATIVE - &eOFF"
  282.  
  283.  
  284. # KOMENDY
  285.  
  286. command /drop [<text>]:
  287. trigger:
  288. arg 1 is not set:
  289. open chest with 3 rows named "&1Drop" to player
  290. wait 1 ticks
  291. format slot 0 player with 1 of 160:14 named "&aDrop" to close
  292. format slot 1 player with 1 of 160:14 named "&aDrop" to close
  293. format slot 2 player with 1 of 160:14 named "&aDrop" to close
  294. format slot 3 player with 1 of 160:14 named "&aDrop" to close
  295. format slot 4 player with 1 of 160:14 named "&aDrop" to close
  296. format slot 5 player with 1 of 160:14 named "&aDrop" to close
  297. format slot 6 player with 1 of 160:14 named "&aDrop" to close
  298. format slot 7 player with 1 of 160:14 named "&aDrop" to close
  299. format slot 8 player with 1 of 160:14 named "&aDrop" to close
  300. format slot 9 player with 1 of 264 named "&aDiament" with lore "&8>> &6Szansa &8>> &6{@sd}" to close
  301. format slot 10 player with 1 of Emerald named "&aEmerald" with lore "&8>> &6Szansa &8>> &6{@se}" to close
  302. format slot 11 player with 1 of 266 named "&aZloto" with lore "&8>> &6Szansa &8>> &6{@sg}" to close
  303. format slot 12 player with 1 of 265 ingot named "&aZelazo" with lore "&8>> &6Szansa &8>> &6{@si}" to close
  304. format slot 13 player with 1 of 263 named "&aWegiel" with lore "&8>> &6Szansa &8>> &6{@sc}" to close
  305. format slot 14 player with 1 of 12 named "&aPiasek" with lore "&8>> &6Szansa &8>> &6{@ss}" to close
  306. format slot 15 player with 1 of 368 named "&aDrop" with lore "&8>> &6Szansa &8>> &6sen" to close
  307. format slot 16 player with 1 of 289 named "&aProch" with lore "&8>> &6Szansa &8>> &6{@sgun}" to close
  308. format slot 17 player with 1 of paper named "&aWiecej Aktalizacji wkrotce" to close
  309. format slot 18 player with 1 of 160:14 named "&aDrop" to close
  310. format slot 19 player with 1 of 160:14 named "&aDrop" to close
  311. format slot 20 player with 1 of 160:14 named "&aDrop" to close
  312. format slot 21 player with 1 of 160:14 named "&aDrop" to close
  313. format slot 22 player with 1 of 160:14 named "&aDrop" to close
  314. format slot 23 player with 1 of 160:14 named "&aDrop" to close
  315. format slot 24 player with 1 of 160:14 named "&aDrop" to close
  316. format slot 25 player with 1 of 160:14 named "&aDrop" to close
  317. format slot 26 player with 1 of 160:14 named "&aDrop" to close
  318.  
  319. command /exp [<text>]:
  320. trigger:
  321. arg 1 is not set:
  322. open chest with 3 rows named "&1EXP" to player
  323. wait 1 ticks
  324. format slot 0 player with 1 of 160:14 named "&aDrop" to close
  325. format slot 1 player with 1 of 160:14 named "&aDrop" to close
  326. format slot 2 player with 1 of 160:14 named "&aDrop" to close
  327. format slot 3 player with 1 of 160:14 named "&aDrop" to close
  328. format slot 4 player with 1 of 160:14 named "&aDrop" to close
  329. format slot 5 player with 1 of 160:14 named "&aDrop" to close
  330. format slot 6 player with 1 of 160:14 named "&aDrop" to close
  331. format slot 7 player with 1 of 160:14 named "&aDrop" to close
  332. format slot 8 player with 1 of 160:14 named "&aDrop" to close
  333. format slot 9 player with 1 of 264 named "&aDiament" with lore "&8>> &6EXP &8>> &6{@sde}" to close
  334. format slot 11 player with 1 of Emerald named "&aEmerald" with lore "&8>> &6EXP &8>> &6{@see}" to close
  335. format slot 11 player with 1 of 266 named "&aZloto" with lore "&8>> &6EXP &8>> &6{@sge}" to close
  336. format slot 12 player with 1 of 265 ingot named "&aZelazo" with lore "&8>> &6EXP &8>> &6{@sie}" to close
  337. format slot 13 player with 1 of 263 named "&aWegiel" with lore "&8>> &6EXP &8>> &6{@sce}" to close
  338. format slot 14 player with 1 of 12 named "&aPiasek" with lore "&8>> &6EXP &8>> &6{@sse}" to close
  339. format slot 15 player with 1 of 368 named "&aDrop" with lore "&8>> &6EXP &8>> &6{@sene}" to close
  340. format slot 16 player with 1 of 289 named "&aProch" with lore "&8>> &6EXP &8>> &6{@sgune}" to close
  341. format slot 17 player with 1 of paper named "&aWiecej Aktalizacji wkrotce" to close
  342. format slot 18 player with 1 of 160:14 named "&aDrop" to close
  343. format slot 19 player with 1 of 160:14 named "&aDrop" to close
  344. format slot 20 player with 1 of 160:14 named "&aDrop" to close
  345. format slot 21 player with 1 of 160:14 named "&aDrop" to close
  346. format slot 22 player with 1 of 160:14 named "&aDrop" to close
  347. format slot 23 player with 1 of 160:14 named "&aDrop" to close
  348. format slot 24 player with 1 of 160:14 named "&aDrop" to close
  349. format slot 25 player with 1 of 160:14 named "&aDrop" to close
  350. format slot 26 player with 1 of 160:14 named "&aDrop" to close
  351.  
  352.  
  353. command /turbo [<text>] [<text>] [<player>]:
  354. permission: admin.turbodrop
  355. permission message: &2Brak uprawnien &eadmin.turbodrop!
  356. trigger:
  357. if arg 1 is "drop":
  358. If arg 2 is "on":
  359. If arg 3 is not set:
  360. If {td} is off:
  361. set {td} to on
  362. send "&9&lWlaczyles TurboDrop dla wszystkich na 30 minut!"
  363. broadcast "{@serv} &c&lZostal aktywowany TurboDrop na 30 minut dla wszystkich graczy!"
  364. wait 1800 second
  365. set {td} to off
  366. send "&9&lTurboDrop sie skonczyl!"
  367. broadcast "{@serv} &c&lTurboDrop minal!"
  368. If arg 2 is "off":
  369. If arg 3 is not set:
  370. If {td} is on:
  371. set {td} to off
  372. send "&9&lZakonczyles TurboDrop!"
  373. broadcast "{@serv} &c&lAdministrator wylaczyl TurboDrop!"
  374. If arg 1 is "exp":
  375. If arg 2 is "on":
  376. If arg 3 is not set:
  377. If {te} is off:
  378. set {te} to on
  379. send "&9&lWlaczyles TurboExp dla wszystkich na 30 minut!"
  380. broadcast "&8&l{@serv} &c&lZostal aktywowany TurboExp na 30 minut dla wszystkich graczy!"
  381. wait 1800 second
  382. set {te} to off
  383. send "&9&lTurboExp sie skonczyl!"
  384. broadcast "&8&l{@serv} &c&lTurboExp minal!"
  385. If arg 2 is "off":
  386. If arg 3 is not set:
  387. If {te} is off:
  388. set {te} to off
  389. send "&9&lZakonczyles TurboExp!"
  390. broadcast "{@serv} &c&lAdministrator wylaczyl TurboExp!"
  391. If arg 1 is "drop":
  392. If arg 2 is "on":
  393. If arg 3 is set:
  394. If {turbod.%player%} is false:
  395. broadcast "{@serv} &2Administrator wlaczyl TurboDrop graczowi &e%arg 3% na 30 minut!"
  396. set {turbod.%player%} to true
  397. wait 1800 second
  398. broadcast "{@serv} &2Graczowi &e%arg 3% skonczyl sie TurboDrop!"
  399. set {turbod.%player%} to false
  400. If arg 2 is "off":
  401. If arg 3 is set:
  402. If {turbod.%player%} is true:
  403. broadcast "{@serv} &2Administrator wylaczyl TurboDrop graczowi &e%arg 3%"
  404. set {turbod.%player%} to false
  405.  
  406. If arg 1 is not set:
  407. send "&9<-----------------> POMOC <----------------->"
  408. send "&2 /Turbo Drop On [NICK] - &eWlacza TurboDrop dla gracza na 30 minut"
  409. send "&2 /Turbo Drop Off [NICK] - &eWylacza TurboDrop graczowi"
  410. send "&2 /Turbo Drop On - &eWlacza TurboDrop na 30 minut"
  411. send "&2 /Turbo Drop Off - &eWylacza TurboDrop"
  412. send "&2 /Turbo Exp On [NICK] - &eWlacza TurboExp dla gracza na 30 minut"
  413. send "&2 /Turbo Exp Off [NICK] - &eWylacza TurboExp graczowi"
  414. send "&2 /Turbo Exp On - &eWlacza TurboExp na 30 minut"
  415. send "&2 /Turbo Exp Off - &eWylacza TurboExp"
  416. send "&9<-----------------> POMOC <----------------->"
  417. If arg 1 is not "drop" or "exp":
  418. send "&9<-----------------> POMOC <----------------->"
  419. send "&2 /Turbo Drop On [NICK] - &eWlacza TurboDrop dla gracza na 30 minut"
  420. send "&2 /Turbo Drop Off [NICK] - &eWylacza TurboDrop graczowi"
  421. send "&2 /Turbo Drop On - &eWlacza TurboDrop na 30 minut"
  422. send "&2 /Turbo Drop Off - &eWylacza TurboDrop"
  423. send "&2 /Turbo Exp On [NICK] - &eWlacza TurboExp dla gracza na 30 minut"
  424. send "&2 /Turbo Exp Off [NICK] - &eWylacza TurboExp graczowi"
  425. send "&2 /Turbo Exp On - &eWlacza TurboExp na 30 minut"
  426. send "&2 /Turbo Exp Off - &eWylacza TurboExp"
  427. send "&9<-----------------> POMOC <----------------->"
  428. If arg 2 is not "on" or "off":
  429. send "&9<-----------------> POMOC <----------------->"
  430. send "&2 /Turbo Drop On [NICK] - &eWlacza TurboDrop dla gracza na 30 minut"
  431. send "&2 /Turbo Drop Off [NICK] - &eWylacza TurboDrop graczowi"
  432. send "&2 /Turbo Drop On - &eWlacza TurboDrop na 30 minut"
  433. send "&2 /Turbo Drop Off - &eWylacza TurboDrop"
  434. send "&2 /Turbo Exp On [NICK] - &eWlacza TurboExp dla gracza na 30 minut"
  435. send "&2 /Turbo Exp Off [NICK] - &eWylacza TurboExp graczowi"
  436. send "&2 /Turbo Exp On - &eWlacza TurboExp na 30 minut"
  437. send "&2 /Turbo Exp Off - &eWylacza TurboExp"
  438. send "&9<-----------------> POMOC <----------------->"
  439. If arg 2 is not set:
  440. send "&9<-----------------> POMOC <----------------->"
  441. send "&2 /Turbo Drop On [NICK] - &eWlacza TurboDrop dla gracza na 30 minut"
  442. send "&2 /Turbo Drop Off [NICK] - &eWylacza TurboDrop graczowi"
  443. send "&2 /Turbo Drop On - &eWlacza TurboDrop na 30 minut"
  444. send "&2 /Turbo Drop Off - &eWylacza TurboDrop"
  445. send "&2 /Turbo Exp On [NICK] - &eWlacza TurboExp dla gracza na 30 minut"
  446. send "&2 /Turbo Exp Off [NICK] - &eWylacza TurboExp graczowi"
  447. send "&2 /Turbo Exp On - &eWlacza TurboExp na 30 minut"
  448. send "&2 /Turbo Exp Off - &eWylacza TurboExp"
  449. send "&9<-----------------> POMOC <----------------->"
  450.  
  451. command /broadcast [<text>]:
  452. permission: admin.broadcast
  453. permission message: &2Brak uprawnien &eadmin.broadcast!
  454. trigger:
  455. If arg 1 is set:
  456. send "{@serv} &2%arg 1%" to all players
  457. If arg 1 is not set:
  458. send "&2&lPoprawne uzycie komendy to: &e/broadcast [wiadomosc]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement