-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Online status #242
Comments
There are 4 variables in config.php for status: 'status_enabled' => true, // you can disable status checking by settings this to "false"
'status_ip' => '',
'status_port' => '',
'status_timeout' => 2, // how long to wait for the initial response from the server (default: 2 seconds) If you mean the port, then it should be set to 7171 (standard). And IP can be set to '127.0.0.1' |
Ok, so it's game world port. I'm developing it in docker-compose so can't be set to localhost ;) Thanks for an answer |
You may want to look into mine docker setup: #236 I set there the ip to |
In files I can see that status is made from some socket response, but is there a way to debug status from curl maybe? |
You can't debug with curl, because its custom protocol AFAIK. It responds with XML however. Yes its IP of the docker machine. But I think every Docker user will have different IP for their container. That one was from my setup. |
Yeap. But if you bind IP of container to host you can use it as a local IP. Any way, something else is broken in my setup :P As I can see number of players if serwer is online is taken from data base. I put true as default and now I can see that there is always 0 players, but if I click I can see of online folks :p strange |
serverInfo is populated from config.lua It will be probably removed in future versions or moved to admin panel. Anyway, I am closing this, as initial issue has been probably resolved (?). |
I can't find this answer anywhere. Which service
should be pointed in config.php to show online status?
The text was updated successfully, but these errors were encountered: