Closed MastoryMd5 closed 3 years ago
So I need to add redisbungee support and change how the plugin sends player counts and possibly, player names if enabled.
I think I have done the integration but if you can check it out use this version. CustomProtocolSettings.zip
.
And also a new way to get ping from other servers. Just enable settings.ping-unstable-redisbungee .
Perfect, the patch works amazingly!
Nice, now I should make the other things to use RedisBungee and that will be it. And what about the ping command?
The ping works but i have to test it to see if it's actually "unstable"
That's good
Okay actually the ping works on the same bungeecord but if i'm on one proxy and the player is in another proxy i can't ping the player and when i send the command i don't get an answer
That's probably because it doesn't process the message right, gotta check the problem.
Try this and check all the consoles. This one will send debug messages. CPS.zip
Proxy 1 i do the command with my account, on the console nothing appears.
Proxy 2 the console receives the command to get the ping for the player but no message appears
[CustomProtocolSettings]: Received command to get ping for NullTheElif
Check the server id for proxy 1, if it matches the log output, I will need to install redis to debug it. CPS2.zip
Proxy 2 i do the command with my account, on the console nothing appears.
Proxy 1 Console[CustomProtocolSettings]: Received command to get ping for NullTheElif
Proxy 2 console [CustomProtocolSettings]: Received ping result for java2, id NullTheElif
Proxy 1 is java1 and Proxy 2 is java2
I've switched proxy but it should be the same
java2 is your proxy 1 id right?
nvm
Now i get this error https://hastebin.com/wupojoguco.properties
I am sorry but this should be the last time. NPEFix.zip
It works!
"Perhaps", I mean, it might glitch if too many users are using the command, didn't test it, if it doesn't glitch, then I might remove the unstable and just ping-redisbungee-support
But for now, I think it finished
And a quick thing, reloading breaks redisbungee integration, just saw it now, will get fixed.
I might be particularly unlucky but i found another small bug with CPS.
The server on the top is using CPS the server on the bottom is using cleanmotd
As you can see i don't get the same playercount, actually the server with CPS gives the playercount of the single proxy not of all the proxies connected with redisbungee