服务器使用量
未统计
服务玩家数
未统计
下载量
4,284
插件详细介绍
这是一个非常易用的附魔拆解插件,几乎不需要玩家输入命令;如果你愿意,甚至可以完全不让玩家使用命令。它的核心玩法很简单:只要拥有对应权限,玩家就能将物品上的附魔拆下,并获得对应的附魔书。
插件简介
该插件在保持操作简单的同时,为 Minecraft 增加了非常实用的功能,而且整体体验非常贴近原版玩法。
- 可与 1.14 新增的 Grindstone 配合使用
- 也可以直接“充当” grindstone 的功能
玩家使用基础功能时,通常只需要一个权限节点即可,详见下方“权限”部分。
使用方法
玩家只需要
- 手持想要拆解附魔的物品,并放在主手(右手)
- 走到一个 Enchantment Table 前
- 或你在配置中指定的其他方块,默认配置见下文
- 左键点击该方块
当满足以下条件时,物品上的附魔就会被移除,并以 enchanted book 的形式返还给玩家:
- 拥有对应权限节点
- 持有一个 book and quill
- 可在配置中关闭此需求
- 拥有足够的金钱或经验值
依赖
- Vault (For Economy) [Not Required]
注意
- 如果
use-economy设置为true,但服务器未安装 Vault,插件会强制改为使用 Experience Points 作为货币 - 如果你已经安装 Vault,但插件仍然收取经验值而不是金钱,请检查:
- 配置中的
use-economy是否设置为true - 服务器启动日志中是否出现以下提示:
- `No Vault Found. Resorting To XP Purchases!`功能特性
- 100% Configurable Messages
- Reload-able Configuration File AND Language File
- Charge In Game Currency OR Experience Points
- Ban Certain Items From Being Disenchanted
- Ban Certain Enchantments From Being Disenchanted
- Each Enchantments Various Power Levels Can Have Their Own Price
- Hold Shift and Left Click With Enchanted Item To Break Enchanting Table, or left Click With Non-Enchanted Item
- Built In Update Notification System
- Access To Disenchantment Menu Via Command
- Configure What Block Acts As The Disenchantment Block
- Charge Player A Book-And-Quill as Well as In Game Currency or Experience Points, Or Just Charge In Game Currency or Experience Points
已完成计划
- Configurable Option To Require A Book To Disenchant Items (DONE)
命令
/disenchanted或/de或/disenchant- 打开 GUI Disenchantment Menu(需要权限)
/disenchanted reload [config] [lang]- 不指定文件时,同时重载两个文件
- 也可以指定只重载某一个文件
/disenchanted help- 显示帮助菜单
权限
disenchanted.disenchant- 允许通过点击 disenchantment block 打开拆魔菜单
disenchanted.disenchant.remote- 允许通过命令打开拆魔菜单
disenchanted.admin- 允许使用重载命令
disenchanted.update- 当插件有更新时,玩家加入服务器后可收到更新提醒
安装步骤
- 1. Stop your server
- 2. Drop this jar file into the plugins folder
- 3. Start server again
默认配置
Default Config
# USE-ECONOMY: Set to TRUE to charge money (requires Vault), set to FALSE to charge XP Levels
# REQUIRE-BOOK-AND-QUILL: Set to TRUE to require the player to have a book and quill to write the removed enchantment to,
# the book and quill will be taken from them and turned into an enchanted book, set to FALSE to disable this, and just
# give the player an enchanted book when disenchanting
# DISENCHANTING-BLOCK: The block players will interact with to disenchant items using this plugin, MUST BE ALL CAPS WITH
# UNDERSCORES FOR SPACES
# ANNOUNCE-UPDATES: Alert players that have a specific permission that an update is available on Spigot for this plugin
# when they join
# DISABLED-ENCHANTS: Enchants That Can Not Be Removed At All, These MUST BE ALL LOWERCASE WITH UNDERSCORE FOR SPACES
# BANNED-ITEMS: Items Here Will Not Be Permitted To Be Disenchanted (A good use of this would be crate keys that are
# enchanted) MUST BE ALL UPPERCASE! WITH UNDERSCORES FOR SPACES
# ENCHANTMENTS: In this section resides all the enchantments in the game at the time of development as well as each level
# that item can have by default (without unsafe enchantments turned on).
# ---------------------------------------------------------------------------------------------------------------------
# | NOTE: THEORETICALLY if a new enchantment is added to the game, you should be able to manually enter the |
# | enchantments 'common name' (what you see on the items lore screen in game), in the same format as the currently |
# | listed enchantments, as well as all of its safe enchantment levels, and the corresponding cost you desire them to |
# | have and the plugin will read that and handle it as if it was coded in to the plugin on release. This feature is |
# | untested as of release to having all current enchantments already listed in the configuration file. If you do |
# | decide to use this theoretical feature on your server, I recommend saving a backup of the config before doing so |
# | just to be safe. |
# | |
# | Also theoretically if you desire to have unsafe enchantments enabled on your server, you can manually add those |
# | up to as high as you wish them to be able to obtain through disenchanting via this plugin. This is also wholly |
# | untested, so again, make sure to save a backup of your functioning config file before making edits like that. |
# | |
# | If you test or have tested these theoretical features, please message me on Discord: Haileykins#0832, or on |
# | SpigotMC: Haileykins, and let me know if it worked, didn't work, or didn't work as expected. I value that input |
# | from you the community to continue making my plugins better and more advanced. |
# ---------------------------------------------------------------------------------------------------------------------
use-economy: true
require-book-and-quill: true
disenchanting-block:
"ENCHANTING_TABLE"
announce-updates: true
disabled-enchants:
[ ]
banned-items:
[ ]
enchantments:
aqua_affinity:
1: 10
bane_of_arthropods:
1: 10
2: 20
3: 30
4: 40
5: 50
blast_protection:
1: 10
2: 20
3: 30
4: 40
channeling:
1: 10
binding_curse:
1: 100
vanishing_curse:
1: 100
depth_strider:
1: 10
2: 20
3: 30
efficiency:
1: 10
2: 20
3: 30
4: 40
5: 50
feather_falling:
1: 10
2: 20
3: 30
4: 40
fire_aspect:
1: 10
2: 20
fire_protection:
1: 10
2: 20
3: 30
4: 40
flame:
1: 10
fortune:
1: 10
2: 20
3: 30
frost_walker:
1: 10
2: 20
impaling:
1: 10
2: 20
3: 30
4: 40
5: 50
infinity:
1: 10
knockback:
1: 10
2: 20
looting:
1: 10
2: 20
3: 30
loyalty:
1: 10
2: 20
3: 30
luck_of_the_sea:
1: 10
2: 20
3: 30
lure:
1: 10
2: 20
3: 30
mending:
1: 10
multishot:
1: 10
piercing:
1: 10
2: 20
3: 30
4: 40
power:
1: 10
2: 20
3: 30
4: 40
5: 50
projectile_protection:
1: 10
2: 20
3: 30
4: 40
protection:
1: 10
2: 20
3: 30
4: 40
punch:
1: 10
2: 20
quick_charge:
1: 10
2: 20
3: 30
respiration:
1: 10
2: 20
3: 30
riptide:
1: 10
2: 20
3: 30
sharpness:
1: 10
2: 20
3: 30
4: 40
5: 50
silk_touch:
1: 10
smite:
1: 10
2: 20
3: 30
4: 40
5: 50
sweeping_edge:
1: 10
2: 20
3: 30
thorns:
1: 10
2: 20
3: 30
unbreaking:
1: 10
2: 20
3: 30配置说明
use-economy- 设置为
true时使用金钱收费,需要 Vault - 设置为
false时使用 XP Levels 收费 require-book-and-quill- 设置为
true时,玩家必须持有book and quill - 该物品会被消耗并转化为
enchanted book - 设置为
false时,将不再需要该物品,插件会直接给予enchanted book disenchanting-block- 玩家用于拆魔交互的方块
- 必须使用全大写,并用下划线代替空格
announce-updates- 玩家加入时,向拥有指定权限的玩家提示插件有可用更新
disabled-enchants- 完全禁止被拆解的附魔列表
- 必须全部使用小写,并用下划线代替空格
banned-items- 不允许被拆魔的物品列表
- 一个典型用途是防止带附魔的 crate keys 被拆解
- 必须全部使用大写,并用下划线代替空格
enchantments- 这里列出了开发时游戏中已有的附魔,以及各默认安全等级对应的价格
关于理论上的扩展支持
作者说明了两种“理论上可行”的扩展方式,但在发布时未经测试:
- 如果游戏新增了附魔,你也许可以手动将该附魔的
common name加入配置 - 同时填写它的各个安全等级及对应价格,插件可能会像原生支持一样读取并处理
- 如果你的服务器启用了 unsafe enchantments,也也许可以手动添加更高等级的附魔价格
- 进行此类修改前,建议务必备份当前可正常工作的配置文件
如果你测试过这些理论功能,原作者希望你通过以下方式反馈结果:
- Discord:
Haileykins#0832 - SpigotMC:
Haileykins
默认语言文件
Default Language File
# Do not translate the actual command in the help messages, all commands must be sent in English. Commands are provided
# here for the user to customize the colors of their menu
prefix:
"&a[&5Disenchanted&a]"
xp-symbol:
" &5XP"
economy-symbol:
"&a$"
menu-title:
"&5Disenchantment Menu"
cant-afford:
"&cYou Cant Afford This"
no-inv-space:
"&cYou Don't Have Any Space in Your Inventory For This!"
purchase-successful:
"&aPurchase Successful"
banned-item:
"&cThis Item Has Been Banned From Disenchating!"
banned-enchant:
"&cThis Enchantment Has Been Banned From Being Disenchanted"
writable-book-required:
"&cYou must have at least one Book And Quill to Disenchant!"
no-permission:
"&cYou Do Not Have Permission To Do This!"
must-be-player:
"&cYou Must Be A Player To Use This Command"
help-reload:
"&5/disenchant reload config/lang - &aReloads The Given File"
help-disenchant:
"&5/disenchant - &aOpens Remote Disenchant Menu (Permission Required)"
help-help:
"&5/disenchant help - &aDisplays Command Help Menu"
config-reloaded:
"&aConfig File Successfully Reloaded"
lang-reloaded:
"&aLanguage File Successfully Reloaded"
file-doesnt-exist:
"&cThat File Does Not Exist, Please Specify Either &5CONFIG &cor &5LANG"
invalid-command:
"&cThat Command Is Invalid!"语言文件说明
- 帮助信息中的实际命令不要翻译
- 所有命令都必须使用英文发送
- 这些文本主要用于让服主自定义菜单颜色和提示消息
可用于禁用拆魔的附魔通用名称
以下是用于 disabled-enchants 的常用附魔名称:
powerflameinfinitypunchbinding_cursechannelingsharpnessbane_of_arthropodssmitedepth_striderefficiencyunbreakingfire_aspectfrost_walkerimpalingknockbackfortunelootingloyaltyluck_of_the_sealuremendingmultishotrespirationpiercingprotectionblast_protectionfeather_fallingfire_protectionprojectile_protectionquick_chargeriptidesilk_touchsweeping_edgethornsvanishing_curseaqua_affinity
问题反馈
如需报告问题
- 在本页面右侧找到
Ask Questions/Get Support - 它位于
discuss this resource按钮上方
注意
- 直接在资源页面 / 讨论页面反馈的问题,很可能会被忽略
- 请务必在 repository page 上提交,以便问题能够被正确记录、跟踪和修复
兼容版本说明
THIS ONLY WORKS IN 1.13 AND UP
测试支持版本
版本分布
基本信息
插件名称
Disenchanted
作者
Haileykins
平台
Bukkit / Spigot
支持版本
1.13 - 1.14
点赞数
未统计
最近版本
暂无数据
-