RedisEconomy icon indicating copy to clipboard operation
RedisEconomy copied to clipboard

Feature requests: Internal currency name and default currency

Open imparium-de opened this issue 1 year ago • 2 comments

Heya! We're currently switching from CMI's currency system to yours and noticed a few QoL things that'd make the integration into other plugins and the general usability a bit easier.

First

Internal Vault currency name Have an internal currency name that supports legacy color codes. Why? It seems like a handful of plugins doesn't support MiniMessage yet and therefore, currency names look completely off.


Edit: If it is not possible to get such an internal value due to vault we would like to ask if it would be possible to add minedown support (minedown supports colour leagecy code) and make it adjustable in the config file whether you want to use this or minimessage. https://github.com/Phoenix616/MineDown

Example with QuickShop-Hikari (QS dev is aware): image

Possible config option:

currencies:
- currencyName: vault
  currencySingle: <i><b><green>I</green></b></i>
  currencyPlural: <i><b><green>I</green></b></i>
  currencyNameInternal: §2§lI
  decimalFormat: '#.##'
  languageTag: en-US
  startingBalance: 100.0
  payTax: 0.0

Second

Set default Vault currency when none is specified

When using a command like balance/money <player> <currency> give <amount> [reason...], make <currency> optional by falling back to a specified default currency set in the config (Vault, QuestPoints etc).

imparium-de avatar Jan 17 '24 23:01 imparium-de

please use Discord for such things https://discord.com/invite/EXdPs7BBq9

Emibergo02 avatar Jan 21 '24 22:01 Emibergo02

Alright

imparium-de avatar Jan 22 '24 17:01 imparium-de