Witam mam problem ponieważ nie mam żadnych błędów tylko jak skript pobierze dane z bazy to wyświetlają się tak:
Skrypt:
script options:
$ init com.mysql.jdbc.Driver
$ db url jdbc:mysql://mysql.--------------:3306/-------------
$ db username ----------
$ db password -----------
command /statystyki [<text>]:
trigger:
send title "&9&lBaza danych"with subtitle "&f&lTrwa pobieranie informacji"for3 seconds
set{_uuid} to placeholder "player_uuid"set{_name} to result of query "SELECT `Name` FROM `staty` WHERE `UUID` = '%{_uuid}%';"set{_bed} to result of query "SELECT `Bed` FROM `staty` WHERE `UUID` = '%{_uuid}%'"set{_godziny} to result of query "SELECT `Time` FROM `staty` WHERE `UUID` = '%{_uuid}%';"set{_diax} to result of query "SELECT `Diax` FROM `staty` WHERE `UUID` = '%{_uuid}%';"set{_smierci} to result of query "SELECT `Death` FROM `staty` WHERE `UUID` = '%{_uuid}%';"set{_bloki} to result of query "SELECT `Block` FROM `staty` WHERE `UUID` = '%{_uuid}%';"set{_status} to result of query "SELECT `Status` FROM `staty` WHERE `UUID` = '%{_uuid}%';"set{_firstjoin} to result of query "SELECT `FirstTime` FROM `staty` WHERE `UUID` = '%{_uuid}%';"set{_onlinedate} to result of query "SELECT `OnlineDate` FROM `staty` WHERE `UUID` = '%{_uuid}%';"if{_status} is "Offline":set{_status} to "Offline (%{_onlinedate}%)"
send title "&9&lBaza danych"with subtitle "&f&lPobrano pomyślnie"for3 seconds
open chest with3 rows named "&9&lStatystyki gracza &9&l&n%player%" to player
wait 2 tick
format slot 10of player with1of skull of player named "&f&lNick: &9&l%{_name}%"with lore "&f&lUUID: &9&l%{_uuid}%" to close
format slot 11of player with1of clock named "&f&lCzas gry: &9&l%{_godziny}%h" to close
format slot 12of player with1of diamond ore named "&f&lWykopane diaxy: &9&l%{_diax}%" to close
format slot 13of player with1of leather helmet named "&f&lSmierci: &9&l%{_smierci}%" to close
format slot 14of player with1of red bed named "&f&lPrzespane noce: &9&l%{_bed}%" to close
format slot 15of player with1of wooden pickaxe named "&f&lInterakcje z blokami: &9&l%{_bloki}%" to close
format slot 16of player with1of paper named "&f&lPierwsze dolaczenie: &9&l%{_firstjoin}%" to close
Pytanie
tromek1337 1
Witam mam problem ponieważ nie mam żadnych błędów tylko jak skript pobierze dane z bazy to wyświetlają się tak:
Skrypt:
Informacje o serwerze i dodatkach:
Odnośnik do komentarza
Udostępnij na innych stronach
13 odpowiedzi na to pytanie
Rekomendowane odpowiedzi