-
Notifications
You must be signed in to change notification settings - Fork 44
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
[REQUEST] Refresh clients data more often #40
Comments
It would also be great if the names of all online players were put into the synapse client data array |
Maybe an API to get manually informations from a certain client ... As this, it doesn't refresh for people that don't use this data. |
How about you connect a useless test client to the server, which reboots everytime you want to refresh the counts? |
Just tested that ^^ works |
@XFuryMCPE Sounds more like a workaround, I would prefer a clean solution. |
The client info is the response to the HeartbeatPacket, so you can change the heartbeat time in client. |
@PeratX But the heartbeat refresh data on the Nemisys server, it doesn't send the info of game1 and 2 to hub ? (In my example) |
The line |
@PeratX Please reopen :/ @SleepSpace9 fix is working for me, could you apply it ? I don't really know how to create a clean pull request :/ |
@Guillaume351 If you use my fork (update to 0.15.9 still missing there) you even get a comma separated list of all Synapse players in ClientData. You can fetch it like this:
I use it for my own /list command. Possibly some more people like it. 😉 |
Hello,
I use 3 clients right now :
Hub - game1 - game2.
On hub, I get playercount of game1 and game2 using the client data of synapse.
However, the playercount is only refreshed if a new Synapse client connects to Nemisys.
So the data is not refreshed unless game1 or game2 reboots.
Would it be possible to refresh every X seconds or when a new player connects/disconnects ?
Thanks
The text was updated successfully, but these errors were encountered: