#====================================================================================================================== #creator: GS TEAM, HeadCreators: KwanekGaming#7243 (Owner GS), Escortmk4#2268 (HeadDeveloper GS) #Wymagane pluginy: essentials, luckperms (skrypt nie obsługuje PermissionEx) #prawa: Skrypt możesz dowolnie edytować i używać jednak prosiłbym o nie usuwanie linijki o tym kto stworzył skrypt #skrypt musisz w większości skonfigurować pod swój serwer (rzeczy takie jak rangi z lp itp.) #próba sprzedania skryptu jako swój autorski skutkuje banem na discordzie GS #Alpha v1.0 #====================================================================================================================== options: # Głowne permission_6: gscore.kilofy permission_amulety: gscore.amulety permission_ac: gscore.adminchat permission_alert: gscore.alert # Permisja potrzebna do komendy /alert permission_broadcast: gscore.broadcast # Permisja potrzebna do komendy /broadcast lub /bc permission_pomoc: gscore.pomoc # Permisja potrzebna do komendy /broadcast lub /bc permission_regulamin: gscore.regulamin # Permisja potrzebna do komendy /broadcast lub /bc permission_voucher: gscore.voucher # Permisja do komendy /voucher ramka: gray stained glass pane prefix: &7&lTWÓJ-SERVER.PL #<-------- zmien nazwe serwera # Wiadomości no_admin: "&cNie jestes administratorem" no_permission: "&f&lTWÓJ-SERVER.PL 》&c&l✖Brak uprawnień!" # Wiadomośc, która będzie wysłana, gdy gracz nie ma uprawnień correct_usage_broadcast: "&f&lTWÓJ-SERVER.PL 》&f&lUżycie: &f/broadcast " # Wiadomość, która bedzie wysłana po wpisaniu błędnie komendy /broadcast lub /bc correct_usage_alert: "&f&lTWÓJ-SERVER.PL 》&f&lUżycie: &f/alert " # Wiadomość, która bedzie wysłana po wpisaniu błędnie komendy /alert message_broadcast: "&f&lTWÓJ-SERVER.PL 》&7%coloured arg-1%" # Wiadomość, która będzie wysyłana do wszystkich graczy po wpisaniu komendy /broadcast lub /bc ## Możliwe argumenty: %arg-1% - wiadomość bez kolorów / %coloured arg-1% - wiadomość z kolorami message_alert_title: "&f&lTWÓJ-SERVER.PL" # Wiadomość która wyświetli się na środku ekranu po wpisaniu komendy /alert na górze message_alert_subtitle: "&7%coloured arg-1%" # Wiadomość która wyświetli się na środku ekranu po wpisaniu komendy /alert na dole correct_usage_troll: "c &f&lTWÓJ-SERVER.PL 》&f&lUżycie: &f/amulety (do wyboru sila & szybkosc)" #amulety a1: sila a2: szybkosc #================================================ Amulet1: Sila name_amulet1: &6&lAmulet &cSily komenda_amulet1: "effect give %Player% strength 15 1 true" #================================================ amulet2: szybkosc name_amulet2: &6&lAmulety &cSzybkosci komenda_amulet2: "effect give %Player% speed 15 1 true" #vouchery i1: golden pickaxe #================================================================ rank1: vip #ranga jaka tu ma byc ;D (nie uzywaj formatowania typu &) vouchername1: &6VIP permission1: voucher.vip komenda1: "lp user %player% parent add vip" #<-------- zmien nazwe z vip na swoją command /voucher: permission: {@permission_voucher}, gscore.* permission message: {@no_permission} trigger: set {_voucher} to chest inventory with 1 row named "{@prefix} &9&lVOUCHERY" set slot 4 of {_voucher} to {@i1} named "{@vouchername1}" with lore "&8» &7Kliknij, by stworzyc {@vouchername1}" set slot 1 and 2 and 0 and 3 and 5 and 6 and 7 and 8 and 9 of {_voucher} to {@ramka} named " " with lore " " open {_voucher} to player command /broadcast []: aliases: bc permission: gscore.*, {@permission_broadcast} permission message: {@no_permission} trigger: if arg 1 is not set: send {@correct_usage_broadcast} to sender stop broadcast {@message_broadcast} command /ekran []: aliases: alert permission: gscore.*, {@permission_alert} permission message: {@no_permission} trigger: if arg 1 is not set: send {@correct_usage_alert} to sender stop send title {@message_alert_title} with subtitle {@message_alert_subtitle} to all players function pomoc(player: player, type: text): if {_type} is "gracz": set {_gui} to chest inventory with 4 rows named "&a&lPomoc" set slot 13 of {_gui} to sunflower named "&a&lekonomia" with lore "&a&l/pay (nick) (gracz) - przelew" and "&a&l/withdraw (ilość) - wyplacanie" and "/sklep - sklep serwerowy" and "/ah - rynek" set slot 15 of {_gui} to diamond named "cos tam" with lore "coś tam" set slot 8 of {_gui} to recovery compass named "&a&lWarpy" with lore "&a&l/warp (warp) dostepne warpy:" and "&aPvP" and "&aSkrzynie" and "" set slot 11 of {_gui} to arrow named "&c&lAdministracyjne" with lore "&c&lKliknij" set slot 0 of {_gui} to barrier named "&c&lZamnknij menu" with lore "&cZamykasz to menu pomocy" set slot 18 of {_gui} to emerald named "cos tam" with lore "coś tam" set slot 26 of {_gui} to paper named "cos tam" with lore "coś tam" set set slot (integers between 0 and 26) of {_gui} to gray stained glass pane named " " open {_gui} to {_player} if {_type} is "admin": set {_gui} to chest inventory with 3 rows named "&a&lKomendy administratora" set slot 13 of {_gui} to gold ingot named "&cSprawdzanie komendy:" with lore "&a&l/sprawdz (gracz)" and "&a&l/czysty" and "&a&l/cheater" and "&a&l/brakwsp" set slot 15 of {_gui} to diamond named "&cNiewidzialnosc: &a&l/v" set slot 8 of {_gui} to recovery compass named "&cBackup:" with lore "&a&l/backup (gracz)" set slot 11 of {_gui} to lead named "&cZmiana trybu gry:" with lore "&a&l/gm &c&l(1/3/0)" and "&a1 - kreatywny" and "&a0 - survival" and "&a3 - widz/spectator" set slot 0 of {_gui} to emerald named "&cInformacja na ekran:" with lore "&a&l/ekran (tekst)" set slot 18 of {_gui} to barrier named "&cKary dla graczy:" with lore "&a&l/tempban &c&l(gracz) (czas) (Powod)" and "&a&l/ban &c&l(gracz) (Powod)" and "&a&l/kick &c&l(gracz) (Powod)" and "&a&l/wycisz &c&l(gracz) (czas)" set slot 26 of {_gui} to paper named "&cMenadzer chatu:" with lore "&a&l/cc lub /chatwyczysc - &c&l czysci czat" and "&a&l/chat &c&l(on/off)" open {_gui} to {_player} command /pomoc: permission: gscore.*, {@permission_pomoc} permission message: {@no_permission} trigger: pomoc(player, "gracz") on inventory click: if name of event-inventory is "&a&lPomoc": cancel event if clicked slot is 0: close player's inventory if clicked slot is 11: pomoc(player, "admin") else if name of event-inventory is "&a&lKomendy administratora": cancel event if name of event-inventory is "&d&lMedia serwerowe": cancel event if clicked slot is 0: close player's inventory if name of event-inventory is "{@prefix} &9&lVOUCHERY": cancel event if clicked slot is 4: close player's inventory send " " send "&bBy dac komus {@vouchername1}&b, wpisz komende:" send "&d/vouchervip &f" send " " execute player command "vouchervip %player%" command /vouchervip []: permission: {@permission1}, gscore.* permission message: {@prefix} {@no_permission} trigger: give Book and Quill named "{@vouchername1}" with lore "&8» &aKliknij Prawym by odebrac voucher!" to arg player if arg 1 is executor: send "&bWygenerowales &d{@vouchername1}&b!" if arg 1 is not executor: send "&d%player%&b dal ci &d{@vouchername1}&b!" to arg player play sound "entity.experience_orb.pickup" on rightclick: if player's tool is Book and Quill named "{@vouchername1}": cancel event send action bar "&8» &3Wykorzystales {@vouchername1}" to player play sound "entity.experience_orb.pickup" execute console command {@komenda1} delete player's tool on leftclick: if player's tool is Book and Quill named "{@vouchername1}": send action bar "&8» &3Wykorzystales {@vouchername1}" to player play sound "entity.experience_orb.pickup" execute console command {@komenda1} delete player's tool command /regulamin: permission: gscore.*, {@permission_regulamin} trigger: send "&cRegulamin Servera Minecraft" send "&c1. &fZasada nr 1" send "&c2. &fZasada nr 2" send "&c3. &fZasada nr 3" send "&c4. &fZasada nr 4" send "&c5. &fZasada nr 5" command /gs-core []: trigger: if arg-1 is not set: send "&cGS-CORE &fCreated by: &cGS-TEAM CEO: KwanekGaming##7243, HeadDev: Escortmk##2264 &fVersion: &cAlpha 1.0" command /discord: trigger: send "dc.nazwa.pl" #<--- zmien tu nazwe command /achat []: aliases: ac permission: {@permission_ac} trigger: if arg is not set: send "&8» &7Poprawne uzycie: &3/ac [wiadomosc]" else: loop all players: loop-player has permission "admin.chat": send "&8» &4[AdminCHAT] &8%player%&8: &7%colored arg%" to loop-player command /statystyki: aliases: stats permission: gscore.statystyki, gscore.* permission message: {@no_permissions} trigger: set {_statystki} to chest inventory with 3 rows named "{@prefix} &aStatystki" set set slot (integers between 0 and 26) of {_statystki} to gray stained glass pane named " " set slot 14 of {_statystki} to green concrete named "&a&lCZas gry: &a%player's playtime%" set slot 15 of {_statystki} to red concete named "&c&lZabojstwa: &c%Player's kills%" set 16 of {_statystki} to orange concete named "&6&lSmierci: &6%Player's deaths%"