A highly customizable plugin to create custom Server Lists with MOTD, Favicon, Playercount and more.
5.1.2
This small update should hopefully fix an issue where a IndexOutOfBoundsException could be raised in Conditions if only using a placeholder.
Truth be told, I'm not sure if this issue is fixed for good or not, as I wasn't really able to properly reproduce it.
But the way I understand it is this:
I had a system in place where the index (Current position in the full text) would be increased by one, if the placeholder was parsed in a condition. This had a unwanted side-effect here, where if you only used a Placeholder for the condition, it could cause the aforementioned exception. It could also happen, if the condition ended with a placeholder.
As an example, here are the indexes indicated on a condition after handling the placeholder:
# This one is fine.
${player name} != "Anonymous"
^
# This one is Out of bounds
${player isWhitelisted}
^
# This one is also Out of bounds
"Anonymous" != ${player name}
^
I really hope this issue is now fixed, as I otherwise have no idea what could be the problem.
Platforms
Dependencies
- Maintenance Optional
- PlaceholderAPI Optional
- ServerListPlus Optional
- ViaVersion Optional
- Maintenance Optional
- PapiProxyBridge Optional
- ServerListPlus Optional
- Maintenance Optional
- PapiProxyBridge Optional
- ServerListPlus Optional