1

Minecraft server player list PHP Query

krisdb2009's Avatar krisdb200911/19/13 5:52 pm
1 emeralds 4.1k 37
1/3/2014 12:58 am
krisdb2009's Avatar 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 krisdb2009's 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's 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's 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's 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's Avatar
xxtreepuncherxx:D

=( There must be contrast
1
01/02/2014 11:40 pm
Level 44 : Master Pixel Puncher
xxtreepuncherxx
xxtreepuncherxx's Avatar
1
12/07/2013 9:03 pm
Level 2 : Apprentice Modder
mattglas
mattglas's 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's 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's 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's 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's 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's Avatar
Does it work in an HTML module?
1
01/02/2014 11:36 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009's 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 15 : Journeyman Engineer
McHacker
McHacker's 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's Avatar
lawl, my 404 page is not very creative
1
12/05/2013 6:57 am
Level 35 : Artisan Architect
xer0
xer0's 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's 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's 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's 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's Avatar
Looks awesome!
1
11/23/2013 2:14 pm
Level 41 : Master Artist
Cubez_
Cubez_'s 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's 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's Avatar
Im working on adding mobile browser support
1
11/21/2013 4:18 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009's Avatar
I have just added mobile support in 1.4
1
11/20/2013 9:20 pm
Level 44 : Master Pixel Puncher
xxtreepuncherxx
xxtreepuncherxx's Avatar
Congrats!
1
11/20/2013 9:02 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009's Avatar
update: Cough cough** I MADE FRONT PAGE WHOOO!!!!

1
11/20/2013 7:38 pm
Level 44 : Master Pixel Puncher
xxtreepuncherxx
xxtreepuncherxx's 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's Avatar
Yea, Sure no problem =P
1
11/20/2013 7:13 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009's 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's Avatar
Its awsome diaomds
1
11/20/2013 12:27 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009's Avatar
Thank you =P
1
11/20/2013 11:50 am
Level 57 : Grandmaster Programmer
bmanrules
bmanrules's Avatar
Awesome, Downloading now!
1
11/20/2013 12:07 pm
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009's Avatar
Tell Me How That goes
1
11/20/2013 11:39 am
Level 52 : Grandmaster Programmer
krisdb2009
krisdb2009's 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's 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's 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's 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's 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 - 2024
www.planetminecraft.com

Welcome