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.
hello,
I am trying to get faces actived on my server. When i enabled it i waited an hour to be sure the skins got downloaded. Still when faces are enabled the list is not shown.
The list works perfectly without faces enabled. I am also certain i chmod the files correctly. I chmod data.txt,config.php and the folder images.
Did i forget anything? You can find the list here, cg-gaming.nl/ or http://cg-gaming.nl/playerlist/
I changed index so the background is white and i changed reciever.php to make them align left. I changed line 315 - 320, made everything from center to left.
pleas help :) it looks so boring without them faces
Hello.
i'm getting a weird error from the web/config.php file...
[02-Apr-2012 22:49:08 UTC] PHP Parse error: syntax error, unexpected '=' in /home/deathwis/public_html/web/config.php on line 41
so i re-upload the file and it is ok, for one page load, and then, descends again.
i have chmodded as per the instructions and confirmed that my host supports the GD library.
I can get a list of current names in the brief period when it does work, so i know the bukkit plugin side of things is doing the bizzo.
Obviously, when editing the config.php file, i can see no error at all (i know some php) and the '=' on line 41 is pretty much meant to be there.
@Flabaliki
Heeeelp :(
@Flabaliki
Here it is: http://www.mestrecraft.com.br/playerlist/
Thanks
@Textra1
the :true part is for PermissionsBukkit. And yes, it is a permission not an option.
@Flabaliki
I see the problem. Your config tute says that "playerlist.admin: true" is the permission node, yet when I tried it, it didn't work. Once I got rid of the ": true" it worked.
For other stupid people like me, truncate the ":true" and bung it in your permissions block like so.
After that, she'll be good.
@mantegudo
Chuck us a link to your list, I'll have a look.
@Flabaliki
Hi, i've just updated and now colors won't make effect on names, it just shows the code &b, &a... help? :P
@Textra1
I'ts not an option, that is a permission node.
Gah, I hate this. I always feel stupid when I have to ask a question like this because I just know I've missed something fundamental, but here goes. Where exactly do I put the 'playerlist.rankname: true'? I use PermissionsEx so I presumed I put it in 'permissions.yml' somewhere in the group block.
This doesn't seem to be working however. Can someone point me in the right direction?
@FurmigaHumana
It does. The reason it has set intervals as well is so that the webpage knows if the server is on or off. If it was only when someone left or joined, the online indicator would not be accurate at all. Plus, it wouldn't have server crash detection either, the intervals are required for that.
refresh on player quit/join isn't better?
@BornAgain69
Just wait till the 1.3.2 update is approved. Fixes the major bugs in the plugin as I said in the previous post.
@darkcloud784
A. = "it works" - all the rest is just a waste of 0s and 1s.
Updating coming soon. I've just uploaded v1.3.2 it just needs approval.
Changes are:
@BornAgain69
Why in the hell would I use a plugin to fix another plugin... I understand it works, but it uses up more resources. You may not think it uses much but you'd be surprised at how much some small plugin utilities can use. Just install a VMware monitoring system and watch as it floods the heap or uses up all the bukkit thread.
Point being is no one should have to use a plugin to fix a plugin. The developer is obviously not caring so much about other people.
@clementnuss (to clementnuss) The return false; return true; switch actually worked. :D Be sure to write "stop" in the console before exiting the server though, if you just close the window it may still appear as online when it's not.
@BornAgain69 (to BornAgain69) Thank you for suggesting that plugin! It works!
1. Great plugin - worked well (followed instructions + didn't bother with pics / faces or messing around with formatting / appearance etc) except for known / much mentioned bugs; a. showing offline when server is online (but i don't care about that) + 2. spamming console with "... [INFO] [Simple Player List] Refreshed." every couple of seconds, which at the very least is annoying.
To fix console spamming / "... [INFO] [Simple Player List] Refreshed." use 'ObuShutTheHellUp v0.3' (seriously funny name) at http://forums.bukkit.org/threads/inactive-admin-obushutthehellup-v0-3-no-more-server-cant-keep-up-messages-860.16981/ + follow instructions + add ", { type: 'string', value: 'Refreshed', level: 'INFO' }" (NOTE: don't forget the comma between filters / expressions) to the 'filters' in filters.yml, save, restart server. Bob's your uncle!
EDIT: PS. Note that this does not 'fix' the code (or whatever) that causes this spamming problem, it just prevents the annoying spam. :b
Hi guys, I have two solutions to 2 differents problems : 1
always shown in the console status, to solve this, I needed to tell my config.yml exactly the good url, not only localhost, or ??. Don't know if it'll work for you too.
Second and much useful fix : I understood why it is showing the wrong colour (red/green) for the server status, you need to change in the receiver.php line 169
return false;
by this
return true;
, and the same at line 172, replace true by false, it works for me !
Hoping it will help some people Clément
@darkcloud784
But it's working on his server(s), so it shouldn't be something that's incredibly hard to fix?
Flabiliki, have any quick fix for it? :)