Skocz do zawartości
  • 0

Zmiana nicku - problem.


bopke

Pytanie

Witam, mam problem z moim skriptem, którego jednym z zadań jest zmiana nicku gracza. Niestety, ale przy próbie z
 

set the player's tablist name to "&c[%{tag.%player%}%]&r%name of player%"set the player's name to "&6[&c%{tag.%player%}%&6]&r %name of player%"set player's tag to "&c[%{tag.%player%}%]&r%name of player%"

Działy się następujące rzeczy:
Jedyne, co działało, to zmiana tagu gracza, ale tylko do czasu, kiedy napisał coś na czacie. W tym momencie tag znikał.

Natomiast z tablist name i name problem jest taki, że przy ładowaniu skryptu wyrzuca następujące informacje:
 

[23:40:20] [Server thread/ERROR]: Cannot change the Minecraft name of a player. Change the 'display name of <player>' or 'tablist name of <player>' instead. (frakcja.sk, line 71: set the player's name to "&6[&c%{tag.%player%}%&6]&r %name of player%"')[23:40:20] [Server thread/ERROR]: Cannot change the Minecraft name of a player. Change the 'display name of <player>' or 'tablist name of <player>' instead. (frakcja.sk, line 98: set the player's name to "&6[&c%{tag.%player%}%&6]&r %name of player%"')

Korzystam z dodatku wildskript.

Ktoś może wie, czym jest to spowodowane? Jak mogę to poprawić?

Z góry dzięki,
Bobek Robal.

Odnośnik do komentarza
https://skript.pl/temat/1733-zmiana-nicku-problem/
Udostępnij na innych stronach

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Gość DonFallingCookie
set the player's tablist name to "&c[%{tag.%player%}%]&r%name of player%" // skript wykrywal twój kod jako "chce zmienic nick gracza, a nie chce zmienic wyswietlana nazwe graczaset the player's display name to "&6[&c%{tag.%player%}%&6]&r %name of player%"
Edytowane przez DonFallingCookie
Odnośnik do komentarza
https://skript.pl/temat/1733-zmiana-nicku-problem/#findComment-14559
Udostępnij na innych stronach

  • 0

[11:47:47] [Server thread/ERROR]: Cannot change the Minecraft name of a player. Change the 'display name of <player>' or 'tablist name of <player>' instead. (frakcja.sk, line 98: set the player's name to "&6[&c%{tag.%player%}%&6]&r %name of player%"')[11:47:47] [Server thread/ERROR]: Cannot change the Minecraft name of a player. Change the 'display name of <player>' or 'tablist name of <player>' instead. (frakcja.sk, line 114: set the player's name to "&r%name of player%"')[11:47:47] [Server thread/ERROR]: Cannot change the Minecraft name of a player. Change the 'display name of <player>' or 'tablist name of <player>' instead. (frakcja.sk, line 129: set the player's name to "&r%name of player%"')

Wciąż ten sam problem. Co dziwne, jest to próba z tą częścią 'tablist name of <player>' schowanej w komentarzu. Wciąż nie działa.

 

Nevermind, na próbę zmieniłem tylko w kilku linijkach, zostawiając resztę niezmienioną :g

Zaraz sprawdzę i napiszę czy działa

@Edit: Wciąż nie działa poprawnie. dodaje tag tylko na czacie, natomiast na tabie nic sięnie zmienia. Do tego tag znika po lognięciu gracza.

 

Edytowane przez bobekrobal
Odnośnik do komentarza
https://skript.pl/temat/1733-zmiana-nicku-problem/#findComment-14618
Udostępnij na innych stronach

  • 0

Co do znikania po relognięciu, to chyba logiczne -.-

Musisz dać
 

On join:    set the player's tablist name to "&c[%{tag.%player%}%]&r %name of player%"    set the player's display name to "&6[&c%{tag.%player%}%&6]&r %name of player%"
Edytowane przez kresrek007
Odnośnik do komentarza
https://skript.pl/temat/1733-zmiana-nicku-problem/#findComment-14635
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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