1

Minecraft server player list PHP Query

krisdb200911/19/13 5:52 pm
1/3/2014 12:58 am
krisdb2009
Very simple, and customizable PHP query script with a settings.ini file. Runs on a PHP server with rcon enabled and fwrite. Please share with us your finished installation in the comments =) I love to look at em =P

Live Demo: http://belowaverage.tk/Who'sOnline/

Download most updated version here (FTP): ftp://belowaverage.tk/Who'sOnline.zip

Please give diamonds =)
http://www.planetminecraft.com/mod/php-online-list-query/







To help people out with the issues they are having let me start off by saying this script works fine, on fresh non altered php server it works, but server hosts have been known to remove features for security issues... If any of that is a problem ask your host to enable "rcon", "fwrite", and opening connections on port 25565... If thats not the problem, then lets look at the minecraft server. You must have these settings set in the 'server.properties' ( enable-query=true
query.port=25565 ). If you have issues aside from the two common problems above, tell me asap!

"Just a heads up to the people that are going to try this on a free host ex. 2freehost or 000wehhost or byethost they will not enable fwrite or rcon unless you actualy pay for a plan" -xXShaynecraftXx
Posted by avatar
krisdb2009
Level 52 : Grandmaster Programmer
105

Create an account or sign in to comment.

37

1
01/03/2014 12:58 am
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
jdf2
krisdb2009

ok... ill have to find those settings in my CPanel...

good luck

Ok now I get: Failed to write on socket.

If your using a payed host, ask them to enable fwrite. or change BelowAverageAPI='true' in the settings.ini
1
01/03/2014 12:48 am
Level 25 : Expert Network
4377699683
4377699683 avatar
krisdb2009

ok... ill have to find those settings in my CPanel...

good luck

Ok now I get: Failed to write on socket.
1
01/03/2014 12:44 am
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar

ok... ill have to find those settings in my CPanel...

good luck
1
01/02/2014 11:40 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
xxtreepuncherxx:D

=( There must be contrast
1
01/02/2014 11:40 pm
Level 44 : Master Pixel Puncher
xxtreepuncherxx
xxtreepuncherxx avatar
1
12/07/2013 9:03 pm
Level 2 : Apprentice Modder
mattglas
mattglas avatar
What does it mean when the web page says "Could Not Create Socket"?
1
01/02/2014 11:34 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
It means your web server has a certain php plugin not initialized. Not sure which one to be quite honest...
1
01/03/2014 12:22 am
Level 25 : Expert Network
4377699683
4377699683 avatar
So thats the problem, Could you tell me what plugin you think it is?
1
01/03/2014 12:31 am
Level 25 : Expert Network
4377699683
4377699683 avatar
Honestly, I couldent tell ya.

Try enabling all these If ya still cannot figure it out. Just enable the BelowAverageAPI in the settings.ini file. That should cure you. Give me a link when your finished.[/quote]
ok... ill have to find those settings in my CPanel...
1
01/03/2014 12:27 am
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
Honestly, I couldent tell ya.

Try enabling all these If ya still cannot figure it out. Just enable the BelowAverageAPI in the settings.ini file. That should cure you. Give me a link when your finished.
1
12/05/2013 7:58 pm
Level 41 : Master Hunter
edge_to_madness
edge_to_madness avatar
Does it work in an HTML module?
1
01/02/2014 11:36 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
Yes, but you have to run the script with the config, you cant just point the iframe at the api and expect it to fully work.
1
12/05/2013 7:49 pm
Level 13 : Journeyman Engineer
McHacker
McHacker avatar
http://belowaverage.tk/minecraft/ yes i know this is fixed but i saw that the screenshots at the top had this link so i went to it...
1
12/05/2013 7:56 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
lawl, my 404 page is not very creative
1
12/05/2013 6:57 am
Level 35 : Artisan Architect
xer0
xer0 avatar
Why is there a black man dancing in front of a rainbow?
Is this the most creative "Maintenance" screen ever?
1
12/05/2013 7:40 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
HA! Thats my 404, Yo. I had posted the wrong url... Meh, Here ya go...
http://belowaverage.tk/Who'sOnline/
1
12/05/2013 6:38 am
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
Update #11 : 12/05/13
Fixed footers from not being the same texture as the body
edit
Update #10 : a day ago
Fixed font sizes overlap on the cobble and obsidian themes
edit
Update #9 : 5 days ago
Added custom backgrounds, Added custom textures, Added the ability to switch between the BelowAverage api and the embeded api...
edit
Update #8 : 6 days ago
Fixed api issue with sending the number of players online, the api used to send 1 player off...
edit
Update #7 : 8 days ago
Using my servers api
edit
Update #6 : 10 days ago
v1.6

Fixed skins not immediatly showing up. Made the server grab it before sending html, instead of getting the skin and sending the html at the same time...

Added themes

Warns for major updates now (including security issues and updates)

Speed up the Phone Home Process

Fixed styling conflicts

Added small api for the script for example visiting the script with the following attributes would query other servers... /?ip=mcserver.com&port=25565

Displays number of folk online in the footer
1
11/29/2013 9:53 am
Level 2 : Apprentice Cake
tenten8401
tenten8401 avatar
krisdb2009Very simple, and customizable PHP query script with a settings.ini file. Runs on a PHP server with rcon enabled and fwrite. Please share with us your finished installation in the comments =) I love to look at em =P

Live Demo: http://belowaverage.tk/minecraft/

Download most updated version here (FTP): ftp://belowaverage.tk/Who'sOnline.zip

Please give diamonds =)
http://www.planetminecraft.com/mod/php-online-list-query/







To help people out with the issues they are having let me start off by saying this script works fine, on fresh non altered php server it works, but server hosts have been known to remove features for security issues... If any of that is a problem ask your host to enable "rcon", "fwrite", and opening connections on port 25565... If thats not the problem, then lets look at the minecraft server. You must have these settings set in the 'server.properties' ( enable-query=true
query.port=25565 ). If you have issues aside from the two common problems above, tell me asap!

"Just a heads up to the people that are going to try this on a free host ex. 2freehost or 000wehhost or byethost they will not enable fwrite or rcon unless you actualy pay for a plan" -xXShaynecraftXx

Make it run off our servers. not yours. your hosting is SLOW.
1
11/23/2013 2:25 pm
Level 23 : Expert Architect
Amles123
Amles123 avatar
Looks awesome!
1
11/23/2013 2:14 pm
Level 41 : Master Artist
Cubez_
Cubez_ avatar
can you or someone else install this for my server? i would love it
My skype is byronsmall.1
1
11/23/2013 1:55 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
Updated to v 1.5 to fix the phone home script
1
11/21/2013 3:38 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
Im working on adding mobile browser support
1
11/21/2013 4:18 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
I have just added mobile support in 1.4
1
11/20/2013 9:20 pm
Level 44 : Master Pixel Puncher
xxtreepuncherxx
xxtreepuncherxx avatar
Congrats!
1
11/20/2013 9:02 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
update: Cough cough** I MADE FRONT PAGE WHOOO!!!!

1
11/20/2013 7:38 pm
Level 44 : Master Pixel Puncher
xxtreepuncherxx
xxtreepuncherxx avatar
Hey Krisdb, are you a web developer? if so add me on skype: xxtreepuncherxx, Id love to have you do some work for us.
1
11/20/2013 8:01 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
Yea, Sure no problem =P
1
11/20/2013 7:13 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
Updated alot of junk! Fixed the loading issue, Fixed the skin issue, Fixed the (hr) issue, Added heads to the settings.ini to enable displaying of the players head in the button.
1
11/20/2013 12:17 pm
Level 1 : New Crafter
GogoVilles
GogoVilles avatar
Its awsome diaomds
1
11/20/2013 12:27 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
Thank you =P
1
11/20/2013 11:50 am
Level 57 : Grandmaster Programmer
bmanrules
bmanrules avatar
Awesome, Downloading now!
1
11/20/2013 12:07 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
Tell Me How That goes
1
11/20/2013 11:39 am
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
BAhhahaha! Thats funny, I was about to delete the post because I had not got feed back. I love you too ha. I will also take any feature requests on this.[/quote]
I'm about to upload it to my test site and experiment with it...[/quote]
Give me the link when your done! =P Make sure you have the minecraft server set in the server.properties as

query.port=25565
enable-query=true[/quote]
Anyway I hope it works out =P
1
11/19/2013 6:05 pm
Level 25 : Expert Network
4377699683
4377699683 avatar
:O

I LOVE YOU

This would have been useful for me a while back but i'm pretty sure the need will come up again...
1
11/19/2013 6:07 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
BAhhahaha! Thats funny, I was about to delete the post because I had not got feed back. I love you too ha. I will also take any feature requests on this.
1
11/19/2013 6:10 pm
Level 25 : Expert Network
4377699683
4377699683 avatar
I'm about to upload it to my test site and experiment with it...
1
11/19/2013 6:11 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009 avatar
Give me the link when your done! =P Make sure you have the minecraft server set in the server.properties as

query.port=25565
enable-query=true
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome