Server Not Starting - "Caused by: com.google.gson.stream.MalformedJsonException"
With the update to UUID's in 1.7.9, Minecraft also updated the file formats used for the OPs, Whitelist and Banned Players/IPs files from .txt to .json (plus the usercache.json file which stores player UUID's once they have logged in).
These files have a considerably different layout (see the guide HERE on the whitelist for an example of the changes) and any breaks in the layout, even a missing piece of punctuation or spacing error, can cause the server to crash on startup. In Vanilla this will occur if any of the .json files have a broken layout - some server versions, such as Spigot, will ignore the whitelist.json file if the layout is broken. The whitelist will not work in this case, and the server will still start up fine, but crash if the other .json files are broken.
The easiest way to fix this, if you are not familiar with the .json file layout, is to simply make a note of the names in the file and reset it (There should be nothing but two brackets, , in the file when it is reset). When the file has been reset and the changes saved, restart the server to start it up. To add people to these files afterwards use the following commands through the console (or ingame with a slash infront as normal if you have the permissions/are already OP'd ingame):
- op [name]
- deop [name]
- ban [name]
- pardon [name]
- ban-ip [IP]
- pardon-ip [IP]
- whitelist add [name]
- whitelist remove [name]
Was this answer helpful?
If you are getting the "Failed to adapt server configuration" error in your console when starting...
[INFO] Chunk (42, -2) stored at (35, -28) [SEVERE] java.lang.Throwable[SEVERE] at...
Usually, out of memory errors (and other errors that are similar) is due to your server basically...
In certain situations where your server is overloaded or simply just bugged due to plugins and/or...
Read timed out errors are like a server crash in that you cannot join your server any longer, but...