Skocz do zawartości

Skrypt na /czas dzien/noc


Rekomendowane odpowiedzi

Siemanko dziś przedstawie wam skrypt na /czas dzien/noc

Jak beda bledy to pisac komentarz albo pv discord: xMarmo321#0641

Prosze nie hejtować bo to moj pierwszy skrypt :(

Jeśli się spodoba mogę napisać skryptów więcej :)

Jak coś albo dc albo tu pod postem komentarz.

Wymagania:

Skript 2.5 Minimum

Pozdrawiam xMarmo321

Edytowane przez xMarmo321
Odnośnik do komentarza
https://skript.pl/temat/52191-skrypt-na-czas-dziennoc/
Udostępnij na innych stronach

Błędy:

Spoiler

[19:54:53] [Server thread/INFO]: [Skript] Reloading hehe.sk...
[19:54:53] [Server thread/ERROR]: indentation error: expected 3 tabs, but found 4 tabs (hehe.sk, line 9: else:')
[19:54:53] [Server thread/ERROR]: indentation error: expected 3 tabs, but found 5 tabs (hehe.sk, line 10: send "&4&lBlad &7>> &6Poprawne uzycie &7/czas <day/night>!"')
[19:54:53] [Server thread/ERROR]: indentation error: expected 3 tabs, but found 4 tabs (hehe.sk, line 16: else:')
[19:54:53] [Server thread/ERROR]: indentation error: expected 3 tabs, but found 5 tabs (hehe.sk, line 17: send "&4&lBlad &7>> &6Poprawne uzycie &7/czas <day/night>"')
[19:54:53] [Server thread/ERROR]: indentation error: expected 3 tabs, but found 5 tabs (hehe.sk, line 18: stop')
[19:54:53] [Server thread/ERROR]: Can't compare 'if arg 1' with a text (hehe.sk, line 6: if arg 1 is "dzien" or "day" or "d"')
[19:54:53] [Server thread/ERROR]: Can't understand this condition/effect: execute console command /time set day (hehe.sk, line 7: execute console command /time set day')
[19:54:53] [Server thread/ERROR]: Can't compare 'if arg 1' with a text (hehe.sk, line 12: if arg 1 is "noc" or "night" or "n"')
[19:54:53] [Server thread/ERROR]: Can't understand this condition/effect: execute console command /time set night (hehe.sk, line 13: execute console command /time set night')
[19:54:53] [Server thread/INFO]: [Skript] Encountered 9 errors while reloading hehe.sk!

Moja wersja serwera i skripta:

Spoiler

[19:55:24] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-37d799b-3eb7236 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)
[19:55:24] [Server thread/INFO]: Checking version, please wait...
[19:55:25] [Thread-15/INFO]: You are 52 version(s) behind
>ver sk
[19:55:27] [Server thread/INFO]: Skript version 2.5.3
[19:55:27] [Server thread/INFO]: Customize Minecraft's mechanics with simple scripts written in plain English sentences.
[19:55:27] [Server thread/INFO]: Website: https://skriptlang.github.io/Skript
[19:55:27] [Server thread/INFO]: Authors: Njol, Mirreski, bensku, TheBentoBox, FranKusmiruk, ShaneBeee, Blueyescat, JRoy, Nicofisi, APickledWalrus, xXAndrew28Xx, Syst3ms, TheLimeGlass, Pikachu920, Sashie, Wealthyturtle, OfficialDonut and eyesniper2
[19:55:27] [Server thread/INFO]: skript-gui version 1.3-beta1
[19:55:27] [Server thread/INFO]: Enables the easy creation of advanced and organized GUIs with Skript.
[19:55:27] [Server thread/INFO]: Website: https://github.com/APickledWalrus/skript-gui
[19:55:27] [Server thread/INFO]: Authors: APickledWalrus and Tuke_Nuke
[19:55:27] [Server thread/INFO]: skript-reflect version 2.2.1
[19:55:27] [Server thread/INFO]: Reflection utilities for Skript
[19:55:27] [Server thread/INFO]: Website: https://github.com/TPGamesNL/skript-reflect
[19:55:27] [Server thread/INFO]: Authors: Bryan Terce <bryan.terce@gmail.com> and TPGamesNL
[19:55:27] [Server thread/INFO]: skUtilities version 0.9.0
[19:55:27] [Server thread/INFO]: An addon for skript that adds conversions, utilities, files and much more.
[19:55:27] [Server thread/INFO]: Website: https://tim740.github.io/
[19:55:27] [Server thread/INFO]: Author: tim740
[19:55:27] [Server thread/INFO]: FunnySkAddon-Extended version 1.8.8
[19:55:27] [Server thread/INFO]: Authors: McKoxu and LloydPL
[19:55:27] [Server thread/INFO]: SkQuery version 4.1.4
[19:55:27] [Server thread/INFO]: Authors: LimeGlass and w00tmast3r

 

 

Gdyby skrypt działał, byłby spoko na lokalny serwer.

Na publikę go dawać i by gracze mogli go używać z tymi uprawnieniami co podałeś to średnio, bo każdy by spamował i zakłócał pracę serwera.

Lepiej by było dać jakiś licznik głosów i by głosowanie się rozpoczynało wieczorem czy ma być noc czy dzień. 

Pozdrawiam #Knugi

Edytowane przez knugi
Odnośnik do komentarza
https://skript.pl/temat/52191-skrypt-na-czas-dziennoc/#findComment-319340
Udostępnij na innych stronach

13 godzin temu, knugi napisał:

Błędy:

  Ukryj zawartość

[19:54:53] [Server thread/INFO]: [Skript] Reloading hehe.sk...
[19:54:53] [Server thread/ERROR]: indentation error: expected 3 tabs, but found 4 tabs (hehe.sk, line 9: else:')
[19:54:53] [Server thread/ERROR]: indentation error: expected 3 tabs, but found 5 tabs (hehe.sk, line 10: send "&4&lBlad &7>> &6Poprawne uzycie &7/czas <day/night>!"')
[19:54:53] [Server thread/ERROR]: indentation error: expected 3 tabs, but found 4 tabs (hehe.sk, line 16: else:')
[19:54:53] [Server thread/ERROR]: indentation error: expected 3 tabs, but found 5 tabs (hehe.sk, line 17: send "&4&lBlad &7>> &6Poprawne uzycie &7/czas <day/night>"')
[19:54:53] [Server thread/ERROR]: indentation error: expected 3 tabs, but found 5 tabs (hehe.sk, line 18: stop')
[19:54:53] [Server thread/ERROR]: Can't compare 'if arg 1' with a text (hehe.sk, line 6: if arg 1 is "dzien" or "day" or "d"')
[19:54:53] [Server thread/ERROR]: Can't understand this condition/effect: execute console command /time set day (hehe.sk, line 7: execute console command /time set day')
[19:54:53] [Server thread/ERROR]: Can't compare 'if arg 1' with a text (hehe.sk, line 12: if arg 1 is "noc" or "night" or "n"')
[19:54:53] [Server thread/ERROR]: Can't understand this condition/effect: execute console command /time set night (hehe.sk, line 13: execute console command /time set night')
[19:54:53] [Server thread/INFO]: [Skript] Encountered 9 errors while reloading hehe.sk!

Moja wersja serwera i skripta:

  Ukryj zawartość

[19:55:24] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-37d799b-3eb7236 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)
[19:55:24] [Server thread/INFO]: Checking version, please wait...
[19:55:25] [Thread-15/INFO]: You are 52 version(s) behind
>ver sk
[19:55:27] [Server thread/INFO]: Skript version 2.5.3
[19:55:27] [Server thread/INFO]: Customize Minecraft's mechanics with simple scripts written in plain English sentences.
[19:55:27] [Server thread/INFO]: Website: https://skriptlang.github.io/Skript
[19:55:27] [Server thread/INFO]: Authors: Njol, Mirreski, bensku, TheBentoBox, FranKusmiruk, ShaneBeee, Blueyescat, JRoy, Nicofisi, APickledWalrus, xXAndrew28Xx, Syst3ms, TheLimeGlass, Pikachu920, Sashie, Wealthyturtle, OfficialDonut and eyesniper2
[19:55:27] [Server thread/INFO]: skript-gui version 1.3-beta1
[19:55:27] [Server thread/INFO]: Enables the easy creation of advanced and organized GUIs with Skript.
[19:55:27] [Server thread/INFO]: Website: https://github.com/APickledWalrus/skript-gui
[19:55:27] [Server thread/INFO]: Authors: APickledWalrus and Tuke_Nuke
[19:55:27] [Server thread/INFO]: skript-reflect version 2.2.1
[19:55:27] [Server thread/INFO]: Reflection utilities for Skript
[19:55:27] [Server thread/INFO]: Website: https://github.com/TPGamesNL/skript-reflect
[19:55:27] [Server thread/INFO]: Authors: Bryan Terce <bryan.terce@gmail.com> and TPGamesNL
[19:55:27] [Server thread/INFO]: skUtilities version 0.9.0
[19:55:27] [Server thread/INFO]: An addon for skript that adds conversions, utilities, files and much more.
[19:55:27] [Server thread/INFO]: Website: https://tim740.github.io/
[19:55:27] [Server thread/INFO]: Author: tim740
[19:55:27] [Server thread/INFO]: FunnySkAddon-Extended version 1.8.8
[19:55:27] [Server thread/INFO]: Authors: McKoxu and LloydPL
[19:55:27] [Server thread/INFO]: SkQuery version 4.1.4
[19:55:27] [Server thread/INFO]: Authors: LimeGlass and w00tmast3r

 

 

Gdyby skrypt działał, byłby spoko na lokalny serwer.

Na publikę go dawać i by gracze mogli go używać z tymi uprawnieniami co podałeś to średnio, bo każdy by spamował i zakłócał pracę serwera.

Lepiej by było dać jakiś licznik głosów i by głosowanie się rozpoczynało wieczorem czy ma być noc czy dzień. 

Pozdrawiam #Knugi

Dobrze postaram się zrobić głosowanie a co do tych błędów używałem tabulatorów a serwer ich jie rozumie trzeba je zmienić na spacje jak będziesz chciał zrobię to albo ty jak wolisz 

Pozdrawiam xMarmo321

Odnośnik do komentarza
https://skript.pl/temat/52191-skrypt-na-czas-dziennoc/#findComment-319352
Udostępnij na innych stronach

Proszę oto bardziej rozbudowany skrypt wersja 1.0 

Mam nadzieję że się spodoba :)

Dodam jeszcze że

Czas można zmienić w 50 linijce i napis w 46 standardowo jest 15 s

Skrypt w większości konfiguralny :)

Pozdrawiam 

xMarmo321

Edytowane przez xMarmo321
Pomyłka
Odnośnik do komentarza
https://skript.pl/temat/52191-skrypt-na-czas-dziennoc/#findComment-319363
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
Dodaj odpowiedź do tematu...

×   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ę...