Geyser
Geyser copied to clipboard
Not displaying the chat
Describe the bug
Bedrock players are not able to see the chat. Only 'chat.type.text' is shown in the chat.
To Reproduce
All bedrock users encouter this issue in the server
Expected behaviour
Only 'chat.type.text' is shown in the chat.
Screenshots / Videos
Server Version and Plugins
fabric server 1.18.2 with geyser fabric
Geyser Dump
No response
Geyser Version
Geyser-Fabric-2.0.3-SNAPSHOT
Minecraft: Bedrock Edition Device/Version
No response
Additional Context
No response
Please provide a Geyser dump.
Run geyser dump
(server console) / /geyser dump
(ingame chat) on your Geyser instance or server, then copy the link it will give you and paste it here. A Geyser dump is a way of providing us with a bunch of useful information about your server and Geyser config. This doesn't include any IPs or sensitive data.
https://dump.geysermc.org/MElJtFmfLjffLBwMEAmuEjLS4rZoh4Ch
Can you try adding the JVM flag -Dfile.encoding=UTF-8
(before -jar
)?
Thanks, it work! By the way, is there an alternative for this solution? This is a Chinese server, so changing the encoding techniques actually disables the server console from displaying Chinese characters. But if there're not any alternatives, I will try to figure out a way to deal with this by myself. Thanks again!
I'll leave this open since it's probably an issue on our end somewhere.
OK, thanks!
I‘m having the same issue on a server based on paper. I tried adding the -Dfile.encoding=UTF-8 flag and the issue is still the exact same.
here is the dump: https://dump.geysermc.org/gjOEGbh9q8ncXZTXZTqxImROWDts01PL please can you help? thank you. and thank you for geyser, its amazing!
Can you post a full set of server logs as well?
2022-07-13-2.log.gz if this is what you mean... this is a log contains our chat and that the chats sent by the JAVA player cannot be recieved by a BEDROCK (IOS) player, instead "chat.type.text" was recieved.
I also noticed that if the JAVA player types normally it would be "chat.type.text" recieved, but if I typed with "/say" it would be "chat.type.announcement". I dont know if this is helpful though. If it isn't, sorry for bothering...
If vm args isn't work and folder Geyser/locales
was empty, try use network proxy services for your server to Improve your connection to the mojang server.
This problem is caused by your network environment. If you cannot download the localization file for your system language from the mojang server, Geyser will unable to find the i18n key chat.type.text
.So it cannot send its localized key value<%s>%s
,because the localization file is missing.
When your localization file was successful download from mojang server and your chat text was restored ,you can close network proxy services.
OK , and I am going to try starting my Internet Proxy.
I discovered that users in China can't download a file named "zh_cn.json" because of the China's Internet Firewall ,and it may causes this issue.. You can download it here ,unzip it, and put it in "/locales" , and it may works. zh_cn.zip .
Yes, problem solved after using proxy
!
Thanks to @fengye1003 , chat is now displayed properly
I discovered that users in China can't download a file named "zh_cn.json" because of the China's Internet Firewall ,and it may causes this issue.. You can download it here ,unzip it, and put it in "/locales" , and it may works. zh_cn.zip .
请问这是从哪里下载的?我想下载en_us
I discovered that users in China can't download a file named "zh_cn.json" because of the China's Internet Firewall ,and it may causes this issue.. You can download it here ,unzip it, and put it in "/locales" , and it may works. zh_cn.zip .
请问这是从哪里下载的?我想下载en_us
你好你好,这个我是挂了代理下载到的,理论上说只要开着代理然后配置文件里面设置英文,程序就会自动补全了。
I discovered that users in China can't download a file named "zh_cn.json" because of the China's Internet Firewall ,and it may causes this issue.. You can download it here ,unzip it, and put it in "/locales" , and it may works. zh_cn.zip .
请问这是从哪里下载的?我想下载en_us
Hey, you can try the files following. Emm, I found these files in a backup folder. I am not sure if it works in the latest version or not. If it not works, then you may need to download them with proxy.
[Chinese Version] 试试这些文件吧,我从之前的备份里面找到的. 版本可能不是最新版,所以我不太确定是否可以正常工作. 如果不能正常工作,那么就需要连着代理去让Geyser自动补全了(实在不行你可以QQ联系我:3072554288 我看看能不能帮上忙)
如果你不方便使用GitHub的文件下载服务,可以在以下镜像链接下载: https://pan.huang1111.cn/api/v3/file/source/1735774/locales.zip?sign=qmjjL7ahTdCpbNpmPPtVqdisnQ5RrY_sllX3meVdAOI%3D%3A0
Closing this as this is an issue only occurring when the locale could not be downloaded - if it is blocked behind a firewall, we cannot fix that so you would have to manually supply the locale (see the last comment here), and if you cannot see chat, it might be due to a corrupted locale file. In which case, delete the broken one from geyser's locales folder, and restart - that works in most cases.