TAB: Plugin is breaks after some time
Server version
Paper 1.20.1 & Waterfall #544
TAB version
4.0.6
Describe the bug
I’m not sure how to appropriately address this bug. The plugin appears to work as expected after starting the server, however, after some time, placeholders, RGB, formatting, animations, and cross-server listings break. Overall, it seems like the TAB stops updating, as new players who join lack formatting completely.
I’m using TAB 4.0.6 on Waterfall #544, with TAB Bridge 3.1.6 on all of my Paper 1.20.1 servers.
I’ve recorded a video of this happening here: https://youtu.be/-VPa9H-fLp4 This is just after I had logged into the server, my player formatting does not apply and players within other servers on the network do not show up until after I reload the plugin. (My broken nametag does get left behind after reloading, however according to others, I do have a working nametag that works as expected after the plugin is reloaded.)
/btab debug reports that the specified player is not loaded. After reloading the plugin, the debug command works and shows the following:
Occasionally, while the TAB is broken, I will see this appear in Bungee’s console:
[00:22:58 WARN] [TAB]: Placeholder %luckperms_last_group_on_tracks_level% used in sorting type PLACEHOLDER_HIGH_TO_LOW returned "" for player Zenf00, which is not a valid number.
However, these placeholders DO parse when run in the backend server (eg. /papi parse Zenf00 %luckperms_last_group_on_tracks_level%), and work as expected after reloading TAB.
I’ve attached my error log files. Both files are about 2MB, and only contain a few seconds of data errors.log placeholder-errors.log
Expected behavior
Check the video; the “expected” behavior appears after a manual reload.
Steps to reproduce
As far as I can tell, wait until additional players start joining and the plugin will break.
Additional info
This issue may be related to #1090, however I’m experiencing a lot more than just placeholders breaking. If need be, I can upload my entire TAB folder.
Checklist
- I am running latest version of the plugin
- I have read the wiki to make sure it’s not an issue with configuration
- I ticked all of the boxes without actually reading them
- I have read the Compatibility wiki page and am not trying to run the plugin on an unsupported server version / platform
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 45 (21 by maintainers)
Commits related to this issue
- Avoid attempts to send packets to offline players on bungeecord (#1090? #1092?) that may? cause errors on 1.20.2 — committed to NEZNAMY/TAB by deleted user 9 months ago
- Avoid attempts to send plugin message to offline players on bungeecord (#1090? #1092?) that may? cause errors on 1.20.2 — committed to NEZNAMY/TAB by deleted user 9 months ago
- Add try/catch for BungeeCord sendPacket method to avoid a NPE in BungeeCord code (#1090, #1092) — committed to NEZNAMY/TAB by deleted user 9 months ago
- Fix wrong exception being caught causing the try/catch to not work (#1092) — committed to NEZNAMY/TAB by deleted user 9 months ago
@BakiDance update bridge to 3.1.7.
You can try to find steps to reproduce it in a testing environment.