pdinklag / MinecraftStats

A Minecraft player statistics browser for the web - supports 1.13 and later!
https://discord.gg/brH5PGG8By
Other
228 stars 53 forks source link

Updating to1.16.2 #121

Closed Sky-Evil closed 4 years ago

Sky-Evil commented 4 years ago

Hello! How about updating statistics to 1.16.2? Many new blocks and mobs were added there.

pdinklag commented 4 years ago

Some snapshot added Piglin Brutes, that's covered in issue #107 . I just had a look at the 1.16.2 and 1.16.3 wiki pages and can't really find anything else new added after 1.16?

Sky-Evil commented 4 years ago

Sorry if the update for 1.16.2 is already ready. How can I update it for my server? What files need to be replaced, without loss of already existing statistics.

pdinklag commented 4 years ago

There's a section about it in the readme, you just need a git pull or, if you don't use git, re-download and overwrite all existing files. The data directory is not part of the repository, you don't have to delete it. And even if you did, the data itself is still present in the Minecraft server so it would be back after running an update.

pdinklag commented 4 years ago

Also make sure to look at Troubleshooting if you get an "unrecognized argument" error when you run update.py after updating MinecraftStats. The way update.py is used has slightly changed and is described in the readme also.

Sky-Evil commented 4 years ago

I did everything I could, but I get it. image Config screen image

Before that I downloaded all the files using the git clone command https://github.com/pdinklag/MinecraftStats.git And replaced them manually, deleting old files and folders except "data"

pdinklag commented 4 years ago

I did everything I could, but I get it. image Config screen image

Before that I downloaded all the files using the git clone command https://github.com/pdinklag/MinecraftStats.git And replaced them manually, deleting old files and folders except "data"

What you typed there is invalid JSON, the path needs to be in quotes ("root/server").

Also, are you absolutely sure that "root/server" is the full path to your Minecraft server - it doesn't even begin with a slash? I don't know if you have symbolic links set up locally, it's just something I noticed.

Sky-Evil commented 4 years ago

Oh my God! Yes, I did it! The update was successful, thank you for telling me!