TheBlooes

MyStone

Mar 29th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.07 KB | None | 0 0
  1. variables:
  2. {maxpkt.%player%} = true
  3. {mys.wlacz} = false
  4. {myexp.wlacz} = true
  5. {cb.%player%} = true
  6. options:
  7. #===============================#
  8. tag: &e»
  9. #===============================#
  10. szansa_perla: 0.5
  11. szansa_diax: 0.7
  12. szansa_emerald: 1.2
  13. szansa_zloto: 1.5
  14. szansa_zelazo: 2
  15. szansa_wegiel: 3
  16. szansa_obsydian: 0.5
  17. szansa_redstone: 4
  18. szansa_exp: 75
  19. #===============================#
  20. vip_szansa_perla: 0.8
  21. vip_szansa_diax: 1
  22. vip_szansa_emerald: 1.5
  23. vip_szansa_zloto: 1.8
  24. vip_szansa_zelazo: 2.3
  25. vip_szansa_wegiel: 3.3
  26. vip_szansa_obsydian: 0.8
  27. vip_szansa_redstone: 4.3
  28. vip_szansa_exp: 85
  29. #===============================#
  30. #===============================#
  31.  
  32. #-\/-\/-\/-Zakaz Zmieniania !-\/-\/-\/-#
  33. nazwa: &eMyPoints # Nazwa skryptu
  34. autor: &eTheBlooes # Autor skryptu
  35. wersja: &ev1.1 # Wersja skryptu
  36. #-/\-/\-/\-Zakaz Zmieniania !-/\-/\-/\-#
  37.  
  38. #============= Permissie =============#
  39. # mys.vip - drop vipa #
  40. # mys.wlacz - wlaczanie skryptu #
  41. # mys.wylacz - wylaczanie skryptu #
  42. # myexp.wlacz - wlaczanie dropu expa #
  43. # myexp.wylacz - wylaczanie dropu expa#
  44. #============= Permissie =============#
  45.  
  46. #-----------#
  47. #Kod skryptu#
  48. #-----------#
  49. on mine of stone:
  50. if has permissions "mys.drop":
  51. if {myexp.wlacz} is true:
  52. if player's gamemode is survival:
  53. chance of {@vip_szansa_exp}%:
  54. if player's tool is pickaxe of fortune 0:
  55. give 2 xp to the player
  56. else:
  57. if player's tool is pickaxe of fortune 1:
  58. chance of 50%:
  59. give 2 xp to the player
  60. else:
  61. give 4 xp to the player
  62. else:
  63. if player's tool is pickaxe of fortune 2:
  64. chance of 33%:
  65. give 2 xp to the player
  66. else:
  67. chance of 33%:
  68. give 4 xp to the player
  69. else:
  70. give 6 xp to the player
  71. else:
  72. if player's tool is pickaxe of fortune 3:
  73. chance of 25%:
  74. give 2 xp to the player
  75. else:
  76. chance of 25%:
  77. give 4 xp to the player
  78. else:
  79. chance of 25%:
  80. give 6 xp to the player
  81. else:
  82. chance of 25%:
  83. give 8 xp to the player
  84. on mine of stone:
  85. if has permissions "mys.drop":
  86. if {mys.wlacz} is true:
  87. if player's gamemode is survival:
  88. chance of {@vip_szansa_perla}%:
  89. if player's tool is pickaxe of fortune 0:
  90. give ender pearl to the player
  91. send "{@tag} &6Odnalazles &bEnder Perle &6!
  92. else:
  93. if player's tool is pickaxe of fortune 1:
  94. chance of 50%:
  95. give ender pearl to the player
  96. send "{@tag} &6Odnalazles &bEnder Perle &6!
  97. else:
  98. give 2 ender pearl to the player
  99. send "{@tag} &6Odnalazles &bEnder Perle &6!
  100. else:
  101. if player's tool is pickaxe of fortune 2:
  102. chance of 33%:
  103. give ender pearl to the player
  104. send "{@tag} &6Odnalazles &bEnder Perle &6!
  105. else:
  106. chance of 33%:
  107. give 2 ender pearl to the player
  108. send "{@tag} &6Odnalazles &bEnder Perle &6!
  109. else:
  110. give 3 ender pearl to the player
  111. send "{@tag} &6Odnalazles &bEnder Perle &6!
  112. else:
  113. if player's tool is pickaxe of fortune 3:
  114. chance of 25%:
  115. give ender pearl to the player
  116. send "{@tag} &6Odnalazles &bEnder Perle &6!
  117. else:
  118. chance of 25%:
  119. give 2 ender pearl to the player
  120. send "{@tag} &6Odnalazles &bEnder Perle &6!
  121. else:
  122. chance of 25%:
  123. give 3 ender pearl to the player
  124. send "{@tag} &6Odnalazles &bEnder Perle &6!
  125. else:
  126. chance of 25%:
  127. give 4 ender pearl to the player
  128. send "{@tag} &6Odnalazles &bEnder Perle &6!
  129. on mine of stone:
  130. if has permissions "mys.drop":
  131. if {mys.wlacz} is true:
  132. if player's gamemode is survival:
  133. chance of {@vip_szansa_diax}%:
  134. if player's tool is pickaxe of fortune 0:
  135. give diamond to the player
  136. send "{@tag} &6Odnalazles &bDiament &6!
  137. else:
  138. if player's tool is pickaxe of fortune 1:
  139. chance of 50%:
  140. give diamond to the player
  141. send "{@tag} &6Odnalazles &bDiament &6!
  142. else:
  143. give 2 diamond to the player
  144. send "{@tag} &6Odnalazles &bDiament &6!
  145. else:
  146. if player's tool is pickaxe of fortune 2:
  147. chance of 33%:
  148. give diamond to the player
  149. send "{@tag} &6Odnalazles &bDiament &6!
  150. else:
  151. chance of 33%:
  152. give 2 diamond to the player
  153. send "{@tag} &6Odnalazles &bDiament &6!
  154. else:
  155. give 3 diamond to the player
  156. send "{@tag} &6Odnalazles &bDiament &6!
  157. else:
  158. if player's tool is pickaxe of fortune 3:
  159. chance of 25%:
  160. give diamond to the player
  161. send "{@tag} &6Odnalazles &bDiament &6!
  162. else:
  163. chance of 25%:
  164. give 2 diamond to the player
  165. send "{@tag} &6Odnalazles &bDiament &6!
  166. else:
  167. chance of 25%:
  168. give 3 diamond to the player
  169. send "{@tag} &6Odnalazles &bDiament &6!
  170. else:
  171. chance of 25%:
  172. give 4 diamond to the player
  173. send "{@tag} &6Odnalazles &bDiament &6!
  174. on mine of stone:
  175. if has permissions "mys.drop":
  176. if {mys.wlacz} is true:
  177. if player's gamemode is survival:
  178. chance of {@vip_szansa_emerald}%:
  179. if player's tool is pickaxe of fortune 0:
  180. give emerald to the player
  181. send "{@tag} &6Odnalazles &bEmerald &6!
  182. else:
  183. if player's tool is pickaxe of fortune 1:
  184. chance of 50%:
  185. give emerald to the player
  186. send "{@tag} &6Odnalazles &bEmerald &6!
  187. else:
  188. give 2 emerald to the player
  189. send "{@tag} &6Odnalazles &bEmerald &6!
  190. else:
  191. if player's tool is pickaxe of fortune 2:
  192. chance of 33%:
  193. give emerald to the player
  194. send "{@tag} &6Odnalazles &bEmerald &6!
  195. else:
  196. chance of 33%:
  197. give 2 emerald to the player
  198. send "{@tag} &6Odnalazles &bEmerald &6!
  199. else:
  200. give 3 emerald to the player
  201. send "{@tag} &6Odnalazles &bEmerald &6!
  202. else:
  203. if player's tool is pickaxe of fortune 3:
  204. chance of 25%:
  205. give emerald to the player
  206. send "{@tag} &6Odnalazles &bEmerald &6!
  207. else:
  208. chance of 25%:
  209. give 2 emerald to the player
  210. send "{@tag} &6Odnalazles &bEmerald &6!
  211. else:
  212. chance of 25%:
  213. give 3 emerald to the player
  214. send "{@tag} &6Odnalazles &bEmerald &6!
  215. else:
  216. chance of 25%:
  217. give 4 emerald to the player
  218. send "{@tag} &6Odnalazles &bEmerald &6!
  219. on mine of stone:
  220. if has permissions "mys.drop":
  221. if {mys.wlacz} is true:
  222. if player's gamemode is survival:
  223. chance of {@vip_szansa_zloto}%:
  224. if player's tool is pickaxe of fortune 0:
  225. give Gold Ingot to the player
  226. send "{@tag} &6Odnalazles &bZloto &6!
  227. else:
  228. if player's tool is pickaxe of fortune 1:
  229. chance of 50%:
  230. give Gold Ingot to the player
  231. send "{@tag} &6Odnalazles &bZloto &6!
  232. else:
  233. give 2 Gold Ingot to the player
  234. send "{@tag} &6Odnalazles &bZloto &6!
  235. else:
  236. if player's tool is pickaxe of fortune 2:
  237. chance of 33%:
  238. give Gold Ingot to the player
  239. send "{@tag} &6Odnalazles &bZloto &6!
  240. else:
  241. chance of 33%:
  242. give 2 Gold Ingot to the player
  243. send "{@tag} &6Odnalazles &bZloto &6!
  244. else:
  245. give 3 Gold Ingot to the player
  246. send "{@tag} &6Odnalazles &bZloto &6!
  247. else:
  248. if player's tool is pickaxe of fortune 3:
  249. chance of 25%:
  250. give Gold Ingot to the player
  251. send "{@tag} &6Odnalazles &bZloto &6!
  252. else:
  253. chance of 25%:
  254. give 2 Gold Ingot to the player
  255. send "{@tag} &6Odnalazles &bZloto &6!
  256. else:
  257. chance of 25%:
  258. give 3 Gold Ingot to the player
  259. send "{@tag} &6Odnalazles &bZloto &6!
  260. else:
  261. chance of 25%:
  262. give 4 Gold Ingot to the player
  263. send "{@tag} &6Odnalazles &bZloto &6!
  264. on mine of stone:
  265. if has permissions "mys.drop":
  266. if {mys.wlacz} is true:
  267. if player's gamemode is survival:
  268. chance of {@vip_szansa_zelazo}%:
  269. if player's tool is pickaxe of fortune 0:
  270. give Iron Ingot to the player
  271. send "{@tag} &6Odnalazles &bZelazo &6!
  272. else:
  273. if player's tool is pickaxe of fortune 1:
  274. chance of 50%:
  275. give Iron Ingot to the player
  276. send "{@tag} &6Odnalazles &bZelazo &6!
  277. else:
  278. give 2 Iron Ingot to the player
  279. send "{@tag} &6Odnalazles &bZelazo &6!
  280. else:
  281. if player's tool is pickaxe of fortune 2:
  282. chance of 33%:
  283. give Iron Ingot to the player
  284. send "{@tag} &6Odnalazles &bZelazo &6!
  285. else:
  286. chance of 33%:
  287. give 2 Iron Ingot to the player
  288. send "{@tag} &6Odnalazles &bZelazo &6!
  289. else:
  290. give 3 Iron Ingot to the player
  291. send "{@tag} &6Odnalazles &bZelazo &6!
  292. else:
  293. if player's tool is pickaxe of fortune 3:
  294. chance of 25%:
  295. give Iron Ingot to the player
  296. send "{@tag} &6Odnalazles &bZelazo &6!
  297. else:
  298. chance of 25%:
  299. give 2 Iron Ingot to the player
  300. send "{@tag} &6Odnalazles &bZelazo &6!
  301. else:
  302. chance of 25%:
  303. give 3 Iron Ingot to the player
  304. send "{@tag} &6Odnalazles &bZelazo &6!
  305. else:
  306. chance of 25%:
  307. give 4 Iron Ingot to the player
  308. send "{@tag} &6Odnalazles &bZelazo &6!
  309. on mine of stone:
  310. if has permissions "mys.drop":
  311. if {mys.wlacz} is true:
  312. if player's gamemode is survival:
  313. chance of {@vip_szansa_wegiel}%:
  314. if player's tool is pickaxe of fortune 0:
  315. give Coal to the player
  316. send "{@tag} &6Odnalazles &bWegiel &6!
  317. else:
  318. if player's tool is pickaxe of fortune 1:
  319. chance of 50%:
  320. give Coal to the player
  321. send "{@tag} &6Odnalazles &bWegiel &6!
  322. else:
  323. give 2 Coal to the player
  324. send "{@tag} &6Odnalazles &bWegiel &6!
  325. else:
  326. if player's tool is pickaxe of fortune 2:
  327. chance of 33%:
  328. give Coal to the player
  329. send "{@tag} &6Odnalazles &bWegiel &6!
  330. else:
  331. chance of 33%:
  332. give 2 Coal to the player
  333. send "{@tag} &6Odnalazles &bWegiel &6!
  334. else:
  335. give 3 Coal to the player
  336. send "{@tag} &6Odnalazles &bWegiel &6!
  337. else:
  338. if player's tool is pickaxe of fortune 3:
  339. chance of 25%:
  340. give Coal to the player
  341. send "{@tag} &6Odnalazles &bWegiel &6!
  342. else:
  343. chance of 25%:
  344. give 2 Coal to the player
  345. send "{@tag} &6Odnalazles &bWegiel &6!
  346. else:
  347. chance of 25%:
  348. give 3 Coal to the player
  349. send "{@tag} &6Odnalazles &bWegiel &6!
  350. else:
  351. chance of 25%:
  352. give 4 Coal to the player
  353. send "{@tag} &6Odnalazles &bWegiel &6!
  354. on mine of stone:
  355. if has permissions "mys.drop":
  356. if {mys.wlacz} is true:
  357. if player's gamemode is survival:
  358. chance of {@vip_szansa_obsydian}%:
  359. if player's tool is pickaxe of fortune 0:
  360. give Obsidian to the player
  361. send "{@tag} &6Odnalazles &bObsydian &6!
  362. else:
  363. if player's tool is pickaxe of fortune 1:
  364. chance of 50%:
  365. give Obsidian to the player
  366. send "{@tag} &6Odnalazles &bObsydian &6!
  367. else:
  368. give 2 Obsidian to the player
  369. send "{@tag} &6Odnalazles &bObsydian &6!
  370. else:
  371. if player's tool is pickaxe of fortune 2:
  372. chance of 33%:
  373. give Obsidian to the player
  374. send "{@tag} &6Odnalazles &bObsydian &6!
  375. else:
  376. chance of 33%:
  377. give 2 Obsidian to the player
  378. send "{@tag} &6Odnalazles &bObsydian &6!
  379. else:
  380. give 3 Obsidian to the player
  381. send "{@tag} &6Odnalazles &bObsydian &6!
  382. else:
  383. if player's tool is pickaxe of fortune 3:
  384. chance of 25%:
  385. give Obsidian to the player
  386. send "{@tag} &6Odnalazles &bObsydian &6!
  387. else:
  388. chance of 25%:
  389. give 2 Obsidian to the player
  390. send "{@tag} &6Odnalazles &bObsydian &6!
  391. else:
  392. chance of 25%:
  393. give 3 Obsidian to the player
  394. send "{@tag} &6Odnalazles &bObsydian &6!
  395. else:
  396. chance of 25%:
  397. give 4 Obsidian to the player
  398. send "{@tag} &6Odnalazles &bObsydian &6!
  399. on mine of stone:
  400. if has permissions "mys.drop":
  401. if {mys.wlacz} is true:
  402. if player's gamemode is survival:
  403. chance of {@vip_szansa_redstone}%:
  404. if player's tool is pickaxe of fortune 0:
  405. give Redstone to the player
  406. send "{@tag} &6Odnalazles &bRedstone &6!
  407. else:
  408. if player's tool is pickaxe of fortune 1:
  409. chance of 50%:
  410. give Redstone to the player
  411. send "{@tag} &6Odnalazles &bRedstone &6!"
  412. else:
  413. give 2 Redstone to the player
  414. send "{@tag} &6Odnalazles &bRedstone &6!"
  415. else:
  416. if player's tool is pickaxe of fortune 2:
  417. chance of 33%:
  418. give Redstone to the player
  419. send "{@tag} &6Odnalazles &bRedstone &6!"
  420. else:
  421. chance of 33%:
  422. give 2 Redstone to the player
  423. send "{@tag} &6Odnalazles &bRedstone &6!"
  424. else:
  425. give 3 Redstone to the player
  426. send "{@tag} &6Odnalazles &bRedstone &6!"
  427. else:
  428. if player's tool is pickaxe of fortune 3:
  429. chance of 25%:
  430. give Redstone to the player
  431. send "{@tag} &6Odnalazles &bRedstone &6!
  432. else:
  433. chance of 25%:
  434. give 2 Redstone to the player
  435. send "{@tag} &6Odnalazles &bRedstone &6!
  436. else:
  437. chance of 25%:
  438. give 3 Redstone to the player
  439. send "{@tag} &6Odnalazles &bRedstone &6!
  440. else:
  441. chance of 25%:
  442. give 4 Redstone to the player
  443. send "{@tag} &6Odnalazles &bRedstone &6!
  444. on mine of stone:
  445. if {myexp.wlacz} is true:
  446. if player's gamemode is survival:
  447. chance of {@szansa_exp}%:
  448. if player's tool is pickaxe of fortune 0:
  449. give 2 xp to the player
  450. else:
  451. if player's tool is pickaxe of fortune 1:
  452. chance of 50%:
  453. give 2 xp to the player
  454. else:
  455. give 4 xp to the player
  456. else:
  457. if player's tool is pickaxe of fortune 2:
  458. chance of 33%:
  459. give 2 xp to the player
  460. else:
  461. chance of 33%:
  462. give 4 xp to the player
  463. else:
  464. give 6 xp to the player
  465. else:
  466. if player's tool is pickaxe of fortune 3:
  467. chance of 25%:
  468. give 2 xp to the player
  469. else:
  470. chance of 25%:
  471. give 4 xp to the player
  472. else:
  473. chance of 25%:
  474. give 6 xp to the player
  475. else:
  476. chance of 25%:
  477. give 8 xp to the player
  478. on mine of stone:
  479. if {mys.wlacz} is true:
  480. if player's gamemode is survival:
  481. chance of {@szansa_perla}%:
  482. if player's tool is pickaxe of fortune 0:
  483. give ender pearl to the player
  484. send "{@tag} &6Odnalazles &bEnder Perle &6!
  485. else:
  486. if player's tool is pickaxe of fortune 1:
  487. chance of 50%:
  488. give ender pearl to the player
  489. send "{@tag} &6Odnalazles &bEnder Perle &6!
  490. else:
  491. give 2 ender pearl to the player
  492. send "{@tag} &6Odnalazles &bEnder Perle &6!
  493. else:
  494. if player's tool is pickaxe of fortune 2:
  495. chance of 33%:
  496. give ender pearl to the player
  497. send "{@tag} &6Odnalazles &bEnder Perle &6!
  498. else:
  499. chance of 33%:
  500. give 2 ender pearl to the player
  501. send "{@tag} &6Odnalazles &bEnder Perle &6!
  502. else:
  503. give 3 ender pearl to the player
  504. send "{@tag} &6Odnalazles &bEnder Perle &6!
  505. else:
  506. if player's tool is pickaxe of fortune 3:
  507. chance of 25%:
  508. give ender pearl to the player
  509. send "{@tag} &6Odnalazles &bEnder Perle &6!
  510. else:
  511. chance of 25%:
  512. give 2 ender pearl to the player
  513. send "{@tag} &6Odnalazles &bEnder Perle &6!
  514. else:
  515. chance of 25%:
  516. give 3 ender pearl to the player
  517. send "{@tag} &6Odnalazles &bEnder Perle &6!
  518. else:
  519. chance of 25%:
  520. give 4 ender pearl to the player
  521. send "{@tag} &6Odnalazles &bEnder Perle &6!
  522. on mine of stone:
  523. if {mys.wlacz} is true:
  524. if player's gamemode is survival:
  525. chance of {@szansa_diax}%:
  526. if player's tool is pickaxe of fortune 0:
  527. give diamond to the player
  528. send "{@tag} &6Odnalazles &bDiament &6!
  529. else:
  530. if player's tool is pickaxe of fortune 1:
  531. chance of 50%:
  532. give diamond to the player
  533. send "{@tag} &6Odnalazles &bDiament &6!
  534. else:
  535. give 2 diamond to the player
  536. send "{@tag} &6Odnalazles &bDiament &6!
  537. else:
  538. if player's tool is pickaxe of fortune 2:
  539. chance of 33%:
  540. give diamond to the player
  541. send "{@tag} &6Odnalazles &bDiament &6!
  542. else:
  543. chance of 33%:
  544. give 2 diamond to the player
  545. send "{@tag} &6Odnalazles &bDiament &6!
  546. else:
  547. give 3 diamond to the player
  548. send "{@tag} &6Odnalazles &bDiament &6!
  549. else:
  550. if player's tool is pickaxe of fortune 3:
  551. chance of 25%:
  552. give diamond to the player
  553. send "{@tag} &6Odnalazles &bDiament &6!
  554. else:
  555. chance of 25%:
  556. give 2 diamond to the player
  557. send "{@tag} &6Odnalazles &bDiament &6!
  558. else:
  559. chance of 25%:
  560. give 3 diamond to the player
  561. send "{@tag} &6Odnalazles &bDiament &6!
  562. else:
  563. chance of 25%:
  564. give 4 diamond to the player
  565. send "{@tag} &6Odnalazles &bDiament &6!
  566. on mine of stone:
  567. if {mys.wlacz} is true:
  568. if player's gamemode is survival:
  569. chance of {@szansa_emerald}%:
  570. if player's tool is pickaxe of fortune 0:
  571. give emerald to the player
  572. send "{@tag} &6Odnalazles &bEmerald &6!
  573. else:
  574. if player's tool is pickaxe of fortune 1:
  575. chance of 50%:
  576. give emerald to the player
  577. send "{@tag} &6Odnalazles &bEmerald &6!
  578. else:
  579. give 2 emerald to the player
  580. send "{@tag} &6Odnalazles &bEmerald &6!
  581. else:
  582. if player's tool is pickaxe of fortune 2:
  583. chance of 33%:
  584. give emerald to the player
  585. send "{@tag} &6Odnalazles &bEmerald &6!
  586. else:
  587. chance of 33%:
  588. give 2 emerald to the player
  589. send "{@tag} &6Odnalazles &bEmerald &6!
  590. else:
  591. give 3 emerald to the player
  592. send "{@tag} &6Odnalazles &bEmerald &6!
  593. else:
  594. if player's tool is pickaxe of fortune 3:
  595. chance of 25%:
  596. give emerald to the player
  597. send "{@tag} &6Odnalazles &bEmerald &6!
  598. else:
  599. chance of 25%:
  600. give 2 emerald to the player
  601. send "{@tag} &6Odnalazles &bEmerald &6!
  602. else:
  603. chance of 25%:
  604. give 3 emerald to the player
  605. send "{@tag} &6Odnalazles &bEmerald &6!
  606. else:
  607. chance of 25%:
  608. give 4 emerald to the player
  609. send "{@tag} &6Odnalazles &bEmerald &6!
  610. on mine of stone:
  611. if {mys.wlacz} is true:
  612. if player's gamemode is survival:
  613. chance of {@szansa_zloto}%:
  614. if player's tool is pickaxe of fortune 0:
  615. give Gold Ingot to the player
  616. send "{@tag} &6Odnalazles &bZloto &6!
  617. else:
  618. if player's tool is pickaxe of fortune 1:
  619. chance of 50%:
  620. give Gold Ingot to the player
  621. send "{@tag} &6Odnalazles &bZloto &6!
  622. else:
  623. give 2 Gold Ingot to the player
  624. send "{@tag} &6Odnalazles &bZloto &6!
  625. else:
  626. if player's tool is pickaxe of fortune 2:
  627. chance of 33%:
  628. give Gold Ingot to the player
  629. send "{@tag} &6Odnalazles &bZloto &6!
  630. else:
  631. chance of 33%:
  632. give 2 Gold Ingot to the player
  633. send "{@tag} &6Odnalazles &bZloto &6!
  634. else:
  635. give 3 Gold Ingot to the player
  636. send "{@tag} &6Odnalazles &bZloto &6!
  637. else:
  638. if player's tool is pickaxe of fortune 3:
  639. chance of 25%:
  640. give Gold Ingot to the player
  641. send "{@tag} &6Odnalazles &bZloto &6!
  642. else:
  643. chance of 25%:
  644. give 2 Gold Ingot to the player
  645. send "{@tag} &6Odnalazles &bZloto &6!
  646. else:
  647. chance of 25%:
  648. give 3 Gold Ingot to the player
  649. send "{@tag} &6Odnalazles &bZloto &6!
  650. else:
  651. chance of 25%:
  652. give 4 Gold Ingot to the player
  653. send "{@tag} &6Odnalazles &bZloto &6!
  654. on mine of stone:
  655. if {mys.wlacz} is true:
  656. if player's gamemode is survival:
  657. chance of {@szansa_zelazo}%:
  658. if player's tool is pickaxe of fortune 0:
  659. give Iron Ingot to the player
  660. send "{@tag} &6Odnalazles &bZelazo &6!
  661. else:
  662. if player's tool is pickaxe of fortune 1:
  663. chance of 50%:
  664. give Iron Ingot to the player
  665. send "{@tag} &6Odnalazles &bZelazo &6!
  666. else:
  667. give 2 Iron Ingot to the player
  668. send "{@tag} &6Odnalazles &bZelazo &6!
  669. else:
  670. if player's tool is pickaxe of fortune 2:
  671. chance of 33%:
  672. give Iron Ingot to the player
  673. send "{@tag} &6Odnalazles &bZelazo &6!
  674. else:
  675. chance of 33%:
  676. give 2 Iron Ingot to the player
  677. send "{@tag} &6Odnalazles &bZelazo &6!
  678. else:
  679. give 3 Iron Ingot to the player
  680. send "{@tag} &6Odnalazles &bZelazo &6!
  681. else:
  682. if player's tool is pickaxe of fortune 3:
  683. chance of 25%:
  684. give Iron Ingot to the player
  685. send "{@tag} &6Odnalazles &bZelazo &6!
  686. else:
  687. chance of 25%:
  688. give 2 Iron Ingot to the player
  689. send "{@tag} &6Odnalazles &bZelazo &6!
  690. else:
  691. chance of 25%:
  692. give 3 Iron Ingot to the player
  693. send "{@tag} &6Odnalazles &bZelazo &6!
  694. else:
  695. chance of 25%:
  696. give 4 Iron Ingot to the player
  697. send "{@tag} &6Odnalazles &bZelazo &6!
  698. on mine of stone:
  699. if {mys.wlacz} is true:
  700. if player's gamemode is survival:
  701. chance of {@szansa_wegiel}%:
  702. if player's tool is pickaxe of fortune 0:
  703. give Coal to the player
  704. send "{@tag} &6Odnalazles &bWegiel &6!
  705. else:
  706. if player's tool is pickaxe of fortune 1:
  707. chance of 50%:
  708. give Coal to the player
  709. send "{@tag} &6Odnalazles &bWegiel &6!
  710. else:
  711. give 2 Coal to the player
  712. send "{@tag} &6Odnalazles &bWegiel &6!
  713. else:
  714. if player's tool is pickaxe of fortune 2:
  715. chance of 33%:
  716. give Coal to the player
  717. send "{@tag} &6Odnalazles &bWegiel &6!
  718. else:
  719. chance of 33%:
  720. give 2 Coal to the player
  721. send "{@tag} &6Odnalazles &bWegiel &6!
  722. else:
  723. give 3 Coal to the player
  724. send "{@tag} &6Odnalazles &bWegiel &6!
  725. else:
  726. if player's tool is pickaxe of fortune 3:
  727. chance of 25%:
  728. give Coal to the player
  729. send "{@tag} &6Odnalazles &bWegiel &6!
  730. else:
  731. chance of 25%:
  732. give 2 Coal to the player
  733. send "{@tag} &6Odnalazles &bWegiel &6!
  734. else:
  735. chance of 25%:
  736. give 3 Coal to the player
  737. send "{@tag} &6Odnalazles &bWegiel &6!
  738. else:
  739. chance of 25%:
  740. give 4 Coal to the player
  741. send "{@tag} &6Odnalazles &bWegiel &6!
  742. on mine of stone:
  743. if {mys.wlacz} is true:
  744. if player's gamemode is survival:
  745. chance of {@szansa_obsydian}%:
  746. if player's tool is pickaxe of fortune 0:
  747. give Obsidian to the player
  748. send "{@tag} &6Odnalazles &bObsydian &6!
  749. else:
  750. if player's tool is pickaxe of fortune 1:
  751. chance of 50%:
  752. give Obsidian to the player
  753. send "{@tag} &6Odnalazles &bObsydian &6!
  754. else:
  755. give 2 Obsidian to the player
  756. send "{@tag} &6Odnalazles &bObsydian &6!
  757. else:
  758. if player's tool is pickaxe of fortune 2:
  759. chance of 33%:
  760. give Obsidian to the player
  761. send "{@tag} &6Odnalazles &bObsydian &6!
  762. else:
  763. chance of 33%:
  764. give 2 Obsidian to the player
  765. send "{@tag} &6Odnalazles &bObsydian &6!
  766. else:
  767. give 3 Obsidian to the player
  768. send "{@tag} &6Odnalazles &bObsydian &6!
  769. else:
  770. if player's tool is pickaxe of fortune 3:
  771. chance of 25%:
  772. give Obsidian to the player
  773. send "{@tag} &6Odnalazles &bObsydian &6!
  774. else:
  775. chance of 25%:
  776. give 2 Obsidian to the player
  777. send "{@tag} &6Odnalazles &bObsydian &6!
  778. else:
  779. chance of 25%:
  780. give 3 Obsidian to the player
  781. send "{@tag} &6Odnalazles &bObsydian &6!
  782. else:
  783. chance of 25%:
  784. give 4 Obsidian to the player
  785. send "{@tag} &6Odnalazles &bObsydian &6!
  786. on mine of stone:
  787. if {mys.wlacz} is true:
  788. if player's gamemode is survival:
  789. chance of {@szansa_redstone}%:
  790. if player's tool is pickaxe of fortune 0:
  791. give Redstone to the player
  792. send "{@tag} &6Odnalazles &bRedstone &6!
  793. else:
  794. if player's tool is pickaxe of fortune 1:
  795. chance of 50%:
  796. give Redstone to the player
  797. send "{@tag} &6Odnalazles &bRedstone &6!"
  798. else:
  799. give 2 Redstone to the player
  800. send "{@tag} &6Odnalazles &bRedstone &6!"
  801. else:
  802. if player's tool is pickaxe of fortune 2:
  803. chance of 33%:
  804. give Redstone to the player
  805. send "{@tag} &6Odnalazles &bRedstone &6!"
  806. else:
  807. chance of 33%:
  808. give 2 Redstone to the player
  809. send "{@tag} &6Odnalazles &bRedstone &6!"
  810. else:
  811. give 3 Redstone to the player
  812. send "{@tag} &6Odnalazles &bRedstone &6!"
  813. else:
  814. if player's tool is pickaxe of fortune 3:
  815. chance of 25%:
  816. give Redstone to the player
  817. send "{@tag} &6Odnalazles &bRedstone &6!
  818. else:
  819. chance of 25%:
  820. give 2 Redstone to the player
  821. send "{@tag} &6Odnalazles &bRedstone &6!
  822. else:
  823. chance of 25%:
  824. give 3 Redstone to the player
  825. send "{@tag} &6Odnalazles &bRedstone &6!
  826. else:
  827. chance of 25%:
  828. give 4 Redstone to the player
  829. send "{@tag} &6Odnalazles &bRedstone &6!
  830. on mine of diamond ore:
  831. if {mys.wlacz} is true:
  832. cancel event
  833. set block to air
  834. send "{@tag} &7Drop z tej rudy jest wylaczony!"
  835. send "{@tag} &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
  836. stop
  837. else:
  838. stop
  839. on mine of emerald ore:
  840. if {mys.wlacz} is true:
  841. cancel event
  842. set block to air
  843. send "{@tag} &7Drop z tej rudy jest wylaczony!"
  844. send "{@tag} &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
  845. stop
  846. else:
  847. stop
  848. on mine of gold ore:
  849. if {mys.wlacz} is true:
  850. cancel event
  851. set block to air
  852. send "{@tag} &7Drop z tej rudy jest wylaczony!"
  853. send "{@tag} &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
  854. stop
  855. else:
  856. stop
  857. on mine of iron ore:
  858. if {mys.wlacz} is true:
  859. cancel event
  860. set block to air
  861. send "{@tag} &7Drop z tej rudy jest wylaczony!"
  862. send "{@tag} &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
  863. stop
  864. else:
  865. stop
  866. on mine of redstone ore:
  867. if {mys.wlacz} is true:
  868. cancel event
  869. set block to air
  870. send "{@tag} &7Drop z tej rudy jest wylaczony!"
  871. send "{@tag} &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
  872. stop
  873. else:
  874. stop
  875. else:
  876. stop
  877. command /mys [<text>] [<text>]:
  878. trigger:
  879. if arg 1 is not set:
  880. send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
  881. send "&a/mys autor &b- autor skryptu"
  882. send "&a/mys wlacz &b- wlacza skrypt"
  883. send "&a/mys wylacz &b- wylacza skrypt"
  884. send "&a/myexp wlacz &b- wlacza drop expa"
  885. send "&a/myexp wylacz &b- wylacza drop expa"
  886. send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
  887. stop
  888. if arg 1 is "wlacz":
  889. if {mys.wlacz} is false:
  890. if has permissions "mys.wlacz":
  891. set {mys.wlacz} to true
  892. send "&cWlaczyles skrypt !"
  893. else:
  894. send "&cNie masz na to pozwolenia !"
  895. else:
  896. send "&cNie mozesz tego wykonac poniewaz skrypt jest juz wlaczony !"
  897. stop
  898. if arg 1 is "wylacz":
  899. if {mys.wlacz} is true:
  900. if has permissions "mys.wylacz":
  901. set {mys.wlacz} to false
  902. send "&cWylaczyles skrypt !"
  903. else:
  904. send "&cNie masz na to pozwolenia !"
  905. else:
  906. send "&cNie mozesz tego zrobic poniewaz skrypt jest wylaczony !"
  907. stop
  908. if arg 1 is "autor":
  909. send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
  910. send "&aAutor - {@autor}"
  911. send "&aWersja - {@wersja}"
  912. send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
  913. stop
  914. command /myexp [<text>]:
  915. trigger:
  916. if arg 1 is "wlacz":
  917. if {myexp.wlacz} is false:
  918. if has permissions "myexp.wlacz":
  919. set {mys.wlacz} to true
  920. send "&cWlaczyles drop expa !"
  921. else:
  922. send "&cNie masz na to pozwolenia !"
  923. else:
  924. send "&cNie mozesz tego wykonac poniewaz exp jest juz wlaczony !"
  925. stop
  926. if arg 1 is "wylacz":
  927. if {myexp.wlacz} is true:
  928. if has permissions "myexp.wylacz":
  929. set {mys.wlacz} to false
  930. send "&cWylaczyles drop expa !"
  931. else:
  932. send "&cNie masz na to pozwolenia !"
  933. else:
  934. send "&cNie mozesz tego zrobic poniewaz exp jest wylaczony !"
  935. stop
  936. command /drop:
  937. trigger:
  938. send ""
  939. send "&aEnderperla - &7{@szansa_perla}%"
  940. send "&aDiament - &7{@szansa_diax}%"
  941. send "&aZloto - &7{@szansa_zloto}%"
  942. send "&aZelazo - &7{@szansa_zelazo}%"
  943. send "&aRedstone - &7{@szansa_redstone}%"
  944. send "&aObydian - &7{@szansa_obsydian}%"
  945. send "&aEmerald - &7{@szansa_emerald}%"
  946. send "&aWegiel - &7{@szansa_wegiel}%"
  947. send ""
  948. command /cobble:
  949. trigger:
  950. if {cb.%player%} is true:
  951. set {cb.%player%} to false
  952. send "{@tag} &bWylaczyles drop cobblestone!"
  953. stop
  954. if {cb.%player%} is false:
  955. set {cb.%player%} to true
  956. send "{@tag} &bWlaczyles drop cobblestone!"
  957. stop
  958. on load:
  959. if file "plugins/Skript/scripts/MyStone.sk" doesn't exists:
  960. send "&4Nie znaleziono skryptu MyStone." to console
  961. send "&2Pobieranie...." to console
  962. download from "http://pastebin.com/raw.php?i=r2wtn1kv" to "plugins/Skript/scripts/MyStone.sk"
  963. execute console command "sk reload MyStone"
Advertisement
Add Comment
Please, Sign In to add comment