CraftDisable 是一款轻量、强大且易于使用的插件,专为希望精确控制服务器经济与游戏平衡的管理员设计。无论您是想禁用过于强大的物品、创建独特的挑战,还是引导玩家走向特定的进度路径,CraftDisable 都能提供轻松实现这些目标的必备工具。
✨ 功能特性
- ⚙️ 直观的手持命令: 快速禁用或重新启用您当前手持物品的合成配方。无需查找物品 ID!
- ? 集中式配置管理: 直接在
config.yml 中管理所有已禁用物品的简洁列表。非常适合管理数十种物品。
- ?️ 绕过权限: 授予受信任的玩家或权限组
craftdisable.bypass 权限,使其能够合成任何物品,忽略所有限制。
- ? 可自定义的玩家消息: 从插件前缀到合成拒绝提示,每条消息均可在配置文件中完全翻译和自定义。
- ? 静默模式: 选择是否向尝试合成已禁用物品的玩家发送通知。非常适合打造无缝体验,让某些物品看起来“无法合成”。
- ⚡ 管理员友好工具: 包含
/craftdisable reload 命令以即时应用配置更改,以及 /craftdisable list 命令在游戏中查看所有已禁用物品。
- ? Tab 补全: 所有命令均支持直观的 Tab 键自动补全,使管理快速且无错误。
? 命令与权限
主命令为 /craftdisable,别名包括 /cd 和 /craftd。
所有管理命令都需要 craftdisable.admin 权限。
| 命令 |
描述 |
权限 |
/cd disable |
禁用你主手所持物品的合成。 |
craftdisable.admin |
/cd enable |
重新启用你主手所持物品的合成。 |
craftdisable.admin |
/cd list |
显示当前所有已禁用物品的列表。 |
craftdisable.admin |
/cd reload |
重新加载插件配置文件。 |
craftdisable.admin |
绕过权限:
craftdisable.bypass - 允许玩家合成位于禁用列表中的物品。
? 配置
配置设计得简单明了,易于理解。您可以快速将物品添加到 disabled-items 列表中,并切换玩家通知选项。
示例 config.yml:
# 通用插件设置
settings:
# 设置为 true 会在玩家尝试合成已禁用物品时向其发送消息。
# 设置为 false 则为“静默”阻止。
send-craft-denied-message: true
# 禁止合成的物品列表。
# 请使用 Bukkit Material 名称。
disabled-items:
- "TNT"
- "ENCHANTED_GOLDEN_APPLE"
- "DIAMOND_BLOCK"
# 插件发送的所有消息均可完全翻译。
messages:
prefix: "&8[&cCraftDisable&8] &r"
craft-is-disabled: "&c抱歉,在此服务器上合成此物品 (&e{item}&c) 已被禁用。"
# ... 还有更多!
CraftDisable is a lightweight, powerful, and easy-to-use plugin designed for server administrators who want precise control over their server's economy and gameplay balance. Whether you want to disable overpowered items, create unique challenges, or guide players toward a specific progression path, CraftDisable provides the essential tools to do so with ease.
✨ Features
- ⚙️ Intuitive In-Hand Commands: Quickly disable or re-enable the craft for any item you are holding. No need to look up item IDs!
- ? Centralized Config Management: Manage a clean, simple list of all disabled items directly in
config.yml. Perfect for managing dozens of items.
- ?️ Bypass Permission: Grant trusted players or ranks the
craftdisable.bypass permission to allow them to craft anything, ignoring all restrictions.
- ? Customizable Player Messages: Every message, from the plugin's prefix to the craft denial notice, is fully translatable and customizable in the config.
- ? Silent Mode: Choose whether players receive a notification when they attempt to craft a disabled item. Perfect for creating a seamless experience where some items just seem "uncraftable".
- ⚡ Admin-Friendly Tools: Includes a
/craftdisable reload command to apply config changes instantly and a /craftdisable list command to see all disabled items in-game.
- ? Tab-Completion: All commands feature intuitive tab-completion to make management fast and error-free.
? Commands & Permissions
The main command is /craftdisable, with aliases /cd and /craftd.
All management commands require the permission craftdisable.admin.
| Command |
Description |
Permission |
/cd disable |
Disables the craft of the item in your main hand. |
craftdisable.admin |
/cd enable |
Re-enables the craft of the item in your main hand. |
craftdisable.admin |
/cd list |
Shows a list of all currently disabled items. |
craftdisable.admin |
/cd reload |
Reloads the plugin's configuration file. |
craftdisable.admin |
Bypass Permission:
craftdisable.bypass - Allows a player to craft items that are on the disabled list.
? Configuration
The configuration is designed to be straightforward and easy to understand. You can quickly add items to the disabled-items list and toggle player notifications.
Example config.yml:
# General plugin settings
settings:
# Set to true to send a message to the player when they try to craft a disabled item.
# Set to false for a "silent" block.
send-craft-denied-message: true
# A list of items that are disabled from crafting.
# Use Bukkit Material names.
disabled-items:
- "TNT"
- "ENCHANTED_GOLDEN_APPLE"
- "DIAMOND_BLOCK"
# All messages sent by the plugin are fully translatable.
messages:
prefix: "&8[&cCraftDisable&8] &r"
craft-is-disabled: "&cSorry, crafting this item (&e{item}&c) is disabled on this server."
# ... and many more!
评论 0
登录后参与评分
还没有评论,来抢沙发吧