EssentialsX

EssentialsX

2M Downloads

Where is the currency symbol property in the code?

TylerMattioli opened this issue ยท 3 comments

commented

I want to change it from a character to allow multiple characters, or you know, just a string. If anyone can point me to it if they've come across it that would be great.

commented

Not talking about in the config. I want to modify how it's handled from what you specify in the config. It trims the string to choose the first letter for the currency.

commented

Think I found it

return config.getString("currency-symbol", "$").concat("$").substring(0, 1).replaceAll("[0-9]", "$");