pdinklag / MinecraftStats

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

Basic Setup. #1

Closed KaneHart closed 9 years ago

KaneHart commented 9 years ago

Is there a basic guide on setup. I'm finding my biggest issue is I don't know how to say dump server stats or retrive the server stats. I know the player dat files are UUID's now not sure if they go into the data or raw folder if I should even be creating them etc.

Thanks.

Slab30 commented 9 years ago

If you are running linux you have to copy the content of your /path/to/world/stats folder to the /path/to/MinecraftStats/raw folder and then "cd" to the /path/to/MinecraftStats/update.php folder and "run php5 update.php".

You can set up a cronjob running a script like this:

!/bin/bash

cd /path/to/MinecraftStats rsync -rt --delete /path/to/world/stats/ /path/to/MinecraftStats/raw/ php5 update.php

pdinklag commented 9 years ago

Sorry for the lack of documentation, it was never really meant to be a public project.

But since there seems to be increasing interest, I'll look into writing one. Slab's descritpion works, but you'll still lack icons (which I didn't put into the repository for legal reasons - I'll look into that, too).