String too big

Discussion in 'Spigot Help' started by BadBoy6767, Apr 23, 2015.

  1. I made an MOTD for my server, like this:
    Code (Text):
    \u00A78\u00A7m---\u00A7e\u00A7m--------\u00A7r \u00A78\u00A7l>\u00A76\u00A7l>\u00A7e\u00A7l> \u00A76\u00A7lMIRRORWATER \u00A7e\u00A7l<\u00A76\u00A7l<\u00A78\u00A7l< \u00A7e\u00A7m--------\u00A78\u00A7m---
    And now, everytime I refresh in the client servers menu, I get this is in the server:
    Code (Text):
    [14:04:17 ERROR]: io.netty.handler.codec.EncoderException: String too big (was 3
    7709 bytes encoded, max 32767)
  2. You have a lot of escape unicode stuff, one of them doesn't take up 1 character but 6 or higher characters. And minecraft can't handle so much characters as you have. If I'm right you should make your motd shorter. maybe by removing the unicode characters. when you have things like a strikethrough or underlined you can just use the minecraft way of doing that with the color method.
  3. JamesJ


    Use ChatColor#translateAlternateColorCodes('char', "text");
  4. Thanks everyone for the help, turns out my server icon was exported with 16 bit color mode, that turned out to use too much space so I instead used 8 bit color mode.