Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #################
- # MegaCore v1.1 #
- #################
- # Autor: enkus_ #
- #################
- ### SKRYPT NA DROP DODATKOWYCH ITEMOW ZE STONE! ###
- options:
- przedmiot1: diamond #Tutaj wpisz ID przedmiotu ktory ma wyleciec ze stone !
- przedmiot2: emerald
- nazwa_przedmiot1: &4&lDIA&c&lX #Tutaj wpisz nazwe pierwszego przedmiotu !
- nazwa_przedmiot2: &6&lEMERAL&e&lD
- opis_przedmiot1: &6nawet fajny diaxXD #Tutaj wpisz opis pierwszego przedmiotu !
- opis_przedmiot2: &6nawet fajny emeXDD
- szanse_przedmiot1: 30 #Tutaj wpisz szanse na wydropienie danego przedmiotu ze ston! | Wpisz bez znaku "%"
- szanse_przedmiot2: 50
- on break of stone:
- chance of {@szanse_przedmiot1}%:
- add 1 {@przedmiot1} named "{@nazwa_przedmiot1}" with lore "{opis_przedmiot1}"
- on break of stone:
- chance of {@szanse_przedmiot2}%:
- add 1 {@przedmiot2} named "{@nazwa_przedmiot2}" with lore "{opis_przedmiot2}"
- ### SKRYPT NA GAMEMODE ###
- options:
- permisja: mega.core #Wpisz permissje dostepu dla innych graczy!
- tag: &8[&fMegaCore&8] #Wpisz nazwe serwera | Najlepiej aby nazwa byla w nawiasach prostokątnych!
- command /gm [<text>] [<player>]:
- trigger:
- if player has permission "{@permisja}":
- if arg 2 is set:
- if arg 1 is "1" or "creative" or "c":
- set the gamemode of argument 2 to creative
- send player title "{@tag}" with subtitle "&8» &fAdmin &a%player% &fzmienil twoj tryb na &aKREATYWNY" to arg-2
- send player title "{@tag}" with subtitle "&8» &&fZmieniles tryb gracza &8(&f%arg-2%&8) &fna KREATYWNY" to arg-1
- stop
- if arg 1 is "0" or "s" or "survival":
- set the gamemode of argument 2 to survival
- send player title "{@tag}" with subtitle "&8» &fAdmin &a%player% &fzmienil twoj tryb na &ASURVIVAL" to arg-2
- send player title "{@tag}" with subtitle "&8» &fZmieniles tryb gracza &8(&a%arg-2%&8) &fna &aSURVIVAL" to arg-1
- stop
- else:
- if arg 1 is "1" or "c" or "creative":
- set the gamemode of the player to creative
- send player title "{@tag}" with subtitle "&8» &fZmieniles swoj tryb na &aKREATYWNY"
- stop
- if arg 1 is "0" or "s" or "survival":
- set the gamemode of the player to survival
- send player title "{@tag}" with subtitle "&8» &7&fZmieniles swoj tryb na &aSURVIVAL"
- stop
- else:
- send " &8» &7Poprawne uzycie tej komendy&8: &6/gm <[1/0] [c/s] [creative/survival]> <gracz>"
- stop
- else:
- send player title "{@tag}" with subtitle "&8» &cNie posiadasz permissji &7({@permisja})"
- ### SKRYPT NA KONFIGURACJE MOBOW/POGODY/PORY DNIA ###
- options:
- permisja: mega.core #Wpisz permissje dostepu dla innych graczy!
- tag: &8[&fMegaCore&8] #Wpisz nazwe serwera | Najlepiej aby nazwa byla w nawiasach prostokątnych!
- command /moby [<text>]:
- permission: mega.core
- trigger:
- if arg-1 is "on":
- execute player command "rg flag __Global__ mob-spawning allow"
- execute player command "rg flag __Global__ mob-damage allow"
- send player title "{@Tag}" with subtitle "&8» &7Wlaczyles opcje&8: &aMOBY"
- if arg-1 is "off":
- execute console command "stoplag"
- execute player command "rg flag __Global__ mob-spawning deny"
- execute player command "rg flag __Global__ mob-damage deny"
- send player title "{@Tag}" with subtitle "&8» &7Wylaczyles opcje&8: &acMOBY"
- if arg-1 is not set:
- send " &8» &7Poprawne uzycie tej komendy&8: &f/moby on|off"
- command /deszcz [<text>]:
- trigger:
- if arg-1 is "on":
- execute player command "rain"
- send player title "{@Tag}" with subtitle "&8» &fWlaczyles opcje&8: &aDESZCZ"
- if arg-1 is "off":
- execute player command "sun"
- send player title "{@Tag}" with subtitle "&8» &fWylaczyles opcje&8: &cDESZCZ"
- if arg-1 is not set:
- send " &8» &7Poprawne uzycie tej komendy&8: &f/deszcz on|off"
- command /dzien [<text>]:
- trigger:
- if arg-1 is "on":
- execute player command "day"
- send player title "{@Tag}" with subtitle "&8» &fWlaczyles opcje&8: &aDZIEN"
- if arg-1 is "off":
- execute player command "night"
- send player title "{@Tag}" with subtitle "&8» &fWylaczyles opcje&8: &aDZIEN"
- if arg-1 is not set:
- send " &8» &7Poprawne uzycie tej komendy&8: &f/dzien on|off"
- ### SKRIPT NA AUTOMATYCZNE TITLE ###
- options:
- ip: TWOJSERWER.PL #Wpisz ip serwera | Bez kolorow tylko ip!
- sek: 60 #Wpisz co ile sekund maja sie powiadac automatyczne wiadomosci | 1 minuta = 60 sekund !
- www: WWW.TWOJSERWER.PL #Wpisz tutaj twoja strone | Bez kolorow tylko strone!
- every {@sek} seconds:
- send player title "&8[&f{ip}&8]" with subtitle "&7Nasza strona&8: &f{@www}"
- ### SKRIPT NA BC TITLE/CHAT/ACTIONBAR/SUBTITLE ###
- ### DO TEGO SKRYPTU WYMAGANY PLUGIN SKRAYFALL ###
- options:
- permisja: mega.core #Wpisz permissje dostepu dla innych graczy!
- tag: &8[&fMegaCore&8] #Wpisz nazwe serwera | Najlepiej aby nazwa byla w nawiasach prostokątnych!
- kolor: &f #Wpisz tutaj kolor wiadomosci! | Pamietaj o znaku "&" przed ID koloru !
- # JESLI NIE BEDZIESZ MIAL PLUGINY SKRAYFALL NIE ZADZIALA #
- command /bc [<text>] [<text>]:
- permission: {@permisja}
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if arg 1 is "title":
- send player title "{@tag} {@kolor}%arg-2%"
- if arg 1 is "subtitle":
- send player title "{@tag}" with subtitle "{@kolor}%arg-2%"
- if arg 1 is "chat":
- broadcast "{@tag} {@kolor}%arg-2%"
- if arg 1 is "actionbar":
- set action bar of player to "{@tag} {@kolor}%arg-2%"
- else:
- else:
- send "&7Uzyj&8:"
- send "&8> &c/bc title [wiadomosc]"
- send "&8> &c/bc subtitle [wiadomosc]"
- send "&8> &c/bc chat [wiadomosc]"
- send "&8> &c/bc actionbar [wiadomosc]"
- ### SKRYPT NA DAWANIE RANG/YOUTUBERA ###
- options:
- permisja: mega.core #Wpisz permissje dostepu dla innych graczy!
- tag: &8[&fMegaCore&8] #Wpisz nazwe serwera | Najlepiej aby nazwa byla w nawiasach prostokątnych!
- zalozyciel: enkus_ #Wpisz nick zalozyciela serwera | Tylko nick bez zadnych kolorow bo nie zadziala!
- command /setrank [<text>] [<text>]:
- permission: {@permisja}
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- execute console command "pex user %arg-1% group set %arg-2%"
- send player title "{tag}" with subtitle "&7Gracz &a%arg-1% &7otrzymal range &a%arg-2%"
- else:
- else:
- send "&7Uzyj&8: &a/setrank [gracz] [ranga]"
- command /dajyt [<text>]:
- permission: {@permisja}
- trigger:
- if arg 1 is "{@zalozyciel}""
- send "&7Ten gracz nie moze otrzymac rangi YouTuber!"
- if arg 1 is set:
- send player title "&8| &f&lYou&4&lTuber &8|" with subtitle "&7Gracz &a%player% &7zostal nowym &fYou&4Tuberem &7serwera!"
- else:
- send "&7Wpisz nick gracza"
- ### SKRYPT NA CASE ###
- options:
- szansa_vip: 25 #Tutaj wpisz szanse na wygranie Vipa! | Wpisz bez znaku "%"
- shop: itemshop.pl #TUTAJ WPISZ ITEMSHOP SERWERA!
- #Chcesz klucz? Napisz na serwerze | po instalacji skryptu | /dajklucza i otrzymasz 1 klucz do case! #
- # Uwaga aby dzialalo, musisz dac cobblestone a na cobblestonie enderchest! | Wszystko pokazane na odc #
- variables:
- {odbierzkluczi::%player%} = false
- command /odbierzklucziii [<text>]:
- trigger:
- if {odbierzkluczi::%player%} is false:
- give tripwire hook named "&e&lKlucz do Casa" to player
- send player title "&a&lGRATULACJE!" with subtitle "&7Otrzymales &ax1 klucz do &a&nCASE"
- set {odbierzkluczi::%player%} to true
- stop
- if {odbierzkluczi::%player%} is true:
- send player title "&a&lGRATULACJE!" with subtitle "&7Odebrales klucz!"
- stop
- on rightclick on ender chest or chest:
- if block under is cobblestone:
- if player is holding 1 tripwire hook:
- cancel event
- set {otwieranie::%player%} to true
- remove 1 tripwire hook from player
- set action bar of player to coloured "&6&lLOSUJESZ WYGRANA!"
- play raw sound "random.pop" at player with pitch 2 volume 1
- set block to lapis block
- wait 6 tick
- set block to sponge
- play raw sound "random.pop" at player with pitch 2 volume 1
- wait 6 tick
- set block to redstone block
- play raw sound "random.pop" at player with pitch 2 volume 1
- wait 6 tick
- set block to diamond block
- play raw sound "random.pop" at player with pitch 2 volume 1
- wait 6 tick
- set block to tnt
- play raw sound "random.pop" at player with pitch 2 volume 1
- wait 6 tick
- set block to cobblestone
- play raw sound "random.pop" at player with pitch 2 volume 1
- wait 6 tick
- set block to ender chest
- play raw sound "random.explode" at player with pitch 1 volume 2
- send player title "&c&l:(" with subtitle "&4Przegrales! Sprobuj Ponownie!" for 2 seconds
- chance of {@szansa_vip}%:
- send player title "&8[&fNAGRODA&8]" with subtitle "&7Wylosowales &aVipa" for 2 seconds
- execute console command "pex user %player% group set Vip"
- stop
- else:
- cancel event
- send "&4Blad: &7Nie posiadasz klucza!"
- send "&7Zakup klucz na &a{@shop}"
- stop
- command /dajklucza:
- trigger:
- 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