ExtraEnchants
一款简单的附魔插件,为游戏添加了额外的附魔。
你可以使用以下命令给予玩家一本附魔书:
/ee give <player> <enchant_name> <level>
玩家可以在背包中点击附魔书,然后右键点击兼容的工具来为其附魔,或者通过铁砓应用该附魔。
如果你希望添加新的附魔,欢迎在 Discord 上联系我。
可用附魔
特色附魔
- Plow — 耕作已耕作方块左侧的 3×1 区域,并直接从快捷栏种植种子。
- Telepathy — 自动将挖掘到的方块放入玩家的背包中。
- Smelt — 自动熔炼挖掘到的方块和矿石。
- Lava Walker — 通过生成临时黑曜石方块,允许玩家在岩浆上行走。
- Bonded — 防止物品被掉落,并在死亡时提供保留物品的几率。
其他附魔
- Smelt
- Beheading
- Haste Miner
- Vein Miner
- Anti Thorns
- Experience Miner
- Lifesteal
- Assassin
- Replanter
- Berserk
- Disposer
- Tunnel
- Withering
- Barbarian
- Armor Breaker
- Cold Steel
- Bat Vision
- Turtle Shell
- Reinforced
- GILLS
- Webbing
- Death Siphon
以及更多...
所有附魔的描述可在配置文件中找到:
该插件还支持基于配置的自定义附魔,详情请见:
权限
extraenchants.command.list — 访问 /ee list 命令
extraenchants.command.enchant — 访问 /ee give <player> <enchant_name> <level> 命令
extraenchants.command.unenchant — 访问 /unenchant 命令
extraenchants.signs.use — 使用附魔告示牌的权限
extraenchants.signs.create — 创建附魔告示牌的权限
配置
完整的配置文件可在 GitHub 上找到:
enchants:
... # 所有附魔均在此列出
messages:
no-permission: "&c&l你没有权限执行此操作!"
player-not-found: "&c&l未找到玩家。"
enchantment-list: "&9&l当前附魔:\n&3&l界影术、翻土、熔岩行者、绑定..."
usage: "&c&l命令用法:&d/&7ee <附魔> <玩家>"
enchant-removed: "&4已移除 %enchant_name% 附魔"
魔咒冲突:"&c魔咒与以下某个魔咒存在冲突:"
无法附魔物品:"&c你无法对该物品进行附魔。"
附魔成功:"&a已成功将魔咒应用于该物品。"
手持物品:"&c你必须手持一个物品。"
重新加载:"&a配置文件已成功重新加载。"
# 附魔告示牌的工作方式类似于 EssentialsX 的告示牌。
# 它支持 ExtraEnchants 模组提供的附魔以及原版附魔。
# 要创建附魔告示牌,请使用以下格式(第一行应匹配 enchant-signs.first-line-format)。
# > ENCHANT <
# ENCHANTABLE_ITEM_TYPE
# ENCHANTMENT
# COST : LEVEL
#
# 告示牌示例:
# > ENCHANT <
# ANY
# TELEPATHY
# 1000 : 1
#
# 物品类型可以是:TOOLS(工具)、ARMOR(护甲)、WEAPONS(武器)、ALL(全部)
# 或者指定护甲类型,例如 HELMET(头盔)、CHESTPLATE(胸甲)、LEGGINGS(护腿)、BOOTS(靴子)、ELYTRA(鞘翅)、SHIELD(盾牌)
# 或者指定工具类型,例如 PICKAXE(镐)、AXE(斧)、SHOVEL(锹)、HOE(锄)、SWORD(剑)、BOW(弓)、FISHING_ROD(钓鱼竿)
# 或者指定武器类型,例如 SWORD(剑)、BOW(弓)、CROSSBOW(弩)
# 如果你不指定任何内容,默认限制仍然适用。
#
# 费用可以用金钱、经验值或等级来定义。(货币符号可以是任意字符)
# 支持以下格式:
# - 100 : 1
# - 100$ : 1
# - 100 $ : 1
# - 100L : 1
# - 100 L : 1
# - 100XP : 1
# - 100 XP : 1
enchant-signs:
enabled: true
# 在放置时可以添加自定义颜色代码。这应该是纯文本。
# 你也可以为其他行添加颜色格式。
enchant-first-line-format: "> ENCHANT <"
disenchant-first-line-format: "> DISENCHANT <"
retrieve-first-line-format: "> RETRIEVE <"
messages:
sign-created: "&a成功创建附魔告示牌。"
invalid-enchant: "&c无效的附魔。"
invalid-item-type: "&c无效的物品类型。"
invalid-cost-level: "&c无效的费用和等级格式。"
not-enough-money: "&c你没有足够的金钱购买此附魔。"
no-item-in-hand: "&c你必须手持一个物品。"
cannot-enchant-item: "&c你无法使用此告示牌对此物品进行附魔。"
enchant-applied: "&a成功应用附魔。"
already-enchanted: "&c此物品已经附魔。"
not-enough-xp: "&c你没有足够的经验值购买此附魔。"
not-enough-levels: "&c你没有足够的等级购买此附魔。"
item-not-enchanted: "&c此物品未附魔。"
enchant-removed: "&4%enchant_name% 附魔已被移除"
enchant-retrieved: "&a成功取回附魔。"
# Messenger.debug() 调用的通用调试标志
debug: false
# 启用 custom-enchants/*.yml 框架(书籍、触发器、执行、列表条目)。
# 设置为 false 以全局禁用配置驱动的附魔。
config-driven-enchants: true
# 用于详细日志记录的特定调试标志
debug-enchants:
pipeline: false
timber: false
telepathy: false
notify-update: true
# 配置驱动的自定义附魔的 Lore 行格式。
# 占位符:%enchant_name%, %level_roman%, %level%
custom-enchants:
lore-format: "&7%enchant_name% %level_roman%"
ExtraEnchants
A simple enchantment plugin that adds extra enchants to the game.
You can give players an enchanted book with:
/ee give <player> <enchant_name> <level>
Players can click the enchanted book in their inventory and then click a compatible tool to enchant it, or apply it through an anvil.
If you would like a new enchantment added, feel free to contact me on Discord.
Available Enchants
Featured Enchants
- Plow — Tills a 3×1 area to the left of the tilled block and plants seeds directly from the hotbar.
- Telepathy — Automatically puts mined blocks into the player's inventory.
- Smelt — Automatically smelts mined blocks and ores.
- Lava Walker — Allows walking on lava by creating temporary obsidian blocks.
- Bonded — Prevents the item from being dropped and provides a chance to keep it after death.
Additional Enchants
- Smelt
- Beheading
- Haste Miner
- Vein Miner
- Anti Thorns
- Experience Miner
- Lifesteal
- Assassin
- Replanter
- Berserk
- Disposer
- Tunnel
- Withering
- Barbarian
- Armor Breaker
- Cold Steel
- Bat Vision
- Turtle Shell
- Reinforced
- GILLS
- Webbing
- Death Siphon
and more...
Descriptions for all enchantments can be found in the configuration file:
The plugin also supports config-driven enchantments, see more here:
Permissions
extraenchants.command.list — Access to /ee list
extraenchants.command.enchant — Access to /ee give <player> <enchant_name> <level>
extraenchants.command.unenchant — Access to /unenchant
extraenchants.signs.use — Permission to use enchant signs
extraenchants.signs.create — Permission to create enchant signs
Configuration
The full configuration file can be found on GitHub:
enchants:
... # All enchants are listed here
messages:
no-permission: "&c&lYou do not have permission to do this!"
player-not-found: "&c&lPlayer not found."
enchantment-list: "&9&lCurrent Enchants:\n&3&lTelepathy, Plow, Lava Walker, Bonded..."
usage: "&c&lCommand usage: &d/&7ee <enchantment> <player>"
enchant-removed: "&4%enchant_name% enchant has been removed"
enchant-conflicts: "&cEnchant conflicts with one of the enchants shown below:"
cannot-enchant-item: "&cYou cannot enchant this item."
enchant-applied: "&aSuccessfully applied enchantment to item."
hold-item: "&cYou must hold an item in your hand."
reloaded: "&aSuccessfully reloaded config."
# Enchant signs work similar to EssentialsX signs.
# It supports the ExtraEnchants enchantments and vanilla ones.
# To create an enchant sign, use the following format (first line should match enchant-signs.first-line-format).
# > ENCHANT <
# ENCHANTABLE_ITEM_TYPE
# ENCHANTMENT
# COST : LEVEL
#
# Sign example:
# > ENCHANT <
# ANY
# TELEPATHY
# 1000 : 1
#
# Item type can be: TOOLS, ARMOR, WEAPONS, ALL
# or specify the type of armor, e.g. HELMET, CHESTPLATE, LEGGINGS, BOOTS, ELYTRA, SHIELD
# or specify the type of tool, e.g. PICKAXE, AXE, SHOVEL, HOE, SWORD, BOW, FISHING_ROD
# or specify the type of weapon, e.g. SWORD, BOW, CROSSBOW
# The default limitation still applies if you don't specify anything.
#
# Cost can be defined in money, experience or levels. (The currency symbol can be anything)
# The following formats are supported:
# - 100 : 1
# - 100$ : 1
# - 100 $ : 1
# - 100L : 1
# - 100 L : 1
# - 100XP : 1
# - 100 XP : 1
enchant-signs:
enabled: true
# You can add own color codes when placing it. This should be plain.
# You can also add color format to other lines too.
enchant-first-line-format: "> ENCHANT <"
disenchant-first-line-format: "> DISENCHANT <"
retrieve-first-line-format: "> RETRIEVE <"
messages:
sign-created: "&aSuccessfully created enchant sign."
invalid-enchant: "&cInvalid enchantment."
invalid-item-type: "&cInvalid item type."
invalid-cost-level: "&cInvalid cost and level format."
not-enough-money: "&cYou do not have enough money to purchase this enchant."
no-item-in-hand: "&cYou must hold an item in your hand."
cannot-enchant-item: "&cYou cannot enchant this item with this sign."
enchant-applied: "&aSuccessfully applied enchantment."
already-enchanted: "&cThis item is already enchanted."
not-enough-xp: "&cYou do not have enough XP to purchase this enchant."
not-enough-levels: "&cYou do not have enough levels to purchase this enchant."
item-not-enchanted: "&cThis item is not enchanted."
enchant-removed: "&4%enchant_name% enchant has been removed"
enchant-retrieved: "&aSuccessfully retrieved enchantment."
# General debug flag for Messenger.debug() calls
debug: false
# Enables the custom-enchants/*.yml framework (books, triggers, execution, list entries).
# Set to false to disable config-driven enchants globally.
config-driven-enchants: true
# Specific debug flags for detailed logging
debug-enchants:
pipeline: false
timber: false
telepathy: false
notify-update: true
# Lore line format for config-driven custom enchants.
# Placeholders: %enchant_name%, %level_roman%, %level%
custom-enchants:
lore-format: "&7%enchant_name% %level_roman%"
评论 0
登录后参与评分
还没有评论,来抢沙发吧