ChestShop-authors / ChestShop-3

ChestShop - the chest & sign shop plugin for Minecraft Servers running Bukkit/Spigot/Paper
https://dev.bukkit.org/projects/chestshop
GNU Lesser General Public License v2.1
275 stars 176 forks source link

Customize the shops Buy (B) and Sell (S) identifier #449

Closed magrigry closed 3 years ago

magrigry commented 3 years ago

I would like to be able to have different and translated value for the Buy and Sell identifier on the third line of a Shop :

Here is an example of a configuration implementation that could handle this

identifier:

  # This option would be used to customize the identifier which is actually "S" IF there is only a sell price (to avoid line OverFlow)
  long_sell:
  - "Vente" # which mean "sell" in french

  # This option would be used to customize the identifier which is actually "S" IF the shop also have a buy price
  short_sell:
  - "V" # The first value of this list would be use by default
  - "S" # We can provide on other value to avoid breaking older shops

  long_buy:
  - "Achat" # which mean "buy" in french

  short_buy:
  - "A"
  - "B"

Short and long notation could support colors which could be pretty nice for players to check if it's a sell or buy shop with a quick look

image

Phoenix616 commented 3 years ago

Duplicate of #237