Advertisement
Guest User

megacore

a guest
Jul 19th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.79 KB | None | 0 0
  1. #################
  2. # MegaCore v1.1 #
  3. #################
  4. # Autor: enkus_ #
  5. #################
  6.  
  7.  
  8. ### SKRYPT NA DROP DODATKOWYCH ITEMOW ZE STONE! ###
  9.  
  10. options:
  11. przedmiot1: diamond #Tutaj wpisz ID przedmiotu ktory ma wyleciec ze stone !
  12. przedmiot2: emerald
  13. nazwa_przedmiot1: &4&lDIA&c&lX #Tutaj wpisz nazwe pierwszego przedmiotu !
  14. nazwa_przedmiot2: &6&lEMERAL&e&lD
  15. opis_przedmiot1: &6nawet fajny diaxXD #Tutaj wpisz opis pierwszego przedmiotu !
  16. opis_przedmiot2: &6nawet fajny emeXDD
  17. szanse_przedmiot1: 30 #Tutaj wpisz szanse na wydropienie danego przedmiotu ze ston! | Wpisz bez znaku "%"
  18. szanse_przedmiot2: 50
  19.  
  20. on break of stone:
  21. chance of {@szanse_przedmiot1}%:
  22. add 1 {@przedmiot1} named "{@nazwa_przedmiot1}" with lore "{opis_przedmiot1}"
  23.  
  24. on break of stone:
  25. chance of {@szanse_przedmiot2}%:
  26. add 1 {@przedmiot2} named "{@nazwa_przedmiot2}" with lore "{opis_przedmiot2}"
  27.  
  28. ### SKRYPT NA GAMEMODE ###
  29.  
  30. options:
  31. permisja: mega.core #Wpisz permissje dostepu dla innych graczy!
  32. tag: &8[&fMegaCore&8] #Wpisz nazwe serwera | Najlepiej aby nazwa byla w nawiasach prostokątnych!
  33.  
  34. command /gm [<text>] [<player>]:
  35. trigger:
  36. if player has permission "{@permisja}":
  37. if arg 2 is set:
  38. if arg 1 is "1" or "creative" or "c":
  39. set the gamemode of argument 2 to creative
  40. send player title "{@tag}" with subtitle "&8» &fAdmin &a%player% &fzmienil twoj tryb na &aKREATYWNY" to arg-2
  41. send player title "{@tag}" with subtitle "&8» &&fZmieniles tryb gracza &8(&f%arg-2%&8) &fna KREATYWNY" to arg-1
  42. stop
  43. if arg 1 is "0" or "s" or "survival":
  44. set the gamemode of argument 2 to survival
  45. send player title "{@tag}" with subtitle "&8» &fAdmin &a%player% &fzmienil twoj tryb na &ASURVIVAL" to arg-2
  46. send player title "{@tag}" with subtitle "&8» &fZmieniles tryb gracza &8(&a%arg-2%&8) &fna &aSURVIVAL" to arg-1
  47. stop
  48. else:
  49. if arg 1 is "1" or "c" or "creative":
  50. set the gamemode of the player to creative
  51. send player title "{@tag}" with subtitle "&8» &fZmieniles swoj tryb na &aKREATYWNY"
  52. stop
  53. if arg 1 is "0" or "s" or "survival":
  54. set the gamemode of the player to survival
  55. send player title "{@tag}" with subtitle "&8» &7&fZmieniles swoj tryb na &aSURVIVAL"
  56. stop
  57. else:
  58. send " &8» &7Poprawne uzycie tej komendy&8: &6/gm <[1/0] [c/s] [creative/survival]> <gracz>"
  59. stop
  60. else:
  61. send player title "{@tag}" with subtitle "&8» &cNie posiadasz permissji &7({@permisja})"
  62.  
  63.  
  64. ### SKRYPT NA KONFIGURACJE MOBOW/POGODY/PORY DNIA ###
  65.  
  66. options:
  67. permisja: mega.core #Wpisz permissje dostepu dla innych graczy!
  68. tag: &8[&fMegaCore&8] #Wpisz nazwe serwera | Najlepiej aby nazwa byla w nawiasach prostokątnych!
  69.  
  70. command /moby [<text>]:
  71. permission: mega.core
  72. trigger:
  73. if arg-1 is "on":
  74. execute player command "rg flag __Global__ mob-spawning allow"
  75. execute player command "rg flag __Global__ mob-damage allow"
  76. send player title "{@Tag}" with subtitle "&8» &7Wlaczyles opcje&8: &aMOBY"
  77. if arg-1 is "off":
  78. execute console command "stoplag"
  79. execute player command "rg flag __Global__ mob-spawning deny"
  80. execute player command "rg flag __Global__ mob-damage deny"
  81. send player title "{@Tag}" with subtitle "&8» &7Wylaczyles opcje&8: &acMOBY"
  82. if arg-1 is not set:
  83. send " &8» &7Poprawne uzycie tej komendy&8: &f/moby on|off"
  84.  
  85. command /deszcz [<text>]:
  86. trigger:
  87. if arg-1 is "on":
  88. execute player command "rain"
  89. send player title "{@Tag}" with subtitle "&8» &fWlaczyles opcje&8: &aDESZCZ"
  90. if arg-1 is "off":
  91. execute player command "sun"
  92. send player title "{@Tag}" with subtitle "&8» &fWylaczyles opcje&8: &cDESZCZ"
  93. if arg-1 is not set:
  94. send " &8» &7Poprawne uzycie tej komendy&8: &f/deszcz on|off"
  95.  
  96. command /dzien [<text>]:
  97. trigger:
  98. if arg-1 is "on":
  99. execute player command "day"
  100. send player title "{@Tag}" with subtitle "&8» &fWlaczyles opcje&8: &aDZIEN"
  101. if arg-1 is "off":
  102. execute player command "night"
  103. send player title "{@Tag}" with subtitle "&8» &fWylaczyles opcje&8: &aDZIEN"
  104. if arg-1 is not set:
  105. send " &8» &7Poprawne uzycie tej komendy&8: &f/dzien on|off"
  106.  
  107.  
  108. ### SKRIPT NA AUTOMATYCZNE TITLE ###
  109.  
  110. options:
  111. ip: TWOJSERWER.PL #Wpisz ip serwera | Bez kolorow tylko ip!
  112. sek: 60 #Wpisz co ile sekund maja sie powiadac automatyczne wiadomosci | 1 minuta = 60 sekund !
  113. www: WWW.TWOJSERWER.PL #Wpisz tutaj twoja strone | Bez kolorow tylko strone!
  114.  
  115. every {@sek} seconds:
  116. send player title "&8[&f{ip}&8]" with subtitle "&7Nasza strona&8: &f{@www}"
  117.  
  118. ### SKRIPT NA BC TITLE/CHAT/ACTIONBAR/SUBTITLE ###
  119. ### DO TEGO SKRYPTU WYMAGANY PLUGIN SKRAYFALL ###
  120.  
  121. options:
  122. permisja: mega.core #Wpisz permissje dostepu dla innych graczy!
  123. tag: &8[&fMegaCore&8] #Wpisz nazwe serwera | Najlepiej aby nazwa byla w nawiasach prostokątnych!
  124. kolor: &f #Wpisz tutaj kolor wiadomosci! | Pamietaj o znaku "&" przed ID koloru !
  125.  
  126. # JESLI NIE BEDZIESZ MIAL PLUGINY SKRAYFALL NIE ZADZIALA #
  127.  
  128. command /bc [<text>] [<text>]:
  129. permission: {@permisja}
  130. trigger:
  131. if arg 1 is set:
  132. if arg 2 is set:
  133. if arg 1 is "title":
  134. send player title "{@tag} {@kolor}%arg-2%"
  135. if arg 1 is "subtitle":
  136. send player title "{@tag}" with subtitle "{@kolor}%arg-2%"
  137. if arg 1 is "chat":
  138. broadcast "{@tag} {@kolor}%arg-2%"
  139. if arg 1 is "actionbar":
  140. set action bar of player to "{@tag} {@kolor}%arg-2%"
  141. else:
  142. else:
  143. send "&7Uzyj&8:"
  144. send "&8> &c/bc title [wiadomosc]"
  145. send "&8> &c/bc subtitle [wiadomosc]"
  146. send "&8> &c/bc chat [wiadomosc]"
  147. send "&8> &c/bc actionbar [wiadomosc]"
  148.  
  149.  
  150. ### SKRYPT NA DAWANIE RANG/YOUTUBERA ###
  151.  
  152. options:
  153. permisja: mega.core #Wpisz permissje dostepu dla innych graczy!
  154. tag: &8[&fMegaCore&8] #Wpisz nazwe serwera | Najlepiej aby nazwa byla w nawiasach prostokątnych!
  155. zalozyciel: enkus_ #Wpisz nick zalozyciela serwera | Tylko nick bez zadnych kolorow bo nie zadziala!
  156.  
  157. command /setrank [<text>] [<text>]:
  158. permission: {@permisja}
  159. trigger:
  160. if arg 1 is set:
  161. if arg 2 is set:
  162. execute console command "pex user %arg-1% group set %arg-2%"
  163. send player title "{tag}" with subtitle "&7Gracz &a%arg-1% &7otrzymal range &a%arg-2%"
  164. else:
  165. else:
  166. send "&7Uzyj&8: &a/setrank [gracz] [ranga]"
  167.  
  168. command /dajyt [<text>]:
  169. permission: {@permisja}
  170. trigger:
  171. if arg 1 is "{@zalozyciel}""
  172. send "&7Ten gracz nie moze otrzymac rangi YouTuber!"
  173. if arg 1 is set:
  174. send player title "&8| &f&lYou&4&lTuber &8|" with subtitle "&7Gracz &a%player% &7zostal nowym &fYou&4Tuberem &7serwera!"
  175. else:
  176. send "&7Wpisz nick gracza"
  177.  
  178. ### SKRYPT NA CASE ###
  179.  
  180. options:
  181. szansa_vip: 25 #Tutaj wpisz szanse na wygranie Vipa! | Wpisz bez znaku "%"
  182. shop: itemshop.pl #TUTAJ WPISZ ITEMSHOP SERWERA!
  183.  
  184. #Chcesz klucz? Napisz na serwerze | po instalacji skryptu | /dajklucza i otrzymasz 1 klucz do case! #
  185. # Uwaga aby dzialalo, musisz dac cobblestone a na cobblestonie enderchest! | Wszystko pokazane na odc #
  186.  
  187. variables:
  188. {odbierzkluczi::%player%} = false
  189. command /odbierzklucziii [<text>]:
  190. trigger:
  191. if {odbierzkluczi::%player%} is false:
  192. give tripwire hook named "&e&lKlucz do Casa" to player
  193. send player title "&a&lGRATULACJE!" with subtitle "&7Otrzymales &ax1 klucz do &a&nCASE"
  194. set {odbierzkluczi::%player%} to true
  195. stop
  196. if {odbierzkluczi::%player%} is true:
  197. send player title "&a&lGRATULACJE!" with subtitle "&7Odebrales klucz!"
  198. stop
  199. on rightclick on ender chest or chest:
  200. if block under is cobblestone:
  201. if player is holding 1 tripwire hook:
  202. cancel event
  203. set {otwieranie::%player%} to true
  204. remove 1 tripwire hook from player
  205. set action bar of player to coloured "&6&lLOSUJESZ WYGRANA!"
  206. play raw sound "random.pop" at player with pitch 2 volume 1
  207. set block to lapis block
  208. wait 6 tick
  209. set block to sponge
  210. play raw sound "random.pop" at player with pitch 2 volume 1
  211. wait 6 tick
  212. set block to redstone block
  213. play raw sound "random.pop" at player with pitch 2 volume 1
  214. wait 6 tick
  215. set block to diamond block
  216. play raw sound "random.pop" at player with pitch 2 volume 1
  217. wait 6 tick
  218. set block to tnt
  219. play raw sound "random.pop" at player with pitch 2 volume 1
  220. wait 6 tick
  221. set block to cobblestone
  222. play raw sound "random.pop" at player with pitch 2 volume 1
  223. wait 6 tick
  224. set block to ender chest
  225. play raw sound "random.explode" at player with pitch 1 volume 2
  226. send player title "&c&l:(" with subtitle "&4Przegrales! Sprobuj Ponownie!" for 2 seconds
  227. chance of {@szansa_vip}%:
  228. send player title "&8[&fNAGRODA&8]" with subtitle "&7Wylosowales &aVipa" for 2 seconds
  229. execute console command "pex user %player% group set Vip"
  230. stop
  231. else:
  232. cancel event
  233. send "&4Blad: &7Nie posiadasz klucza!"
  234. send "&7Zakup klucz na &a{@shop}"
  235. stop
  236.  
  237. command /dajklucza:
  238. trigger:
  239. set slot 0 of player to 131 named "&8• &8[&fKLUCZ DO CASE&8] &8•" with lore "&8Losuj!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement