Closed ghost closed 7 years ago
Change it to use https://github.com/AppleDash/SaneEconomy/blob/master/SaneEconomyCore/src/main/java/org/appledash/saneeconomy/utils/MessageUtils.java#L49 and I'd be happy to merge it. (It's not very well documented, but the format would then look like this: {0} {1}
for no space, or {0}{1}
for a space.
On my server, the typical currency formatting has no space between the amount and unit of currency (ex. "Your balance is 10n"). This change adds the ability to format currency this way and in other ways while retaining complete compatibility with all current implementations. If you feel that the config.yml option adds too much confusion/clutter for such an uncommonly used feature, it could be a "hidden" option that can be added to the file manually for the rare cases where it is needed.