跳转至主要内容

多币种支持

QuickShop-Hikari支持一些多货币经济插件或桥接插件,但它们不是开箱即用的,您必须配置它们才能生效。

支持的经济插件

QuickShop-Hikari当前支持以下多币种经济插件:

要启用多币种功能,您需要将 QuickShop 经济处理器配置为支持的模式,这可以在 config.yml 中进行配置:

# What economy provider should QuickShop use?
# 0=Vault
# 3=GemsEconomy with Multi-Currency on
# 4=TNE with Multi-Currency on
# 5=CoinsEngine with Multi-Currency on (experimental)
# 6=Treasury with Multi-Currency on (experimental)
# DO NOT TOUCH THIS IF YOU DON'T KNOW WHAT IT DOES. ASK FOR SUPPORT BEFORE TOUCHING THIS!
economy-type: 0

Set economy-type to 3-6 will enable the Multi-Currency feature.
Note: Only one processor can be enabled in same time which mean once you choose 3-6, Vault will be disabled.

商店默认货币

您需要为默认使用设置一种货币(例如新商店默认货币),并在 config.yml 中进行配置:

# The currency used to create shops.
# Set this to "" to use default currency.
# Only required if you use multiple currencies.
currency: ''

设置多货币备用符号

您可以为符号设置备用符号,QuickShop-Hikari将在文本中对特定货币的符号替换为备用符号。

  # This setting is for multi-currency setups.
# If nothing matches in this list, it falls back to the name of currency itself.
alternate-currency-symbol-list:
- USD;$
- CNY;¥

更改商店的货币

Looking at a quickshop, execute /quickshop currency <new-currency> to change shop currency.

持续费用货币

OngoingFee will always use server scope default currency (currency).

商店税收货币

Shop tax will use per-shop currency with global tax rate (cannot change yet).
If you really want this feature, open a Feature Request on our Issue Tracker!