Simple Player List
Main | Installation | Configuration
Description
Simple Player List is the successor to OnlinePlayers. It is a plugin which collects the currently active members on your server and sends the information to a webpage that can be viewed by the public.
It displays whether or not the server is online, the users who are currently online (if any) and the number of users online out of the total that can be online.
There are two configuration files. One for the Bukkit plugin, so that it can connect to the PHP script. The other is to configure the functionality of the actual list display.
Permissions support (which is entirely optional), to enable the creation of custom ranks. You can create as many ranks as you want, and call them whatever you like. The purpose is to add a little tag, or prefix before the user's name in the player list.
Features
- Automatically updating active player list, viewable as a webpage.
- Permissions support for custom ranks. (Optional)
- Easy to configure with simple and explained config files.
- Status of the server is displayed as offline or online.
- Run on ANY Server. The server can send the list to any website or computer that has the correct php files. This means if the physical Minecraft server is off, the scripts can still run and display that the server is offline.
- Compact display. No confusing extra crap around the page to distract from the real purpose of the list.
- The ability to display a users skin face next to their name.
- The format of the list can be altered and parts removed to get exactly what you want.
- Give your users ranks with the config.yml file and simple permission nodes.
- Simple Prefix (link) integration. If you are running Simple Prefix, users prefixes will be used as ranks.
Preview
To Do's
- Order the players in the list by their ranks.
@ghostyboy5
This happened to me too!
Flabaliki, could you please fix this? :(
@PabloDj90
replace line 130 - 135 in receiver.php with this
function writeToFile($file, $data){
unlink($file); //This will delete the old info
$fh = fopen($file, 'w') or die("Error: Can't open $file. On Linux, chmod this file to 664 or 666.");
fwrite($fh, $data);
fclose($fh);
}
<<reply 966147>>
i had this problem i fixed it :D
replace line 130 - 135 in receiver.php with this
function writeToFile($file, $data){
unlink($file); //This will delete the old info
$fh = fopen($file, 'w') or die("Error: Can't open $file. On Linux, chmod this file to 664 or 666.");
fwrite($fh, $data);
fclose($fh);
}
ok there is an error the data.txt will never unset and will dupe to online list over and over this is a php error i have made a fix here it is:
replace line 130 - 135 in receiver.php with this
function writeToFile($file, $data){
unlink($file); //This will delete the old info
$fh = fopen($file, 'w') or die("Error: Can't open $file. On Linux, chmod this file to 664 or 666.");
fwrite($fh, $data);
fclose($fh);
}
1 Of my server isnt getting in the config file and the data.txt file. Is there a way to manually add a server?
@ravand
Try iframe. c:
I wanted to integrate the Player list (receiver.php) into my homepage.
I got it working with the following php script:
<?php echo file_get_contents('status/receiver.php'); ?>
The problem however is that, when face skins are enabled the page loads VERY VERY slow because it probably waits for all the skins to be generated in the list. Is there a way i can bypass this 10 secs lag?
I would be very thankful
Thanks in Advance ravand
@ZeroAme
setup the correct values of chmod for the folder on your hosting
I honestly think this is a great plugin, and I truly hope to be able to incorporate it on my server. However I have just finished setting it up, and for some reason it gives me a double list. It will give me the list of online players, however it will have it appear twice, side by side. So when I attempt to embed this into my site homepage, it appears doubled. I have looked and I don't think it was anything I have done. Could I get some help?
I am still having my issue..
http://dev.bukkit.org/server-mods/simple-player-list/?comment=254
@davvarn
At a glance it seems they only host HTML pages and some Flash stuff. This plugin requires PHP to run. Chances are they don't host PHP websites because this would put a lot of extra load on their web servers, due to PHP being a server-side scripting language. So no, you couldn't host this with them.
I'm also having the problem where I have two identical lists side-by-side, The index.php shows it, as does receiver.php, as does data.txt. if that helps at all.
http://servo.jacoblaw.me/player/index.php
I am having an issue where the player faces are just black squares that are 8x instead of the 16x that it is set on. Please help.
@PabloDj90
The is a file on the web side called 'data.txt'. In here you'll see that the one line has multiple copies. Delete all but one. It's only a work around since the line will probably replicate again.
@IronPython @PabloDj90 use an older version (v1.4.1)
@PabloDj90
Im getting the same problems here
@Flabaliki
Are you able to fetch the MOTD of the server? Its for those Dynamic MOTD servers,and HG servers. I would like to inform them when the game beings and of the sort through the website?
Thanks for the awesome plugin! :D
In response to all reported issues; I'll be revising this plugin in the coming weeks, rewriting old parts, rethinking ways to achieve the same outcome in less demanding ways. I have some plans of what I will be doing so stick around.
I can't do it right now as for the past number of weeks I have been really busy, but come next week I will have some more spare time around and I'm pretty keen to get back into developing this plugin.
I havn't tested it yet but, i spent almost 2 hours looking for a plugin like this! if it works THANK YOU if it doesn't can you fix it :P
I'll keep you posted(Not that you probably care lol)
there is a bug, every time there is a change (enters or leaves a user) creates a copy, please a solution