MineScore
MineScore adds an online highscores feature to your server, with multiple leader boards and easy configuration.
Updated 23/04/2012 v0.8.1 - Bug fixes!
- Visit our website to see a live demo of the score boards: http://www.minescore.com
NOTE: If starting a new database use this query and not the one provided, the one provided has 1 extra bracket in after NOT NULL and that basically breaks the whole thing, sorry! I'll fix it in the next release...
CREATE DATABASE highscores;
USE highscores;
CREATE TABLE pvphighscores (id SMALLINT
UNSIGNED NULL AUTO_INCREMENT PRIMARY KEY,
name VARCHAR( 30 ) CHARACTER SET latin1
COLLATE latin1_swedish_ci NOT NULL,
kills INT( 11 ) NOT NULL,
deaths INT( 11 ) NOT NULL,
rating INT( 11 ) NOT NULL,
honor INT( 11 ) NOT NULL,
current INT( 11 ) NOT NULL,
killstreak INT( 11 ) NOT NULL);
CREATE TABLE mobhighscores (id SMALLINT
UNSIGNED NULL AUTO_INCREMENT PRIMARY KEY,
name VARCHAR( 30 ) CHARACTER SET latin1
COLLATE latin1_swedish_ci NOT NULL,
kills INT( 11 ) NOT NULL,
deaths INT( 11 ) NOT NULL);
CREATE TABLE minehighscores (id SMALLINT
UNSIGNED NULL AUTO_INCREMENT PRIMARY KEY,
name VARCHAR( 30 ) CHARACTER SET latin1
COLLATE latin1_swedish_ci NOT NULL,
coal INT( 11 ) NOT NULL DEFAULT 0,
iron INT( 11 ) NOT NULL DEFAULT 0,
redstone INT( 11 ) NOT NULL DEFAULT 0,
lapis INT( 11 ) NOT NULL DEFAULT 0,
gold INT( 11 ) NOT NULL DEFAULT 0,
obby INT( 11 ) NOT NULL DEFAULT 0,
diamond INT( 11 ) NOT NULL DEFAULT 0);
CREATE TABLE farmhighscores (id SMALLINT
UNSIGNED NULL AUTO_INCREMENT PRIMARY KEY,
name VARCHAR( 30 ) CHARACTER SET latin1
COLLATE latin1_swedish_ci NOT NULL,
wheat INT( 11 ) NOT NULL DEFAULT 0,
melon INT( 11 ) NOT NULL DEFAULT 0,
pumpkin INT( 11 ) NOT NULL DEFAULT 0,
pwheat INT( 11 ) NOT NULL DEFAULT 0,
pmelon INT( 11 ) NOT NULL DEFAULT 0,
ppumpkin INT( 11 ) NOT NULL DEFAULT 0);
CREATE TABLE blocks (location VARCHAR( 1000 ) CHARACTER SET latin1
COLLATE latin1_swedish_ci NOT NULL);
Current Features:
- Pvp Kills and deaths and Mob Kills and deaths are recorded and sent to a database.
- A webpage displays a leader board depending on which one you have selected (out of Pvp and Mobs).
- Their rank, name, kills, deaths and kill to death ratio are displayed on both leader boards.
- Another leader board displaying mining info, telling you how many coal, iron, redstone, lapis, gold, obsidian and diamond you have ever mined and your total amount.
- Top killer is highlighted red.
- Attractive leader board layout
- Leader board displays 10 results and automatically generates pages to display the others
- Website can be configured with ease, including such choices as default leader board to be displayed and which leader boards you want to include.
- In game commands /minescore(or ms) pvp/mob/mine . Each different one displays your own stats in the specified board.
- Ready-made MySQL query included so you can create your database with ease.
- Instructions on how to install and use the mod are included also.
Future Features:
- Option to order leader board by best kill to death ratio, least deaths and alphabetically by name.
- If enough people use this plugin I would like to set up a global website, which every plugin will connect to so you can see how you do against people all over the minecraft community.
- More detailed stats, not just in pvp, 1.8 will open many doors I'm sure. These will be able to be turned off in config so you only display the scores YOU want.
- A more aesthetically pleasing leader board look and layout.
- Support for other plugins, for example Towny leader boards. Please Tell me what plugins you want support for.
- Any suggestions?
Don't forget to post a comment saying you have it on your server, as if enough people use it I would like to set up a global website, so you can see how your players fare against all the other people using this plugin!
Please pose screen shots of your high scores so I can add them to the post! And of course report any bugs to me so I can fix then ASAP!
Thank you for using MineScore!
Any update on the way ?
Gotta love it, thanks for this plugin - just about to upgrade to 1.2 - will it work? Update coming soon if not I hope.
@ASLDIGHAISLH
I'm not sure how I can explain this better XD You put the plugin website files into your root folder, if that's where you want them. You could put them inside a folder inside the root folder, or inside a folder inside a folder inside the root folder and so on :P As long as it's somewhere in the root folder it will work. The root folder is in your XAMP installation or w/e its usually called htdocs or something along those lines.
What exactly do you mean by put it in my root folder? Put what into which root folder? XAMPP into the server root folder?
@ASLDIGHAISLH
yup
@Kamisoyokaze
Is it possible to use XAMPP?
@ASLDIGHAISLH
That's nothing to do with me, it's completely up to you, I'll offer you some guidance though. Let's say you are hosting it on your server, provided you have a web server installed on it, for example WAMP or LAMP, then it will work, put it in your root directory, if its just in your root directory then it will simply be your ip, if you put it inside a folder in your route directory it will be ip/foldername. or if you don't understand about setting up your own web server (if it doesn't already have one) You can simply use a free web host provided it has php and Mysql.
Hi, I've set everything up (btw there way a little formatting error in your MySQL script, but I fixed it), but how exactly do I ACCESS my highscore website? I've tried mc.calebac.com/highscores but that doesn't work (mc.calebac.com is my IP). So how exactly do I access/set up the highscores website?
good to hear you will still update it :D
@MCBuncey
I'll update it for minecraft 1.2. And I'm glad you like it :)
Will this still be able to run on upcoming R5 or R4 please update this I really like this plugin :D
@Kamisoyokaze
Well that was wierd its back working again anyway keep up this awesome plugin and maybe in the future add some mcmmo stats or Economy :D and yea I'am using this on my server Valianthero valianthero.net/highscore
@MCBuncey
works for me http://64.20.36.226/highscore/index.php?player=Zinc
You can only search for people who have died/ killed in pvp
I get that for some reason everytime i try to search there names on search bar http://64.20.36.226/highscore/index.php?player=aznkido92
@binarycoder
Maybe In the future, I have other thigns planned for now and I'm quite busy so I haven't been working on it, but I have a week's holiday coming up, so I'll have some time then. So look out for an update over the next two weeks, I have a new website layout coded, I just need to add the php scripts I made in the old website, plus i want to do a few things to some existing parts of the plugin, to make them nicer.
One quick suggestion, also. Would it be possible for you to add some sort of "push" option for updating data? So it only sends the information on a set interval (say, every half an hour)?
@Kamisoyokaze
Alright. I had a feeling that would be what I had to do. Thank you!
@binarycoder
The only I can think of is that your database host isn't good and it's taking a while to connect and work with that. Just host a database on your pc. Install WAMP (or MAMP or LAMP) install php, install phpmyadmin and then you have your mysql and phpmyadmin to control it easily.
@Kamisoyokaze
I am currently running it off of my pc, locally connected to the server, but the database is with a different host. I'm working on trying a few different ones to see if any of them are faster. Also, I need to clarify: the game doesn't freeze or anything, but mobs stop moving and blocks wont collect for about 5 secs after I hit a mob or mine an ore.
@binarycoder
what kind of machine is your server running on? Because even if I run it off my pc it works fine with no lag and I assume you aren't running a proper server off your home pc? Eve nif you were, it shouldn't be a problem, if you computer can run mc well enough to start with.