setup/webstats
Webstats
When the plugin is finished, there will be three ways to implement webstats, using the php backend on a webserver, using the php backend with the minecraft server acting as a interface to your database, and the last option, letting your minecraft server be the webserver. So far only the php backend has been implemented.
Option 1: PHP backend on a webserver
This option requires that you have a webserver and that your sql database is accessible to this webserver. Copy the webstats folder to your webserver ftp. once its up on your site, edit the db_con.php file to match your sql settings on your server. Once finished goto the page and you should see your webstats.
@sammyben 000webhost are notorious for being paranoid bastards. They do not allow any form of external file access. I had the same problem with them when I was installing the coreprotect web interface. Take my advice - go with a paid hosting company. I recommend GoDaddy or see of your server host has a web hosting service - its very handy having your mc server and web server in the same place!
I really don't understand, where and what is the webstats folder? I cannot find it anywhere!
@silentsam55
Enable it in the config and then it will generate one for you!
@iDarkOrbitz69
Optional...
I have enabled everything possible and I just cant get a webstats folder to generate, can you maybe upload a fresh one for us all to download and transfer to our webservers?
Yes can you please generate a clean folder that we can use? That would be awesome! Thanks
I have my SQL database set-up and running perfectly, but Is there anyway of taking the stats from the database and having then as scores in-game, before the group?
@graveXrobber
Same problem.. Please upload one.
Permissions isnt working! I added it and its on the list of commands but its not working!
I do not get the webstats folder
plz upload a vid i dont get this and msql dam or give me a link
Please Download a older version as ZIP file, in this there is the "webstats" folder with all files for webserver.
- edit /plugins/Survivalgames/config.yml
in the config.yml enable sql, write correct MySQL connectivity, enable stats
start the server and start a HG session (now the Database will fill up with informations)
- extract (or copy) the "webstats" folder in a Webspacefolder that reach with your browser.
edit /webspacefolder/webstats/db_con.php and write the correct MySQL connectivity.
If your Webserver correct running with PHP-Parser then in your browser similar entry http://abcdefgh/webstats/index.php and the statistic schow the information of the played games.
abcdefgh = localhost or the domain that you use for your webspace
Whoever creates a video tutorial on this would be awesome. :P
Help I can't find "webstat" folder in SurvivalGames folder! Why?
why cant i create a wall
i cant make the lobby wall with /sg addwall D= MAKE VIDEO A TUTORIAL
I've got this error message showing on my stats page : "Table 'trieste-games_zxq_sgstats.sg_playerstats' doesn't exist"
It is because nobody ever played on my server(because it is under constuction) or something is wrong with my files :
config.yml
db_con.php
@Jawstin
I have the same problem
is there any way to make tnt auto ignite when placed and not do damage to the terrein so it can be used as weapon and is there a way to make it so item frames get replaced and restored with the items that were in it before someone punched it the round before?
those would be some good things
Table 'blocs234_stats2.sg_playerstats' doesn't exist Table 'blocs234_stats2.sg_gamestats' doesn't exist 0 games have been played by 0 players who have played 0 times for a total of 0 days in playing time and a total of 0 points
What can i do??? I start a HG session with friends... What can i do, pe,as ehelp me all SQL informstions were good