TheSrebrny80pl Napisano 3 Sierpnia 2017 Zgłoś Udostępnij Napisano 3 Sierpnia 2017 (edytowane) Witam , Zaprezentuje mój 2 skrypt jaki stworzyłem , mianowicie skrypt na slub w minecraft !!! Komendy oraz uprawnienia: /plec <mezczyzna/kobieta> - komenda ustalająca naszą płeć (brak uprawnień) /slub <udziel> <gracz 1> <gracz 2> - komenda udzielająca ślubu (SlubMinecraft.ksiadz.command) /slub <rozwod> <gracz 1> <gracz 2> - komenda udzielająca rozwodu (SlubMinecraft.ksiadz.command) /slub <autor> - informacja o autorze (brak uprawnień) Do działania skryptu jest potrzebne: permissionsEX , Essentials , Skript , WildSkript , ew. (SkQuery) # -------------------------------# # SlubMinecraft v500.300.200 | # creator: Srebrny80pl | # -------------------------------# on load: if folder "plugins/SlubMinecraft" doesn't exists: create folder "plugins/SlubMinecraft" create file "plugins/SlubMinecraft/config.yml" set {mezczyzni} to 0 set {kobiety} to 0 create file "plugins/SlubMinecraft/mezczyzni.yml" create file "plugins/SlubMinecraft/kobiety.yml" wl "prefix-mezczyzna: '&3Mezczyzna'" to "plugins/SlubMinecraft/config.yml" wl "prefix-kobieta: '&dKobieta'" to "plugins/SlubMinecraft/config.yml" set {prefix-mezczyzna} to colored single value "prefix-mezczyzna" get of "plugins/SlubMinecraft/config.yml" set {prefix-kobieta} to colored single value "prefix-kobieta" get of "plugins/SlubMinecraft/config.yml" # Funkcje do plci on join: if {SlubMinecraft::plec::%player%} isn't set: send "&8» &cMusisz ustawic plec" to the player send "&8» &6/plec &8<&3mezczyzna&8/&dkobieta&8>" to the player on chat: if {SlubMinecraft::plec::%player%} isn't set: cancel event send "&8» &4Ustaw plec" to the player on chat if {SlubMinecraft::plec::%player%} is set: cancel event {SlubMinecraft::slub::partner::%player%} is set: broadcast "&8[&6» &3%player% &4♥ &6«&8] &6» &3%message%" else: broadcast "&8[&6» &3%player% &6«&8] &6» &3%message%" on click: if {SlubMinecraft::plec::%player%} isn't set: cancel event send "&8» &4Ustaw plec" to the player on command: if {SlubMinecraft::plec::%player%} isn't set: if command isn't "plec": cancel event send "&8» &4Ustaw plec" stop # Plec ... command /esej:plec [<text>]: description: plec na serwerze. aliases: /plec trigger: if argument isn't "mezczyzna" or "kobieta": send "&8» &6Dozwolone plci: &3mezczyzna &7, &dkobieta" to the player stop if argument is "mezczyzna": if {SlubMinecraft::plec::%player%} isn't set: execute command "pex user %player% add plec.mezczyzna" execute command "pex user %player% prefix %{prefix-mezczyzna}%" send "&8» &6Zostajesz &3MEZCZYZNA" to the player add 1 to {mezczyzni} wf "%{mezczyzni}% . %player%" to "plugins/SlubMinecraft/mezczyzni.yml" set {SlubMinecraft::plec::%player%} to "mezczyzna" else if {SlubMinecraft::plec::%player%} is set: send "&8» &6Jesli chcesz zmienic plec... &cTo sie nie da &4:(" to the player if argument is "kobieta": if {SlubMinecraft::plec::%player%} isn't set: execute command "pex user %player% add plec.kobieta" execute command "pex user %player% prefix %{prefix-kobieta}%" send "&8» &6Zostajesz &dKOBIETA" to the player add 1 to {kobiety} wf "%{kobiety}% . %player%" to "plugins/SlubMinecraft/kobiety.yml" set {SlubMinecraft::plec::%player%} to "kobieta" stop else if {SlubMinecraft::plec::%player%} is set: send "&8» &6Jesli chcesz zmienic plec... &cTo sie nie da &4:(" to the player command /esej:resetuj: description: resetowanie aliases: /resetuj permission: perm.* trigger: clear {SlubMinecraft::plec::*} loop all players: execute command "pex user %loop-player% remove plec.mezczyzna" execute command "pex user %loop-player% remove plec.kobieta" execute command "pex user %loop-player% prefix "" send "&8» &2%player% &7postanowil zresetowac caly skrypt &ee&6Slub" to the loop-player send "&8» &aPomyslnie &7zresetowano skrypt &3SlubMinecraft" to the player # SlubMinecraft ... command /esej:slub [<text>] [<player>] [<player>]: description: Skrypt na slub... W minecraft XDD aliases: /slub trigger: if argument 1 isn't "udziel" or "rozwod" or "autor": send "&8» &6e&eSlub &8«" to the player send "&8» &7/slub &6udziel &8<&3maz&8> &8<&dzona&8> &7- &eUdziela slubu" to the player send "&8» &7/slub &6rozwod &8<&3mezczyzna&8> &8<&dkobieta&8> &7- &eUdziela rozwodu" to the player send "&8» &7/slub &3autor &7- &eNazwa autora skryptu" to the player send "&8» &6e&eSlub &8«" to the player else: if argument 1 isn't set: send "&8» &6e&eSlub &8«" to the player send "&8» &7/slub &6udziel &8<&3maz&8> &8<&dzona&8> &7- &eUdziela slubu" to the player send "&8» &7/slub &6rozwod &8<&3mezczyzna&8> &8<&dkobieta&8> &7- &eUdziela rozwodu" to the player send "&8» &7/slub &3autor &7- &eNazwa autora skryptu" to the player send "&8» &6e&eSlub &8«" to the player if argument 1 is "udziel": player-argument 1 is set: player-argument 2 is set: set {SlubMinecraft::slub::partner::%player-argument 1%} to player-argument 2 set {SlubMinecraft::slub::partner::%player-argument 2%} to player-argument 1 broadcast "&8[&6» &6e&SlubMinecraft &6«&8] &6Gratulacje! &7Nowa para to &3%player-argument 1% &7oraz &d%player-argument 2%" stop else: send "&8» &cA &dzona &cto gdzie ?!!" to the player else: send "&8» &4Smutny maz &caz uciekl... &6:)" to the player if argument 1 is "rozwod": player-argument 1 is set: player-argument 2 is set: delete {SlubMinecraft::slub::partner::%player-argument 1%} delete {SlubMinecraft::slub::partner::%player-argument 2%} broadcast "&8[&6» &6e&eSlub &6«&8] &7Rozwod pomiedzy &3%player-argument 1% &7oraz &d%player-argument 2%" else: send "&8» &cPodaj nick drugiej osoby &8(%{prefix-kobieta}%&8)" else: send "&8» &cPodaj nick pierwszej osoby &8(%{prefix-mezczyzna}%&8)" if argument 1 is "autor": send "&8» &6Autor: &3Srebrny80pl" to the player send "&8» &6e&SlubMinecraft &7ver: &9500.300.200" to the player stop - Pozdrawiam serdecznie eseja bo ten sktypt bazowałem na jego innym skrypice Poradnik By Srebrny80pl: 1. Skopiuj ten cały wielki kod 2. Wejdź w zakładkę WebFtp albo Ftp 3. Wybierz plugin Script ( jeżeli go nie masz to pobierz i zainstaluj ) 4. stwórz nowy plik " SlubXD.sk" 5. Wejdź to tego pliku 6. Wklej tam to wszystko 7. Ciesz się z postępu 8. Chwal autora 9. Daj repke dla autora 10. Pochwal skrytpa Edytowane 3 Sierpnia 2017 przez TheSrebrny80pl Cytuj Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Goferq Napisano 24 Kwietnia 2022 Zgłoś Udostępnij Napisano 24 Kwietnia 2022 nie twoje, widziałem oryginał Cytuj Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.