Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MoTD error with unicode #1614

Closed
Fchen48 opened this issue Oct 17, 2015 · 9 comments
Closed

MoTD error with unicode #1614

Fchen48 opened this issue Oct 17, 2015 · 9 comments

Comments

@Fchen48
Copy link

Fchen48 commented Oct 17, 2015

I use a motd with unicodes like \u00bb or \n, everything in " quotes, I restart bungeecord every day, but after three or five days it will change from this:

motd: "             \u00bb &4Test&r \u00ab\n              second line"

to this:

motd: |2-
               ? &4Test&r ?
                 second line

I'm using Java 8
and latest BungeeCord version: Build 1088

@Phineas
Copy link

Phineas commented Oct 17, 2015

Are you using OpenJDK or Oracle JRE? (Use java -version command and paste here please)

@Phineas
Copy link

Phineas commented Oct 17, 2015

And I assume you're ysing this plugin, correct?:
https://www.spigotmc.org/resources/bungeemotd.6294/

@Fchen48
Copy link
Author

Fchen48 commented Oct 18, 2015

java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

@Fchen48
Copy link
Author

Fchen48 commented Oct 18, 2015

no I don't use any plugin for motd

@kamcio96
Copy link
Contributor

file encoding?

@Fchen48
Copy link
Author

Fchen48 commented Oct 18, 2015

$ file -bi config.yml
text/plain; charset=us-ascii

This is the working config.yml, if the error appears again (I think it will come in the next days), I will check the corrupted file.

@Fchen48
Copy link
Author

Fchen48 commented Oct 18, 2015

Ok found the error, I restarted BungeeCord five till ten times and nothing happens, so I tried to force creating a minigame server with my own load balancing management, and it happens. I use a plugin called BungeeServerManager https://www.spigotmc.org/resources/bungeeservermanager.7388/
It will create a server entry in bungeeconfig with a consol command. I will contact the author of the plugin if he can fix this issue.

thanks a lot.

@Fchen48 Fchen48 closed this as completed Oct 18, 2015
@Fchen48
Copy link
Author

Fchen48 commented Apr 5, 2016

Since 1.9 I still receive this error with no plugins, if I will restart the proxy (no plugins installed) and have a normal motd without Unicode, everything looks normal, but if I will add something like \u00bb and restart the blank BungeeCord it will break like the comment above.

Using BungeeCord 1142

@Fchen48 Fchen48 reopened this Apr 5, 2016
@johnfriedrich
Copy link
Contributor

Still an issue? Try Utf8 without bom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants