[Herocraft Development ] Minecraft Server Status Block [Paid] [Deleted]

I don't have BungeeCoords, but I still get alot of errors:

ErrorException: Undefined index: numplayers
Error Info
ErrorException: Undefined index: numplayers - library/HeroDev/ServerStatus/ControllerPublic/ServerStatus.php:150
Generated By: Username, Today at 7:38 AM
Stack Trace
#0 /var/www/xenforo/library/HeroDev/ServerStatus/ControllerPublic/ServerStatus.php(150): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/xenfor...', 150, Array)
#1 /var/www/xenforo/library/HeroDev/ServerStatus/ControllerPublic/ServerStatus.php(60): HeroDev_ServerStatus_ControllerPublic_ServerStatus::buildServerStatusArray('play.smudgecraf...', 26001, 0)
#2 /var/www/xenforo/library/XenForo/FrontController.php(337): HeroDev_ServerStatus_ControllerPublic_ServerStatus->actionQuery()
#3 /var/www/xenforo/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/xenforo/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(58) "http://www.mywebsite.com/index.php?server-status/1/query"
["_GET"] => array(1) {
["server-status/1/query"] => string(0) ""
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(8) "/forums/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

ErrorException: Undefined index: maxplayers
Error Info
ErrorException: Undefined index: maxplayers - library/HeroDev/ServerStatus/ControllerPublic/ServerStatus.php:151
Generated By: Username, Today at 7:38 AM
Stack Trace
#0 /var/www/xenforo/library/HeroDev/ServerStatus/ControllerPublic/ServerStatus.php(151): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/xenfor...', 151, Array)
#1 /var/www/xenforo/library/HeroDev/ServerStatus/ControllerPublic/ServerStatus.php(60): HeroDev_ServerStatus_ControllerPublic_ServerStatus::buildServerStatusArray('play.smudgecraf...', 26001, 0)
#2 /var/www/xenforo/library/XenForo/FrontController.php(337): HeroDev_ServerStatus_ControllerPublic_ServerStatus->actionQuery()
#3 /var/www/xenforo/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/xenforo/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(58) "http://www.mywebsite.com/index.php?server-status/1/query"
["_GET"] => array(1) {
["server-status/1/query"] => string(0) ""
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(8) "/forums/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

ErrorException: Undefined offset: 1

Error Info
ErrorException: Undefined offset: 1 - library/HeroDev/ServerStatus/Query.php:62
Generated By: Username, Today at 5:27 AM
Stack Trace
#0 /var/www/xenforo/library/HeroDev/ServerStatus/Query.php(62): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/var/www/xenfor...', 62, Array)
#1 /var/www/xenforo/library/HeroDev/ServerStatus/ControllerPublic/ServerStatus.php(141): HeroDev_ServerStatus_Query::query('play.smudgecraf...', 26001)
#2 /var/www/xenforo/library/HeroDev/ServerStatus/ControllerPublic/ServerStatus.php(60): HeroDev_ServerStatus_ControllerPublic_ServerStatus::buildServerStatusArray('play.smudgecraf...', 26001, 0)
#3 /var/www/xenforo/library/XenForo/FrontController.php(337): HeroDev_ServerStatus_ControllerPublic_ServerStatus->actionQuery()
#4 /var/www/xenforo/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /var/www/xenforo/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
["url"] => string(58) "http://www.mywebsite.net/index.php?server-status/1/query"
["_GET"] => array(1) {
["server-status/1/query"] => string(0) ""
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(8) "/forums/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

Sorry if this looks spammy, but I really wanted to show all the errors I get and I did not find any spoiler function on this forum.

I have replaced my domain name with www.mywebsite.com, this isn't my real domain.
I get these errors over and over again...
Hope these error logs will help.
 

ChillaxOwner

Active member
This doesn't seem to work for me on 1.2, I dont get any errors but I added the addon and it says on the portal page
You haven't added any servers yet! Or you might have just disabled them.
This notice is only shown to admins
After I have already added the servers to it.

EDIT: Found in Error logs
Code:
Error Info
ErrorException: Undefined index: numplayers - library/HeroDev/ServerStatus/CronEntry/QueryServers.php:33
Generated By: Unknown Account, 5 minutes ago
Stack Trace
#0 /var/www/chillax-gaming.com/public_html/library/HeroDev/ServerStatus/CronEntry/QueryServers.php(33): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/chilla...', 33, Array)
#1 /var/www/chillax-gaming.com/public_html/library/HeroDev/ServerStatus/CronEntry/QueryServers.php(13): HeroDev_ServerStatus_CronEntry_QueryServers::buildServerStatusArray('hex.chillax-tec...', 25565, 0)
#2 [internal function]: HeroDev_ServerStatus_CronEntry_QueryServers::queryServers(Array)
#3 /var/www/chillax-gaming.com/public_html/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#4 /var/www/chillax-gaming.com/public_html/library/XenForo/Deferred/Cron.php(22): XenForo_Model_Cron->runEntry(Array)
#5 /var/www/chillax-gaming.com/public_html/library/XenForo/Model/Deferred.php(198): XenForo_Deferred_Cron->execute(Array, Array, 9.9999978542328, '')
#6 /var/www/chillax-gaming.com/public_html/library/XenForo/Model/Deferred.php(321): XenForo_Model_Deferred->runDeferred(Array, 9.9999978542328, '', false)
#7 /var/www/chillax-gaming.com/public_html/library/XenForo/Model/Deferred.php(274): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#8 /var/www/chillax-gaming.com/public_html/deferred.php(18): XenForo_Model_Deferred->run(false)
#9 {main}
And tons of errors like this!
 
Last edited:

Direct1221

Member
Just bought this, when I try to install VIA AdminCP I get this:

(Using XF 1.2.1 )

Code:
Server Error

Mysqli statement execute error : Unknown column 'use_minequery' in 'hd_serverstatus_servers'

Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
Zend_Db_Adapter_Abstract->query() in HeroDev/ServerStatus/Install/Controller.php at line 54
HeroDev_ServerStatus_Install_Controller::install_2() in HeroDev/ServerStatus/Install/Controller.php at line 17
HeroDev_ServerStatus_Install_Controller::install() in XenForo/Model/AddOn.php at line 215
XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 187
XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 337
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home4/direct12/public_html/admin.php at line 13

Fixed above error by deleting MYSQL row "hd_serverstatus_servers"

but new error when selecting serverquery type, minequery:

Code:
Server Error

Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function.fsockopen'>function.fsockopen]: unable to connect to vip.direct1221' at line 1

Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in HeroDev/ServerStatus/CronEntry/QueryServers.php at line 16
HeroDev_ServerStatus_CronEntry_QueryServers::queryServers() in HeroDev/ServerStatus/ControllerAdmin/Server.php at line 60
HeroDev_ServerStatus_ControllerAdmin_Server->actionSave() in XenForo/FrontController.php at line 337
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home4/direct12/public_html/admin.php at line 13
 
Last edited:
Well thanks for the great support... This issue has been there for over a month and you haven't even confirmed that you have noticed that it is a bug. Please don't accept payments for a xenforo addon you don't provide support for.
 

ChillaxOwner

Active member
Well thanks for the great support... This issue has been there for over a month and you haven't even confirmed that you have noticed that it is a bug. Please don't accept payments for a xenforo addon you don't provide support for.
Yea, its making me mad. I used this plugin then it breaks going to 1.2. I understand addons break but like you said, he hasn't even addressed it and this addon is a important addon for a lot of Minecraft Server owners.
 

Cory_

Member
You guys are having a lot issues, but I can say for certainly, I'm running this on the latest 1.2 and it's working fine on a few forums I Administrator.

-SmudgeCraft

Your issue might be coming from the fact possibly your URL isn't set right as it looks as if it's pulling from "http://www.mywebsite.com/"


I believe he would like to take the current server and move it to the top or or w/e, Basically add a "Weight" or "Sort, Order" option.

-Direct1221
Code:
function.fsockopen'>function.fsockopen]: unable to connect to vip.direct1221

Looks like you left off part of the domain tld.

-CurseCraft
-ChillaxOwner

Error:
Code:
Notice: fwrite() [function.fwrite]: send of 7 bytes failed with errno=1 Operation not permitted

Possible Fixes:
Make sure all servers IP and Port are correct. When running "Minecraft Query" make sure it's enabled in the server.properties. DEFAULT is false.

Code:
enable-query=true

Also, Might need to change the "Query Port" default is the same as your Minecraft Server.

Code:
query.port=25565

If you're using BungeeCord, You might want to change this port to something completely different from your BungeeCord port (25565) and your Minecraft Server as you have to close the ports for your "Minecraft Server" if you're running BungeeCord.

If you have a "Dedicated IP" address provided from your own and using a "Domain Name" make sure it's pointed correctly as an "A Record".

If you have a "Shared IP" and connect with a port and using a "Sub Domain" from a host which now in days they're using "SRV Records" to forward your port. This will NOT work, Use your IP and set the "Query Port" and restart your Minecraft Server.

If this has all been setup correctly, Something could be possibly blocking it, Please insure you're not using a firewall. If you have direct access to the server you're hosting from it's possibly "iptables" or "Windows Firewall".

Flush all rules:
Code:
/sbin/iptables -F

Flush all chains:
Code:
/sbin/iptables -X

NOTICE: Be sure if you're running BungeeCord this would re-open all any closed ports, be sure to re-close those.

If you're on a Shared Host, nothing should be blocked and should connect correctly. Possibly something where your site is hosted could be blocking the connections as they may have firewall enabled on their end.

If you have any other questions, I could and try to assist you.

- Cory
 
Last edited:

ChillaxOwner

Active member
You guys are having a lot issues, but I can say for certainly, I'm running this on the latest 1.2 and it's working fine on a few forums I Administrator.

-SmudgeCraft

Your issue might be coming from the fact possibly your URL isn't set right as it looks as if it's pulling from "http://www.mywebsite.com/"



I believe he would like to take the current server and move it to the top or or w/e, Basically add a "Weight" or "Sort, Order" option.

-Direct1221
Code:
function.fsockopen'>function.fsockopen]: unable to connect to vip.direct1221

Looks like you left off part of the domain tld.

-CurseCraft
-ChillaxOwner

Error:
Code:
Notice: fwrite() [function.fwrite]: send of 7 bytes failed with errno=1 Operation not permitted

Possible Fixes:
Make sure all servers IP and Port are correct. When running "Minecraft Query" make sure it's enabled in the server.properties. DEFAULT is false.

Code:
enable-query=true

Also, Might need to change the "Query Port" default is the same as your Minecraft Server.

Code:
query.port=25565

If you're using BungeeCord, You might want to change this port to something completely different from your BungeeCord port (25565) and your Minecraft Server as you have to close the ports for your "Minecraft Server" if you're running BungeeCord.

If you have a "Dedicated IP" address provided from your own and using a "Domain Name" make sure it's pointed correctly as an "A Record".

If you have a "Shared IP" and connect with a port and using a "Sub Domain" from a host which now in days they're using "SRV Records" to forward your port. This will NOT work, Use your IP and set the "Query Port" and restart your Minecraft Server.

If this has all been setup correctly, Something could be possibly blocking it, Please insure you're not using a firewall. If you have direct access to the server you're hosting from it's possibly "iptables" or "Windows Firewall".

Flush all rules:
Code:
/sbin/iptables -F

Flush all chains:
Code:
/sbin/iptables -X

NOTICE: Be sure if you're running BungeeCord this would re-open all any closed ports, be sure to re-close those.

If you're on a Shared Host, nothing should be blocked and should connect correctly. Possibly something where your site is hosted could be blocking the connections as they may have firewall enabled on their end.

If you have any other questions, I could and try to assist you.

- Cory
It doesn't show them as offline, it just doesn't show them at all. I did enable Query too.
 

Nosxxx

Member
Of course the Plugin work, but it spams everytime my error log in Xenforo. I think that is caused by php 5.4
 
Top