Guest User

KDrop+ by Bananowiec

a guest
Nov 27th, 2014
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.33 KB | None | 0 0
  1. # # # # # # # # # # # # # # # # #
  2. # Autor - Bananowiec #
  3. # Wersja - 1.0 #
  4. # Dla Skript.pl #
  5. # Nie kopiować bez mojej zgody! #
  6. # # # # # # # # # # # # # # # # #
  7.  
  8. #Config
  9.  
  10. options:
  11. logo: &a&lKDrop&c&l+
  12. xp: 7 # Ilosc xp
  13. #Wszystko diax
  14. pdi: 50 # Procent Diax
  15. dii: 2 #Ilosc diaxow
  16. #Wszystko emerald
  17. emi: 2 # Ilosc emeraldow
  18. pem: 50 # Procent emeraldow
  19. #Wszystko zelazo
  20. zei: 2 #Ilosc zelaza
  21. zep: 50 #Procent zelaza
  22. #Wszystko wungiel xd
  23. wei: 2 #Ilosc wengla
  24. wep: 50 #Procent wengla
  25. #Wszystko zloto
  26. zli: 2 #Ilosc zlota
  27. zlp: 50 #Procent zlota
  28.  
  29. #Itemek do zmiany
  30. bloknisz: stone # Material ktory ma byc zmieniony jak sie wykopie rude
  31.  
  32.  
  33. # ===============NIE EDYTOWAC======================= #
  34.  
  35. #GUI RUD
  36. command /drop:
  37. trigger:
  38. open chest with 2 rows named "{@logo}" to player
  39. wait 2 tick
  40. format slot 0 of player with 1 of diamond named "→ &b&lDiament" with lore "→ &6&lDrop {@pdi} procent" to be unstealable
  41. format slot 2 of player with 1 of emerald named "→ &a&lEmerald" with lore "→ &6&lDrop {@pem} procent" to be unstealable
  42. format slot 4 of player with 1 of iron ingot named "→ &7&lZelazo" with lore "→ &6&lDrop {@zep} procent" to be unstealable
  43. format slot 6 of player with 1 of coal named "→ &8&lWengiel" with lore "→ &6&lDrop {@wep} procent" to be unstealable
  44. format slot 8 of player with 1 of gold ingot named "→ &e&lZloto" with lore "→ &6&lDrop {@zlp} procent" to be unstealable
  45. command /kadmin:
  46. permission: kdrop.admin
  47. permission message: &C&LNie masz uprawnien! (kdrop.admin)
  48. trigger:
  49. open chest with 2 rows named "{@logo}" to player
  50. wait 2 tick
  51. format slot 2 of player with 1 book and quill named "→ &4&lAutor" with lore "→ &e&l&oBananowiec" to be unstealable
  52. format slot 9 of player with 1 snowball named "→ &b&lWersja" with lore "→ &6&l1.0||→ Update niedlugo" to be unstealable
  53. format slot 13 of player with 1 beacon named "→ &2&lTO-DO" with lore "→ &3&lMagiczne gabki||→ &3&lDzwieki||→ &3&lSilk-Touch i fortune||→ &3&lRanking||→ &c&lSkladac propozycje !" to be unstealable
  54. format slot 6 of player with paper named "→ &4&lRegulamin" with lore "→ &c&l1. Edytowac mozna tylko config||→ &c&l2. Nie udostepniaj bez mojej zgody||→ &c&l3. Przestrzegaj zasad xD" to be unstealable
  55. format slot 17 of player with bedrock named "→ &3&lDropy" with lore "→ &b&lLista dropow||→ &7&l/drop" to be unstealable
  56.  
  57.  
  58. #Dropy ze stone
  59. on mine of stone:
  60. if player's gamemode is survival:
  61. if player's tool is pickaxe:
  62. chance of {@pdi}%:
  63. send "Znalazles &b&lDIAMENT"
  64. give {@dii} diamond to the player
  65. drop {@xp} xp
  66. chance of {@pem}%:
  67. send "Znalazles &a&LEMERALD"
  68. give {@emi} emerald to the player
  69. drop {@xp} xp
  70. chance of {@zep}%:
  71. send "Znalazles &7&lZELAZO"
  72. give {@zei} iron ingot to the player
  73. drop {@xp} xp
  74. chance of {@wep}%:
  75. send "Znalazles &8&lWENGIEL"
  76. give {@wei} coal to the player
  77. drop {@xp} xp
  78. chance of {@zlp}%:
  79. send "Znalazles &e&lZLOTO"
  80. give {@zli} emerald to the player
  81. drop {@xp} xp
  82. #Blokada kopania rud
  83.  
  84. on mine of any ore or emerald ore:
  85. cancel event
  86. set block to {@bloknisz}
  87. send " &b&l→ Surowce wypadaja z kamienia → "
  88. send " &b&l→ Wpisz /drop → "
  89. stop
  90.  
  91. #Zmiana nazwy przedmiotu
  92.  
  93. command /nazwa [<text>]:
  94. permission: kdrop.nazwa
  95. permission message: &c&lNie masz uprawnien ! (kdrop.nazwa)
  96. trigger:
  97. arg 1 is not set:
  98. send "{@logo} - &e&lZla komenda - /nazwa <nazwa>"
  99. else:
  100. set the name of player's tool to coloured argument
Advertisement
Add Comment
Please, Sign In to add comment