akdukaan / GPFlags

GriefPreventionFlags is a Minecraft plugin to allow players to customize their GriefPrevention claims with claimflags.
GNU General Public License v3.0
17 stars 20 forks source link

Improve the handling of players using legacy formatting codes #69

Closed Voldechu closed 2 months ago

Voldechu commented 2 months ago

When attempting to create an enter or exit message post MiniMessage compatibility, using a legacy code (eg. "&6") will result in a successful command execution, but the message will not be seen upon entering or exiting the claim.

This can be confusing to players who are unaware of the transition to MiniMessage formatting, and reported as a bug. (which it is, sort of) Can also clog up console, seeing that every time one of these dissapeared messages is triggered, the server with throw a large error.

Instead of the message dissapearing, the exit or enter message should either

akdukaan commented 2 months ago

I don’t see how the § could possibly be getting into the params but I’ve made it translate that character to & with build 47. Took the solution in your first bullet point