Skip to content
Discussion options

You must be logged in to vote

EssentialsX doesn't look for [Sell] as text you typed, it compares the whole first line with its own success label. In SignPlayerListener.onSignPlayerInteract it loops over the enabled signs and checks csign.equalsIgnoreCase(sign.getSuccessName(ess)), and the success label for Sell is signFormatSuccess=<dark_blue>[{0}], i.e. §1[Sell]. Your <dark_blue>[Sell]</dark_blue> turns into exactly that string, so to EssentialsX your sign is a Sell sign. [SellHead] works because it no longer matches.

You can keep the identical look and tell EssentialsX to leave your signs alone through its API event net.ess3.api.events.SignInteractEvent, which is fired before the sign does anything and is cancellable:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tester43214
Comment options

Answer selected by tester43214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants