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

[Suggestion] Locale for enter-leave message prefix #4

Closed MithrandirCraft closed 2 years ago

MithrandirCraft commented 3 years ago

Currently players can write literally whatever they want as an enter-leave flag. This can confuse anyone walking into a claim, which could get to read a message expected in some other context, such as, for example: "You have been detected for hacking" (which may actually be a common message from an antihack plugin).

Having a configurable locale prefix would fix this, making it clear that the message in question is an enter or leave message written by a claim owner.


PD: I may PR of these reports myself, but I currently barely understand how the plugin is structured.

akdukaan commented 2 years ago

Definitely agree. I disabled the custom messages for the noenter and noenterplayer flags, and I think this could be a good way to resolve the issues you just described for the enter and leave message flags.

akdukaan commented 2 years ago

Looks like such a feature already exists. You just have to change the value for EnterExitPrefix in messages.yml