Skocz do zawartości
  • 0

szukam skryptu na restartowanie servera z innego servera


Gość Usunięty#26004

Pytanie

11 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Gość Usunięty#26004
2 godziny temu, FraZ napisał:

Użyj dodatku skungee 



execute bungee command "komenda" on "lobby"

 

command /restart [<text>]:
        permission: restart.*
        permission message: &4Nie masz permisji do uzywania tej komendy!
        trigger:
                if arg 1 is "megadrop":
                        send "&6&lRESTART SERVERA MEGADROP 1.8.8 ZA 10 SEKUND" to all bungee players
                        wait 10 real seconds
                        execute player command "restart" 
                if arg 1 is "lobby":
                        send "&6&lRESTART SERVERA LOBBY ZA 10 SEKUND" to all bungee players
                        wait 10 real seconds
                        execute bungee command "restart" on "lobby"    
                if arg 1 is "megadrop2":
                        send "&6&lRESTART SERVERA MEGADROP 1.16.5 ZA 10 SEKUND" to all bungee players
                        wait 10 real seconds
                        execute bungee command "restart" on "megadrop2"
                if arg 1 is "all":
                        send "&6&lRESTART CALEGO SERVERA ZA 10 SEKUND" to all bungee players
                        wait 10 real seconds
                        execute bungee command "restart" on "megadrop2"
                        execute bungee command "restart" on "megadrop"
                        execute bungee command "restart" on "lobby"

mozesz poprawic?

Glicz

Wstawiam kod w code.

Notatka dodana przez Glicz

Odnośnik do komentarza
https://skript.pl/temat/49110-szukam-skryptu-na-restartowanie-servera-z-innego-servera/#findComment-305338
Udostępnij na innych stronach

  • 0
12 minut temu, kacpereklubi10 napisał:

command /restart [<text>]:
        permission: restart.*
        permission message: &4Nie masz permisji do uzywania tej komendy!
        trigger:
                if arg 1 is "megadrop":
                        send "&6&lRESTART SERVERA MEGADROP 1.8.8 ZA 10 SEKUND" to all bungee players
                        wait 10 real seconds
                        execute player command "restart" 
                if arg 1 is "lobby":
                        send "&6&lRESTART SERVERA LOBBY ZA 10 SEKUND" to all bungee players
                        wait 10 real seconds
                        execute bungee command "restart" on "lobby"    
                if arg 1 is "megadrop2":
                        send "&6&lRESTART SERVERA MEGADROP 1.16.5 ZA 10 SEKUND" to all bungee players
                        wait 10 real seconds
                        execute bungee command "restart" on "megadrop2"
                if arg 1 is "all":
                        send "&6&lRESTART CALEGO SERVERA ZA 10 SEKUND" to all bungee players
                        wait 10 real seconds
                        execute bungee command "restart" on "megadrop2"
                        execute bungee command "restart" on "megadrop"
                        execute bungee command "restart" on "lobby"

mozesz poprawic?

Jakie  błędy wywala?

Odnośnik do komentarza
https://skript.pl/temat/49110-szukam-skryptu-na-restartowanie-servera-z-innego-servera/#findComment-305339
Udostępnij na innych stronach

  • 0
Gość Usunięty#26004
1 minutę temu, FraZ napisał:

Jakie  błędy wywala?

> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 98: send "&6&lRESTART SERVERA MEGADROP 1.8.8 ZA 10 SEKUND" to all bungee players')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 99: wait 10 real seconds')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 102: send "&6&lRESTART SERVERA LOBBY ZA 10 SEKUND" to all bungee players')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 103: wait 10 real seconds')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 104: execute bungee command "restart" on "lobby"')
> [17:27:16 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (warp.sk, line 101: if arg 1 is "lobby":')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 106: send "&6&lRESTART SERVERA MEGADROP 1.16.5 ZA 10 SEKUND" to all bungee players')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 107: wait 10 real seconds')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 108: execute bungee command "restart" on "megadrop2"')
> [17:27:16 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (warp.sk, line 105: if arg 1 is "megadrop2":')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 110: send "&6&lRESTART CALEGO SERVERA ZA 10 SEKUND" to all bungee players')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 111: wait 10 real seconds')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 112: execute bungee command "restart" on "megadrop2"')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 113: execute bungee command "restart" on "megadrop"')
> [17:27:16 ERROR]: indentation error: expected 6 tabs, but found 24 spaces (warp.sk, line 114: execute bungee command "restart" on "lobby"')
Odnośnik do komentarza
https://skript.pl/temat/49110-szukam-skryptu-na-restartowanie-servera-z-innego-servera/#findComment-305340
Udostępnij na innych stronach

  • 0
Gość Usunięty#26004
W dniu 9.06.2021 o 17:55, NicosCio napisał:

dalej bledy :/

 

 

> [19:59:17 ERROR]: 'bungee players' is not an entity type (warp.sk, line 97: send "&6&lRESTART SERVERA MEGADROP 1.8.8 ZA 10 SEKUND" to all bungee players')
> [19:59:17 ERROR]: 'bungee players' is not an entity type (warp.sk, line 101: send "&6&lRESTART SERVERA LOBBY ZA 10 SEKUND" to all bungee players')
> [19:59:17 ERROR]: '"restart" on "lobby"' is not a text (warp.sk, line 103: execute bungee command "restart" on "lobby"')
> [19:59:17 ERROR]: 'bungee players' is not an entity type (warp.sk, line 105: send "&6&lRESTART SERVERA MEGADROP 1.16.5 ZA 10 SEKUND" to all bungee players')
> [19:59:17 ERROR]: '"restart" on "megadrop2"' is not a text (warp.sk, line 107: execute bungee command "restart" on "megadrop2"')
> [19:59:17 ERROR]: 'bungee players' is not an entity type (warp.sk, line 109: send "&6&lRESTART CALEGO SERVERA ZA 10 SEKUND" to all bungee players')
> [19:59:17 ERROR]: '"restart" on "megadrop2"' is not a text (warp.sk, line 111: execute bungee command "restart" on "megadrop2"')
> [19:59:17 ERROR]: '"restart" on "megadrop"' is not a text (warp.sk, line 112: execute bungee command "restart" on "megadrop"')
> [19:59:17 ERROR]: '"restart" on "lobby"' is not a text (warp.sk, line 113: execute bungee command "restart" on "lobby"')
Odnośnik do komentarza
https://skript.pl/temat/49110-szukam-skryptu-na-restartowanie-servera-z-innego-servera/#findComment-305389
Udostępnij na innych stronach

  • 0
Gość Usunięty#26004
43 minuty temu, FraZ napisał:

loop all players:

skungee message "&6twoja wiadomosc" to bungee loop-players

           

mozesz mi to zrobic jakby ze wkleic do tamtego skryptu bo ja glupi i wytabowac nie umiem dobrze

Odnośnik do komentarza
https://skript.pl/temat/49110-szukam-skryptu-na-restartowanie-servera-z-innego-servera/#findComment-305400
Udostępnij na innych stronach

  • 0
Godzinę temu, kacpereklubi10 napisał:

mozesz mi to zrobic jakby ze wkleic do tamtego skryptu bo ja glupi i wytabowac nie umiem dobrze

Mogę jutro podesłać około 15. Chyba, że ktoś mnie wyprzedzi.

Odnośnik do komentarza
https://skript.pl/temat/49110-szukam-skryptu-na-restartowanie-servera-z-innego-servera/#findComment-305406
Udostępnij na innych stronach

  • 0

o coś takiego mi chodzi

if arg 1 is "megadrop":
	loop all players:
		skungee message "&6twoja wiadomosc" to bungee loop-players
	wait 10 real seconds
	execute bungee command "restart" on "megadrop2" # zamiast restart powinienes dac cos innego bo komenda restart to ten sskrypt i to bedzie w nieskonczonosc
	execute bungee command "restart" on "megadrop" # zamiast restart powinienes dac cos innego bo komenda restart to ten sskrypt i to bedzie w nieskonczonosc
	execute bungee command "restart" on "lobby" # zamiast restart powinienes dac cos innego bo komenda restart to ten sskrypt i to bedzie w nieskonczonosc

 

Edytowane przez FraZ
Odnośnik do komentarza
https://skript.pl/temat/49110-szukam-skryptu-na-restartowanie-servera-z-innego-servera/#findComment-305433
Udostępnij na innych stronach

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ą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...