ProxioDev / ValioBungee

Synchronize players data between BungeeCord / Velocity proxies
Eclipse Public License 1.0
200 stars 51 forks source link

RedisBungee lost sync on coutning online people. #49

Closed korallo159 closed 1 year ago

korallo159 commented 1 year ago

Motd shows wrong players count

Online people chart: image

Used redis: latest redis docker image (7)

Used proxy version: Flamecord latest (1.19)

korallo159 commented 1 year ago

I have 3 proxy connected.

ham1255 commented 1 year ago

How did you setup your redis server? since i see like each proxy from graphs that they are isolated

korallo159 commented 1 year ago

I am using docker for hosting redis server (on separate server) I mean it works properly, but sometimes this bug happens. This is for example chart from today. image

example configuration of one proxy: image

One more thing: I have plugin installed on proxy which use your API. This API expose online players with rest API to website. It works properly. I am using this, to get online players. RedisBungeeAPI.getRedisBungeeApi().getPlayersOnline().size();

ham1255 commented 1 year ago

Looks from config you are probably using 0.7 or 0.6 Can you try compiling master branch of redisbungee

ham1255 commented 1 year ago

any update on this? if not closing it, reply to open it back.