Infinite Trades 是一款轻量级的 Minecraft Forge 服务端实用模组,旨在允许特定玩家与村民及流浪商人进行无限次交易。
概述
本模组专为寻求简单方法绕过原版交易刷新机制的服务器管理员(SMP)和整合包制作者而开发。
它提供了完美的工具来奖励特定玩家(如 VIP 成员)、创建由特殊商人管理的商店,或在建筑环境中促进方块获取,同时不会破坏服务器的经济平衡。
工作原理
该系统巧妙地基于 Minecraft 原生的标签(Tag)机制驱动。
当拥有配置标签(默认:infinite_trades)的玩家与任何商人实体互动时,模组会拦截该操作。在极短的时间内(交易 GUI 打开之前),模组会重置所有可用交易所需的使用次数。结果是,玩家可以反复交易完全相同的物品,而无需等待村民刷新交易。
特性
- 基于标签的集成:精细且易于控制。使用标准命令(例如
/tag <player> add infinite_trades)向特定玩家授予无限交易权限。
- 仅服务端:无需安装客户端模组。将其放入服务器即可立即生效。
- 通用兼容性:与村民、流浪商人以及其它模组添加的实际上的任何自定义商人均完美兼容。
- 高效性能:使用简洁的 Forge 交互事件,确保对服务器的性能影响降至最低。
- 游戏内控制:管理员无需重启服务器即可切换系统状态、更改所需标签或启用调试消息。
配置与命令
模组会在 config/infinitetrades-server.toml 生成一个简单的配置文件。不过,所有设置均可通过具有操作员权限(Level 2)在游戏内管理:
/infinitetrades toggle <true/false>
/infinitetrades tag <tagName>
/infinitetrades debug <true/false>
/infinitetrades status
兼容性
- Minecraft 版本:1.20.1
- 加载器:Forge 47.4.10+
- 运行端:服务端(可选安装客户端,但非必需)
致谢与支持
作者:SatDPhoe
Infinite Trades is a lightweight, server-side utility for Minecraft Forge designed to allow specific players to perform unlimited trades with villagers and wandering traders.
Overview
This mod was developed for server administrators (SMPs) and modpack creators looking for a simple way to bypass the vanilla trade restock mechanics.
It provides the perfect tool to reward specific players (such as VIP members), create special merchant-managed shops, or facilitate block acquisition in building environments, all without disrupting the economy balance for the rest of the server.
How It Works
The system is smartly driven by Minecraft's native Tag mechanics.
When a player possessing the configured tag (default: infinite_trades) interacts with any merchant entity, the mod intercepts the action. In a fraction of a second, before the trading GUI opens, the mod resets the use count of all available offers. The result is that the player can trade the exact same items repeatedly without ever having to wait for the villager to restock.
Features
- Tag-Based Integration: Granular and easy control. Grant infinite trades to specific players using standard commands (e.g.,
/tag <player> add infinite_trades).
- Server-Side Only: No client installation is required. Drop it into your server and it works instantly.
- Universal Compatibility: Works flawlessly with Villagers, Wandering Traders, and practically any custom merchant added by other mods.
- Efficient Performance: Uses clean Forge interaction events, ensuring minimal performance impact on the server.
- In-Game Control: Administrators can toggle the system, change the required tag, or enable debug messages without needing to restart the server.
Configuration & Commands
The mod generates a simple configuration file at config/infinitetrades-server.toml. However, everything can be managed in-game with Operator permission (Level 2):
/infinitetrades toggle <true/false>
/infinitetrades tag <tagName>
/infinitetrades debug <true/false>
/infinitetrades status
Compatibility
- Minecraft Version: 1.20.1
- Mod Loader: Forge 47.4.10+
- Side: Server-side (Client installation optional but not required)
Credits & Support
Author: SatDPhoe
评论 0
登录后参与评分
还没有评论,来抢沙发吧