Possible Incompatability with AdvancedServerList and/or PAPIProxyBridge (seek for assistance)
Describe the bug A user reported an issue they encountered when they use my plugin (AdvancedServerList) alongside yours on Velocity.
The issue seems to be, that the player count and player sample list get messed up, when modified by my plugin, while pinging the server through a raknetify;-prefixed connection.
You can see the screenshot for how the issue looks and this is the configuration they used:
priority: 0
motd:
- 'MOTD line 1'
- 'MOTD line 2'
playerCount:
hover:
- 'Hover line 1'
- 'Hover line 2'
- 'Hover line 3'
- 'Hover line 4'
text: 'testing'
My plugin is using Velocity's ServerPing.Builder to modify the ping. The necessary methods modifying the Player count and Player sample list are found at these locations:
- https://codeberg.org/Andre601/AdvancedServerList/src/commit/4a1c93fb1b876b92cb5731e1fe1cbf188957a850/velocity/src/main/java/ch/andre601/advancedserverlist/velocity/listeners/VelocityEventWrapper.java#L100-L103
- https://codeberg.org/Andre601/AdvancedServerList/src/commit/4a1c93fb1b876b92cb5731e1fe1cbf188957a850/velocity/src/main/java/ch/andre601/advancedserverlist/velocity/listeners/VelocityEventWrapper.java#L105-L120
I'm opening this issue now in an attempt to try and find a possible solution for this problem, be it on your or my end. The user also reported that they cannot reproduce the issue, if they ping the raknetify connection while the Proxy plugin PAPIProxyBridge isn't present, so it may or may not be related to this plugin too.
To Reproduce Steps to reproduce the behavior:
- Setup a Velocity proxy with Raknetify and AdvancedServerList (And probably PAPIProxyBridge?)
- Add the server to your server list with
raknetify;prefix and using the mod. - Ping the Server.
Expected behavior The List entry should display normally
Screenshots
Runtime info (please complete the following information): As I'm not the user encountering this can I not provide the requested info here. Sorry.
Crash reports / logs
Other mods
Checklist Cannot check these as I'm not the user having this issue.
- [ ] I am using the official version of the mod.
- [ ] I tried the latest development version but the issue persists.
- [ ] I searched for similar open issues and could not find an existing bug report on this.
Additional context I'm open to try and implement support for raknetify in some way to my plugin, if it fixes this issue while also not becoming a huge maintenance burden on my end.