禁止村民交易
概述
DisableVillagerTrade 是一款轻量级的模组/插件,旨在仅阻止与村民的交易互动,同时保留与其他非玩家角色(NPC)的交互。这确保了你的服务器拥有平衡且沉浸式的游戏体验。
现已支持多个平台!
? 支持的平台
| 平台 | Minecraft 版本 | 状态 |
|---|---|---|
| Bukkit/Spigot/Paper | 1.14 - 1.21.11+ | ✅ 完全支持 |
| Fabric | 1.21.11 | ✅ 完全支持 |
| Forge | 1.21.11 | ✅ 完全支持 |
| NeoForge | 1.21.11 | ✅ 完全支持 |
| Quilt | 1.21.11 | ✅ 使用 Fabric 版本 |
✨ 主要功能
- 自定义交互消息 - 个性化交互消息以匹配服务器的语气和风格,增强玩家的参与度。
- 切换交互消息 - 根据服务器偏好轻松启用或禁用交互消息。
- 按世界/维度禁用 - 通过在世界/维度级别启用或禁用该插件来微调游戏动态,从而对交易功能进行精确控制。
- 绕过权限 - 允许拥有
disabletrade.bypass权限的管理员与村民交易。 - 智能职业检测 - 没有职业(NONE)的村民仍然可以被交互。
- 自动更新检查器 - 当有新版本可用时收到通知。
- 管理命令 - 在所有平台上使用简单的命令管理该模组(
/dvt reload|status|help)。
? 安装
Bukkit/Spigot/Paper
- 下载
DisableVillagerTrade-Bukkit-x.x.x.jar - 放入服务器的
plugins文件夹 - 重启服务器
- 在
plugins/DisableVillagerTrade/config.yml中进行配置
Fabric
- 下载
DisableVillagerTrade-Fabric-x.x.x.jar - 确保已安装 Fabric Loader 和 Fabric API
- 放入
mods文件夹 - 在
config/disablevillagertrade.json中进行配置
Forge / NeoForge
- 下载适合你加载器的 JAR 文件
- 放入
mods文件夹 - 在
config/disablevillagertrade-server.toml中进行配置
⚙️ 配置 (Bukkit)
# 消息设置
message:
enabled: true
text: "&c你不能在这个服务器上与村民交易。"
# 允许交易的 миров
disabled-worlds:
- example-world
? 命令
所有平台都支持 /dvt 命令。Bukkit 额外注册了 /disabletrade 和 /tradetoggle 作为别名。
Bukkit
| 命令 | 描述 | 权限 |
|---|---|---|
/disabletrade reload |
重新加载插件配置 | disabletrade.admin |
/disabletrade status |
显示插件状态和设置 | disabletrade.admin |
/disabletrade toggle [player] |
检查绕过权限状态 | disabletrade.admin |
/disabletrade help |
显示帮助消息 | disabletrade.admin |
别名: /dvt, /tradetoggle
Fabric / Forge / NeoForge
| 命令 | 描述 | 所需权限 |
|---|---|---|
/dvt reload |
重新加载模组配置 | OP 等级 2 |
/dvt status |
显示模组状态和设置 | OP 等级 2 |
/dvt help |
显示帮助消息 | OP 等级 2 |
? 权限
| 权限 | 描述 | 默认值 |
|---|---|---|
disabletrade.admin |
访问所有管理命令 | OP |
disabletrade.bypass |
允许玩家绕过交易限制 | OP |
disabletrade.update |
加入时接收更新通知 | OP |
注意: 在 Fabric 上,权限通过 Fabric Permissions API 工作,或者回退到 OP 等级 2+。在 Forge/NeoForge 上,需要 OP 等级 2+。
? 支持的版本
- Minecraft: 1.14 - 1.21.11+(因平台而异)
- Java: 21+
? 链接
? 许可证
本项目基于 MIT License 开源。
Disable Villager Trade
Overview
DisableVillagerTrade is a lightweight mod/plugin crafted to block trading interactions exclusively with villagers while preserving interactions with other non-player characters (NPCs). This ensures a balanced and immersive gameplay experience on your server.
Now available for multiple platforms!
? Supported Platforms
| Platform | Minecraft Version | Status |
|---|---|---|
| Bukkit/Spigot/Paper | 1.14 - 1.21.11+ | ✅ Full Support |
| Fabric | 1.21.11 | ✅ Full Support |
| Forge | 1.21.11 | ✅ Full Support |
| NeoForge | 1.21.11 | ✅ Full Support |
| Quilt | 1.21.11 | ✅ Use Fabric version |
✨ Key Features
- Custom Interaction Messages - Personalize interaction messages to match your server's tone and style, enhancing player engagement.
- Toggle Interaction Messages - Easily enable or disable interaction messages according to server preferences.
- World/Dimension-Specific Disablement - Fine-tune gameplay dynamics by enabling or disabling the plugin on a per-world/dimension basis, granting precise control over trading functionalities.
- Bypass Permission - Allow staff to trade with
disabletrade.bypasspermission. - Smart Profession Detection - Villagers with no profession (NONE) can still be interacted with.
- Automatic Update Checker - Get notified when a new version is available.
- Admin Commands - Manage the mod with simple commands on all platforms (
/dvt reload|status|help).
? Installation
Bukkit/Spigot/Paper
- Download
DisableVillagerTrade-Bukkit-x.x.x.jar - Place in your server's
pluginsfolder - Restart your server
- Configure in
plugins/DisableVillagerTrade/config.yml
Fabric
- Download
DisableVillagerTrade-Fabric-x.x.x.jar - Ensure you have Fabric Loader and Fabric API installed
- Place in your
modsfolder - Configure in
config/disablevillagertrade.json
Forge / NeoForge
- Download the appropriate JAR for your mod loader
- Place in your
modsfolder - Configure in
config/disablevillagertrade-server.toml
⚙️ Configuration (Bukkit)
# Message settings
message:
enabled: true
text: "&cYou can't trade with villagers on this server."
# Worlds where trading is ALLOWED
disabled-worlds:
- example-world
? Commands
All platforms support the /dvt command. Bukkit additionally registers /disabletrade and /tradetoggle as aliases.
Bukkit
| Command | Description | Permission |
|---|---|---|
/disabletrade reload |
Reload the plugin configuration | disabletrade.admin |
/disabletrade status |
Show plugin status and settings | disabletrade.admin |
/disabletrade toggle [player] |
Check bypass permission status | disabletrade.admin |
/disabletrade help |
Show help message | disabletrade.admin |
Aliases: /dvt, /tradetoggle
Fabric / Forge / NeoForge
| Command | Description | Required Permission |
|---|---|---|
/dvt reload |
Reload the mod configuration | OP level 2 |
/dvt status |
Show mod status and settings | OP level 2 |
/dvt help |
Show help message | OP level 2 |
? Permissions
| Permission | Description | Default |
|---|---|---|
disabletrade.admin |
Access to all admin commands | OP |
disabletrade.bypass |
Allows the player to bypass trade block | OP |
disabletrade.update |
Receives update notifications on join | OP |
Note: On Fabric, permissions work with Fabric Permissions API or fall back to OP level 2+. On Forge/NeoForge, OP level 2+ is required.
? Supported Versions
- Minecraft: 1.14 - 1.21.11+ (varies by platform)
- Java: 21+
? Links
? License
This project is open source under the MIT License.
下载 Disable Villager Trade
下载 Disable Villager Trade
下载 Disable Villager Trade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Disable Villager Trade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Disable Villager Trade
下载 Disable Villager Trade
下载 Disable Villager Trade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Disable Villager Trade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Disable Villager Trade
下载 Disable Villager Trade
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧