⚡
插件簡介 / Description
ExchangeItem 是一款輕量級、可自訂、支援多語言的 Minecraft 插件,允許玩家透過指令進行物品與金錢間的雙向兌換,完全整合 Vault 經濟系統。
ExchangeItem is a lightweight, customizable, multilingual Minecraft plugin that allows players to exchange items and money via commands. Fully integrated with Vault economy.
⚠️
ExchangeItem 需要安裝 Vault 插件,並結合任一支援 Vault 的經濟系統(如 EssentialsX、TheosisEconomy 等)
⚠️ The ExchangeItem plugin requires the Vault plugin and any economy plugin that supports Vault (e.g. EssentialsX, TheosisEconomy, etc.)
✌️
功能特色 / Features
✅ 支援 Paper 1.21+
Compatible with Paper 1.21+
✅ 支援 買入(buy) 與 賣出(sell) 指令
Supports both buy and sell commands
✅ 自動偵測背包空間,空間不足時阻止交易並顯示訊息
Automatically checks inventory space, prevents transactions if full, and shows a message
✅ 自訂物品、價格、訊息、兌換比率等設定
Customizable items, prices, messages, and exchange rates
✅ 支援多語言,可完全自訂語言內容
Multilingual support with fully customizable language file
✅ 世界限制與價格差異設定
World-Based Restrictions & Price Overrides
⚙️ 基本指令 Commands
/ 功能 Description
/exchangeitem ;
aliases: exci
/exci buy <itemname> <amount> | 購買物品(扣款)Buy items (costs money)
/exci sell <itemname> <amount> | 賣出物品(獲利)Sell items (gain money)
/exci reload | 重新載入插件配置 Reload plugin config files
/exci list | 查看當前世界可兌換物品與匯率 View the exchangeable items and rates in the current world
世界限制與價格差異設定
World-Based Restrictions & Price Overrides
- 可針對每個世界設定不同的買入與賣出價格
Set different buy/sell prices for each world
- 可指定每個世界允許兌換的物品種類
Specify which items can be exchanged in each world
This is my another Plugin - QuickVariable URL:
https://www.spigotmc.org/resources/quickvariable-quick-easy-command-variable-handler-plugin.124959/
Demo Video - Using ExchangeItem, QuickVariable, and CommandPanel together
Code (config (Unknown Language)):
## 如果你有使用多重世界插件,直接按照下列的格式複製貼上,然後新增或刪除你希望可以兌換的物品,以及修改您希望的價格。
## If you're using a multi-world plugin, simply copy and paste the format below, then add or remove the items you want to make exchangeable and adjust their prices as needed.
language: lang_en.yml # 使用的語言檔案 / Language file to load
exchange:
world: # 世界名稱 / World Name
EMERALD: 5 # 綠寶石,每顆 5 元 / 5 per emerald
EMERALD_BLOCK: 45 # 綠寶石磚,每塊 45 元 / 45 per emerald block
DIAMOND: 10 # 鑽石,每顆 10 元 / 10 per diamond
DIAMOND_BLOCK: 90 # 鑽石磚,每塊 90 元 / 90 per diamond block
world_nether: # 地獄 / Nether
NETHERITE_INGOT: 100 # 獄髓錠每塊 100 元 / 100 per NETHERITE_INGOT
QUARTZ: 3 # 石英每個 3 元 / 3 per quartz
Code (lang_en (Unknown Language)):
items:
EMERALD: "Emerald" # 自訂物品顯示名稱 / Item display name
EMERALD_BLOCK: "Emerald Block" # 自訂物品顯示名稱 / Item display name
DIAMOND: "Diamond" # 自訂物品顯示名稱 / Item display name
DIAMOND_BLOCK: "Diamond Block" # 自訂物品顯示名稱 / Item display name
messages:
reloaded: "&aPlugin reloaded."
no_permission: "&cYou do not have permission."
list_header: "&7▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
item_line: "✔ &a%item% &7→ &6$%value%"
list_footer: "&7▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ \nUse /exci buy|sell <item> <amount> to exchange."
buy_success: "&aBought %amount% %item% for $%value%."
sell_success: "&aSold %amount% %item% and received $%value%."
item_not_exchangeable: "&cThis item is not exchangeable in this world."
no_exchange_defined: "&cNo exchange rates defined for this world."
usage: "&cUsage: /exchangeitem <list|buy|sell|reload>"
exchange_failed: "&cExchange failed."
no_space: '&cYou don''t have enough inventory space!'
no_space_exact: '&cYou don''t have enough space! Max you can buy: %amount%'
⟳ 以下是一些目前正在考慮的功能,未來更新中可能會加入
Below are some features that are currently under consideration and may be implemented in future updates.
新增「根據玩家交易量自動調整價格」的浮動匯率系統。每個物品的買入與賣出價格,會依照伺服器內的交易行為自動變動。
· 交易量越高,該物品價格會逐漸上升(通膨)
· 賣出量過多,價格則會逐漸下降(供過於求)
管理員可自訂影響比例與價格變動範圍。
Added demand-driven dynamic pricing system. Item buy and sell prices will now automatically adjust based on how frequently players trade them on the server.
· The more an item is traded, the higher its price becomes (inflation).
· Excessive selling will cause prices to drop (over-supply).
Admins can configure the impact ratio and allowed price fluctuation range.
If this plugin has been helpful to you or improved your server experience
and you’d like to buy me a coffee,
you can support me via this link:
https://www.paypal.com/paypalme/Jk8875624