Skocz do zawartości
  • 0

Skrypt na komende


BlackRode
 Udostępnij

Pytanie

12 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Błędy z komendą ./compas próbowałem coś zrobić, ale nie przyniosło rezultatu :/
[14:07:45] [Server thread/ERROR]: indentation error: expected 8 spaces, but found "________->_" [-> = tab, _ = space, ? = other whitespace] (dsad.sk, line 33: format slot 0 of player with 1 stone named "&cTeleport 1" with lore " || &8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "/sktp %arg-1%"]")
[14:07:45] [Server thread/ERROR]: indentation error: expected 8 spaces, but found "_______->_" [-> = tab, _ = space, ? = other whitespace] (dsad.sk, line 34: format slot 1 of player with 1 arrow named "&cTeleport 2" with lore " || &8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "/sktp %arg-1%"]")
[14:07:45] [Server thread/ERROR]: indentation error: expected 8 spaces, but found "________->_" [-> = tab, _ = space, ? = other whitespace] (dsad.sk, line 35: format slot 2 of player with 1 arrow named "&cTeleport 3" with lore " || &8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "/sktp %arg-1%"]")
[14:07:45] [Server thread/ERROR]: indentation error: expected 8 spaces, but found "_______->_" [-> = tab, _ = space, ? = other whitespace] (dsad.sk, line 36: format slot 3 of player with 1 arrow named "&cTeleport 4" with lore " || &8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "/sktp %arg-1%"]")
[14:07:45] [Server thread/ERROR]: indentation error: expected 8 spaces, but found "_______->_" [-> = tab, _ = space, ? = other whitespace] (dsad.sk, line 37: format slot 4 of player with 1 arrow named "&cTeleport 5" with lore " || &8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "/sktp %arg-1%"]")
[14:07:45] [Server thread/ERROR]: Unexpected entry "pemrission message". Check whether it"s spelled correctly or remove it. (dsad.sk, line 3: pemrission message: &4Nie masz dostepu do tej komendy!")
[14:07:46] [Server thread/INFO]: [Skript][m Encountered 6 errors while reloading dsad.sk[m!



 
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

'indentation error' oznacza że w wymienionych linijkach jest źle wytabowane. Skasuj wszystkie taby/spacje przed linijkami z 'format slot' i wytabuj jeszcze raz.

Ostatni error oznacza literówke w słowie 'permission' w 3 linijce

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Teraz takie coś :/

[00:17:10] [Server thread/ERROR]: Unexpected entry "pemrission message". Check whether it"s spelled correctly or remove it. (dsad.sk, line 3: pemrission message: &4Nie masz dostepu do tej komendy!")
[00:17:10] [Server thread/ERROR]: ""sktp %arg-1%"]" is not a text (dsad.sk, line 33: format slot 1 of player with 1 arrow named "&cTeleport 2" with lore " ||&8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "sktp %arg-1%"]")
[00:17:10] [Server thread/ERROR]: ""sktp %arg-1%"]" is not a text (dsad.sk, line 34: format slot 2 of player with 1 arrow named "&cTeleport 3" with lore " ||&8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "sktp %arg-1%"]")
[00:17:10] [Server thread/ERROR]: ""sktp %arg-1%"]" is not a text (dsad.sk, line 35: format slot 3 of player with 1 arrow named "&cTeleport 4" with lore " ||&8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "sktp %arg-1%"]")
[00:17:10] [Server thread/ERROR]: ""sktp %arg-1%"]" is not a text (dsad.sk, line 36: format slot 4 of player with 1 arrow named "&cTeleport 5" with lore " ||&8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "sktp %arg-1%"]")
[00:17:10] [Server thread/INFO]: [Skript][m Encountered 5 errors while reloading dsad.sk[m!
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Spróbuj zamienić to: 

format slot 0 of player with 1 arrow named "&cTeleport 1" with lore " || &8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "/sktp %arg-1%"]

Na to:


format slot 0 of player with 1 of arrow named "&cTeleport 1" with lore " || &8>> &7Kliknij, aby przeteleportowac|| to close then run [execute player command "sktp %arg-1%"]

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Ciężko przeczytać wszystkie błędy ?
Nawet jak poprawie to permission dalej to wyskakuje ;/

[00:17:10] [Server thread/ERROR]: ""sktp %arg-1%"]" is not a text (dsad.sk, line 33: format slot 1 of player with 1 arrow named "&cTeleport 2" with lore " ||&8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "sktp %arg-1%"]")
[00:17:10] [Server thread/ERROR]: ""sktp %arg-1%"]" is not a text (dsad.sk, line 34: format slot 2 of player with 1 arrow named "&cTeleport 3" with lore " ||&8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "sktp %arg-1%"]")
[00:17:10] [Server thread/ERROR]: ""sktp %arg-1%"]" is not a text (dsad.sk, line 35: format slot 3 of player with 1 arrow named "&cTeleport 4" with lore " ||&8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "sktp %arg-1%"]")
[00:17:10] [Server thread/ERROR]: ""sktp %arg-1%"]" is not a text (dsad.sk, line 36: format slot 4 of player with 1 arrow named "&cTeleport 5" with lore " ||&8>> &7Kliknij, aby przeteleportowac|| " to close then run [make player execute command "sktp %arg-1%"]")
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Skąd wy właściwie wzięliście argument w komendzie, która go nie zawiera i w miejscu gdzie jest niepotrzebny. 

Albo pozamieniaj wszystkie te %arg 1% na numer danego teleportu, albo skorzystaj z tego co ja ci wysłałem, gdzie wszystko wygeneruje sie samo. @BlackRode

 

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

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

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