This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
DBStatus is canceled and no longer under development.
Hello thank you for this plug in it works very well! I coded a small page for you:
<html>
<head>
<title>Serveur stats </title>
</head>
<body>
<td>
<?php
Connect to database server
mysql_connect("host", "user", "password") or die (mysql_error ());
Select database
mysql_select_db("database") or die(mysql_error());
SQL query
$strSQL = "SELECT * FROM DBStatus";
Execute the query (the recordset $rs contains the result)
$rs = mysql_query($strSQL);
Loop the recordset $rs
Each row will be made into an array ($row) using mysql_fetch_array
while($row = mysql_fetch_array($rs)) {
Write the value of the column FirstName (which is now in the array $row)
echo "person in line: " . $row['onlinePlayers'] . "<br>" . "Maximum individual online: " . $row['maxPlayers'] . "<br>" . "message of the day: " . $row['motd'] . "<br>";
}
Close the database connection
mysql_close();
?>
</body>
<footer>
</footer>
</html>
I translated it in English because I'm French. I would develop perhaps a cms table works with the plug in while I am not good at php.
Unfortunately that error means it's something gone wrong on your end. You will have to contact your website provider to find out what is causing this issue.
Sorry I couldn't help more.
Overwhelming.... :D
Never.
ETA?
@dynamicdude
I am re-writing the script now.
@stuntguy3000
when will there be a fix
Thanks for the feedback :)
Me and Pro have been very busy and will be for the next few days, sorry!
Hello thank you for this plug in it works very well! I coded a small page for you:
<html> <head> <title>Serveur stats </title> </head> <body> <td> <?php Connect to database server mysql_connect("host", "user", "password") or die (mysql_error ());
Select database mysql_select_db("database") or die(mysql_error());
SQL query $strSQL = "SELECT * FROM DBStatus";
Execute the query (the recordset $rs contains the result) $rs = mysql_query($strSQL);
Loop the recordset $rs Each row will be made into an array ($row) using mysql_fetch_array while($row = mysql_fetch_array($rs)) {
Write the value of the column FirstName (which is now in the array $row) echo "person in line: " . $row['onlinePlayers'] . "<br>" . "Maximum individual online: " . $row['maxPlayers'] . "<br>" . "message of the day: " . $row['motd'] . "<br>";
}
Close the database connection mysql_close(); ?> </body> <footer> </footer> </html>
I translated it in English because I'm French. I would develop perhaps a cms table works with the plug in while I am not good at php.
It is a home web server, I have access to all functions.
I have other web services (forum, website, wiki ...) and everything works perfectly.
Surely be because I'm not doing well. Can you tell me where I have to put the file DBStatus.class.php?
Next, the example page, save it as dbstatus.php and put it in the index of my www.
I do something wrong?.
A greeting.
@dynamicdude
I believe this is a issue we are trying to fix with the Web API.
seems to work ok apart from the server status shows off line all the time even though the server is online
Unfortunately that error means it's something gone wrong on your end. You will have to contact your website provider to find out what is causing this issue.
Sorry I couldn't help more.
How I can create the page to display the data?
I created a file dbstatus.php and I copied this:
http://dev.bukkit.org/server-mods/dbstatus/pages/web/
I created a file DBStatus.class.php and I copied this:
http://dev.bukkit.org/server-mods/dbstatus/pages/web/
dbstatus.php in the root (www)
DBStatus.class.php in / lib / and in case also in the root (www)
When I turn www.mydomain.com/dbstatus.php gives me error:
HTTP Error 500 (Internal Server Error)
What am I doing wrong?
Beta released!
Very soon Beta 1.0 will be released!
Looking great so far! Can't wait for the release!
Yes i am working hard on the plugin, if everything goes well it should be out in a few days :)
Excited for the release of this plugin!
When this plugin will be available? He looks great!