Economic Inflation Minecraft 插件
Economic Inflation 是一款适用于 Paper/Purpur 的 Minecraft 插件,它为游戏的交易系统引入了经济通胀机制。该插件会根据可配置的通胀率调整与村民交易时的物品价格。
功能特性
-
交易价格调整:根据通胀率调整与村民交易时的物品价格。
-
可配置的通胀率:服务器管理员可以在插件的配置文件中设置通胀率。
-
交易数据追踪:记录每个物品与村民进行交易(购买或出售)的次数。
-
事件监听器:利用事件监听器拦截玩家与村民的交互,并修改交易价格。
-
通胀率:通胀率在服务器范围内同步,但你仍可以通过不同的村民获得更便宜的商品。当前最高价格为 64(可能会更改)。
配置
要配置 EconomicInflation 插件,请按照以下步骤操作:
- 将
EconomicInflation.jar 文件放入你的 Bukkit/Spigot 服务器的 plugins 文件夹中。
- 启动服务器,以便在
plugins/EconomicInflation 目录下生成 config.yml 文件。
- 使用文本编辑器打开
config.yml 文件。
编辑以下配置选项:
inflation_rate:数值越高,价格越低。计算公式为:(交易次数 / inflation_rate) + 正常价格
保存对 config.yml 文件的更改。
使用方法
- 按照“配置”部分所述安装并配置插件。
- 启动你的 Paper/Purpur 服务器。
- 在游戏中与村民互动,观察经济通胀机制的实际效果。交易物品的价格将根据配置的通胀率进行调整。
- 插件将自动追踪交易数据,包括每个物品与村民的交易次数。
已知问题
贡献
如果你有改进建议或新功能提议,欢迎通过 Discord 联系我,用户名是 dwaa。
如需支持或咨询,请联系邮箱 dwatnip123@gmail.com 或在 Discord 上联系 dwaa。
Economic Inflation Minecraft Plugin
Economic Inflation is a Paper/Purpur plugin for Minecraft that introduces economic inflation mechanics to the game's trading system. This plugin modifies the prices of items traded with villagers based on a configurable inflation rate.
Features
-
Trade Price Adjustment: Adjusts the prices of items traded with villagers based on inflation rates.
-
Configurable Inflation Rate: Server administrators can configure the inflation rate in the plugin's configuration.
-
Trade Data Tracking: Tracks the number of times each item has been traded (bought or sold) with villagers.
-
Event Listeners: Utilizes event listeners to intercept player interactions with villagers and modify trade prices.
-
Inflation Rate: The rate of inflation is synced across all of server but you can still get cheaper items with different villagers, the current max price is 64 (subject to change)
Configuration
To configure the EconomicInflation plugin, follow these steps:
- Place the
EconomicInflation.jar file in the plugins folder of your Bukkit/Spigot server.
- Start the server to generate the
config.yml file inside the plugins/EconomicInflation directory.
- Open the
config.yml file in a text editor.
Edit the following configuration options:
inflation_rate: the higher the number the lower it is, it is calculated by (amount_of_times_traded / infaltion_rate + normal price)
Save the changes to the config.yml file.
Usage
- Install and configure the plugin as described in the Configuration section.
- Start your Paper/Purpur server.
- Interact with villagers in the game to observe the economic inflation mechanics in action. Prices of traded items will be adjusted based on the configured inflation rate.
- The plugin will automatically track trade data, including the number of times each item has been traded with villagers.
Known Issues
Contributing
If you have improvements or new features to suggest, feel free to message me on discord dwaa.
For support or inquiries, please contact dwatnip123@gmail.com or dwaa on discord.
评论 0
登录后参与评分
还没有评论,来抢沙发吧