Emibergo02/RedisEconomy

Choice between MiniMessage and alternative to add support for versions below the newest version.

Closed this issue · 5 comments

Because of minimessage the plugin cannot work on versions below 1.19 (the newest version at the moment)

I wish there was a choice between MiniMessage and an alternative that would allow to use versions below 1.19, at least 1.13 as in the case of EzRedisLib.

Error:
image

I see you follow the development of William, a good alternative would be MineDown.

Which is used by Husk plugins, it is also quite functional.

if you wanna target MineDown, target MineDown-adventure and use the bukkit adventure adapter. 1.16.5 is sorta what I softly target as a base "LTS" at the moment.

i could compile minimessage into the jar but since it is inside paper-api i thought it was unnecessary.
btw "the plugin cannot work on versions below 1.19" is incorrect. the plugin runs on 1.18
anyway i know MineDown. i'll take a look at your proposal

@RE4ERKA can you make a MineDown-formatted config.yml, please?

@RE4ERKA can you make a MineDown-formatted config.yml, please?

lang:
  no-console: "[You must be in-game to use this command!](red)"
  no-permission: "[You do not have permission to use this command!](red)"
  player-not-found: "[Player not found!](red)"
  invalid-amount: "[Invalid amount!<](red)"
  insufficient-funds: "[You do not have enough money!](red)"
  balance: "[You have %balance%$!](green)"
  balance-set: "[You set %player% account to %balance%$ !](green)"
  balance-other: "[%player% has %balance%$ !](green)"
  balance-top: "[Top richest players:](green)"
  balance-top-format: "[Top %player% %amount%$](aqua)"
  pay-self: "[You cannot pay yourself!](red)"
  pay-success: "[You paid %player% %amount%$!](green)"
  pay-fail: "[Pay failed!](red)"
  pay-received: "[You received %amount% from %player%$!](green)"
  transaction-item: "[%timestamp%](aqua) [%sender%](dark_green run_command=/transaction %sender% %afterbefore%) -> [%receiver%](green run_command=/transaction %receiver% %afterbefore%) %amount%$!"

Didn't check.