• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

Citizens/角色/铁匠:修订间差异

来自Minecraft插件百科
跳转到导航 跳转到搜索
(创建页面,内容为“{{Trait | PICTURE = Blacksmith.png | AUTHOR = aPunch | NAME = Blacksmith | VERSION = ??? | CITIZENSBUILD = 2.0.x | DEVSTATUS = InDev | DEPEN...”)
 
无编辑摘要
 
(未显示同一用户的11个中间版本)
第6行: 第6行:
| CITIZENSBUILD  = 2.0.x
| CITIZENSBUILD  = 2.0.x
| DEVSTATUS    = InDev
| DEVSTATUS    = InDev
| DEPENDS = Vault, and an economy system
| DEPENDS = 以Vault为前置的经济系统
| DOWNLOADLINK  = http://ci.citizensnpcs.co/view/Add-ons/job/Blacksmith/
| DOWNLOADLINK  = http://ci.citizensnpcs.co/view/Add-ons/job/Blacksmith/
| DESCRIPTION  = Heavily Customizable Tool and Armor Reforging
| DESCRIPTION  = 高度自定义装备锻造
}}
}}


Blacksmith is a Citizens 2.0 character trait that gives Citizens NPCs the ability to:
Blacksmith Citizens 2.0 的一个角色特性,可以给予NPC以下能力:
*Repair weapons, tools, and armor for a fee.
*付费修复武器、工具和装备.


Most up-to-date source code available here: https://github.com/mcmonkey4eva/Blacksmith
最新插件源码在这里: https://github.com/mcmonkey4eva/Blacksmith


==Updates==
==更新记录==
v1.13 10/12/2018
v1.13 10/12/2018
* HurricanKai is missing, so mcmonkey has performed minimalist updates, now available here https://github.com/mcmonkey4eva/Blacksmith
* HurricanKai已失联, 所以 mcmonkey 更新了这款插件, 你可以在这里看到新版本: https://github.com/mcmonkey4eva/Blacksmith


??? ?/?/2017
??? ?/?/2017
* Now maintained by HurricanKai, compat with minecraft 1.12 as of this message. See github for commit logs. https://github.com/HurricanKai/Blacksmith
* 现在这款插件由 HurricanKai维护, 兼容1.12. 请查看 github 日志. https://github.com/HurricanKai/Blacksmith


??? 2/17/2015
??? 2/17/2015
* update to latest everything.
* 更新到最新内容.


v1.3 8/5/2013
v1.3 8/5/2013
* Fix blacksmith not returning items.
* 修复铁匠不归还物品的漏洞.


v1.2 8/15/2012
v1.2 8/15/2012
*Added price-per-durability-point option on a per-item basis.
*添加每点耐久所需价格选项.
*dded session timeout if player asks for price and does not reforge item.
*添加如果玩家询问价格而不锻造物品的过期时间.
*Fixed Random-enchant algorithm.
*修复随机附魔算法。


v1.1 8/8/2012
v1.1 8/8/2012
*Compatible with 1.3.1 builds of C2
*兼容 1.3.1的Citizens2版本


==How to Use==
==如何使用==
==Installation==
==安装==
*Install Citizens 2
# 安装Citizens 2
*Place Blacksmith.jar file in /plugins directory.
# 将Blacksmith.jar文件放进/plugins文件夹。
*Start Server
# 启动服务器。
*Create NPC and give the Blacksmith trait.
# 创建NPC,然后给予它铁匠特性。
输入
  /npc create Smithy --trait blacksmith  
  /npc create Smithy --trait blacksmith  
or
  /npc create Smithy
  /npc create Smithy
  /trait blacksmith  
  /trait blacksmith  


===General Information===
===介绍===
Blacksmiths have a variety of settings that can be per-NPC or global. The settings under "defaults" in the configuration file are the default settings that a blacksmith will be given when it is created. You can override these settings by using the commands from the Commands section below. You can even configure which items a blacksmith is able to reforge in-game using commands. By default, a blacksmith is able to reforge all items.
铁匠拥有多种设置,配置文件内"default"设置为默认配置。它将会在一个铁匠被创建时被应用。 你可以通过下面指令部分列出的指令来修改这些设置. 你甚至可以配置铁匠可以使用命令在游戏中锻造哪些物品。默认情况下,铁匠可以锻造所有的物品。


===Interaction===
===交互===
Interacting with a blacksmith is simple:
与铁匠交互很简单:
*Right click the NPC with a tool or armor in your hand. It will tell you the price that it costs to reforge it.
§ 手里拿着一个工具或者装备右键这个NPC,它会告诉你锻造需要多少钱。
*Right click again within 10 seconds and the blacksmith will begin reforging the item.
§ 在10秒内再次右键铁匠,他就会开始锻造这个物品。
**Depending on the configuration, the reforging has a chance to enchant or damage an item.
§ 根据配置,锻造一件物品有几率会获得附魔或者损坏。


==Prices==
==价格==
Prices are determined by the damage of an item, the number and type of enchantments, and the prices defined in the configuration file. Basically, the formula for determining the price of a reforge is ''basePrice + durabilityRemaining + enchantments''.
价格是通过一个物品的损坏程度、附魔的种类和数量、以及在配置文件中设置的价格来决定的。一般说来,一个物品的价格 = 基础价格 + 剩余耐久度 + 附魔。


===Base Price===
===基础价格===
The default base price for a reforge is the ''base-prices.default'' value in the configuration file. To add new base prices for each individual item, add the item to the config file under ''base-prices''
再次锻造所需的基础价格在配置内的数值为 ''base-prices.default''.想要给每个物品添加新的基础价格,请在配置内''base-prices''下面修改.


===Durability===
===耐久度===
Durability is the amount of damage that an item has taken. Generally, the more damaged an item is, the cheaper it will be to reforge. Trying to reforge an item with no damage will be significantly more expensive. The price per durability point is ''price-per-durability-point.default'' in the configuration. Per-item values may be set by adding to this section.
耐久度就是物品损耗的程度.一般来说,程度越深,再次锻造所需的价格也就越便宜. 重新锻造没有损坏的物品将会特别昂贵. 价格可在配置内设置 ''price-per-durability-point.default''. 每个物品的价值也可在这里单独设置.


These are the items names to use with custom base and per-durability-point prices.
以下物品可用于自定义基础价格和锻造价格.


<div class="toccolours mw-collapsible mw-collapsed" style="width:150px">
<div class="toccolours mw-collapsible mw-collapsed" style="width:250px">
'''Valid Items'''
'''有效物品'''
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
wood-pickaxe
wood-pickaxe 木镐
<br>wood-spade
<br>wood-spade 木铲
<br>wood-hoe
<br>wood-hoe 木锄
<br>wood-sword
<br>wood-sword 木剑
<br>wood-axe
<br>wood-axe 木斧
<br>stone-pickaxe
<br>stone-pickaxe 石镐
<br>stone-spade
<br>stone-spade 石铲
<br>stone-hoe
<br>stone-hoe 石锄
<br>stone-sword
<br>stone-sword 石剑
<br>stone-axe
<br>stone-axe 石斧
<br>gold-pickaxe
<br>gold-pickaxe 金镐
<br>gold-spade
<br>gold-spade 金铲
<br>gold-hoe
<br>gold-hoe 金锄
<br>gold-sword
<br>gold-sword 金剑
<br>gold-axe
<br>gold-axe 金斧
<br>iron-pickaxe
<br>iron-pickaxe 铁镐
<br>iron-spade
<br>iron-spade 铁铲
<br>iron-hoe
<br>iron-hoe 铁锄
<br>iron-sword
<br>iron-sword 铁剑
<br>iron-axe
<br>iron-axe 铁斧
<br>diamond-pickaxe
<br>diamond-pickaxe 钻石镐
<br>diamond-spade
<br>diamond-spade 钻石铲
<br>diamond-hoe
<br>diamond-hoe 钻石锄
<br>diamond-axe
<br>diamond-axe 钻石斧
<br>bow
<br>bow
<br>flint-and-steel
<br>flint-and-steel 打火石
<br>fishing-rod
<br>fishing-rod 钓鱼竿
<br>shears
<br>shears 剪刀
<br>leather-helmet
<br>leather-helmet 皮革帽子
<br>leather-chestplate
<br>leather-chestplate 皮革胸甲
<br>leather-leggings
<br>leather-leggings 皮革护腿
<br>leather-boots
<br>leather-boots 皮革鞋子
<br>chainmail-helmet
<br>chainmail-helmet 锁链头盔
<br>chainmail-chestplate
<br>chainmail-chestplate 锁链胸甲
<br>chainmail-leggings
<br>chainmail-leggings 锁链护腿
<br>chainmail-boots
<br>chainmail-boots 锁链鞋子
<br>gold-helmet
<br>gold-helmet 金头盔
<br>gold-chestplate
<br>gold-chestplate 金胸甲
<br>gold-leggings
<br>gold-leggings 金护腿
<br>gold-boots
<br>gold-boots 金鞋子
<br>iron-helmet
<br>iron-helmet 铁头盔
<br>iron-chestplate
<br>iron-chestplate 铁胸甲
<br>iron-leggings
<br>iron-leggings 铁护腿
<br>iron-boots
<br>iron-boots 铁鞋
<br>diamond-helmet
<br>diamond-helmet 钻石头盔
<br>diamond-chestplate
<br>diamond-chestplate 钻石胸甲
<br>diamond-leggings
<br>diamond-leggings 钻石护腿
diamond-boots</div></div>
diamond-boots 钻石鞋子</div></div>


Example:
示例:
<pre>
<pre>
base-prices:
base-prices:
第130行: 第131行:
</pre>
</pre>


===Enchantments===
===附魔===
The price of reforging an item with enchantments is more expensive than one without any. For each enchantment, an amount is added to the total price based on the "enchantment-modifier" and the level of the enchantment. Enchantment modifiers can be configured in the configuration file by adding the enchantment name and a value within the ''enchantment-modifiers'' section. The default modifier, ''enchantment-modifiers.default'', is used if the enchantment name is not found. Here are valid, case-sensitive names for enchantment modifiers:
锻造一个附魔物品的价格比普通物品贵得多。对于每一个附魔来说,需要付出的总费用基于"enchantment-modifier(附魔调节器)"和附魔等级。<br>
附魔调节器可以通过在配置文件的enchantment-modifiers部分中添加附魔的名称和价格来配置。<br>
默认的附魔调节器(enchantment-modifiers.default)会在附魔的名称没有找到时默认使用。<br>
下面是在附魔调节器中有效的名称(区分大小写):


* ''arrow-damage'' - Provides extra damage when shooting arrows from bows
* ·  arrow-damage - 力量
* ''arrow-fire'' - Sets entities on fire when hit by arrows shot from a bow
* ·  arrow-fire - 火矢
* ''arrow-infinite'' - Provides infinite arrows when shooting a bow
* ·  arrow-infinite - 无限
* ''arrow-knockback'' - Provides a knockback when an entity is hit by an arrow from a bow
* ·  arrow-knockback - 冲击
* ''damage-all'' - Increases damage against all targets
* ·  damage-all - 锋利
* ''damage-arthropods'' - Increases damage against arthropod targets
* ·  damage-arthropods - 节肢杀手
* ''damage-undead'' - Increases damage against undead targets
* ·  damage-undead - 亡灵杀手
* ''dig-speed'' - Increases the rate at which you mine/dig
* ·  dig-speed - 效率
* ''durability'' - Decreases the rate at which a tool looses durability
* ·  durability - 耐久
* ''fire-aspect'' - When attacking a target, has a chance to set them on fire
* ·  fire-aspect - 火焰附加
* ''knockback'' - All damage to other targets will knock them back when hit
* ·  knockback - 击退
* ''loot-bonus-blocks'' - Provides a chance of gaining extra loot when destroying blocks
* ·  loot-bonus-blocks - 时运
* ''loot-bonus-mobs'' - Provides a chance of gaining extra loot when killing monsters
* ·  loot-bonus-mobs - 抢夺
* ''oxygen'' - Decreases the rate of air loss whilst underwater
* ·  oxygen - 水下呼吸
* ''protection-environmental'' - Provides protection against environmental damage
* ·  protection-environmental - 保护
* ''protection-explosions'' - Provides protection against explosive damage
* ·  protection-explosions - 爆炸保护
* ''protection-fall'' - Provides protection against fall damage
* ·  protection-fall - 摔落保护
* ''protection-fire'' - Provides protection against fire damage
* ·  protection-fire - 火焰保护
* ''protection-projectile'' - Provides protection against projectile damage
* ·  protection-projectile - 弹射物保护
* ''silk-touch'' - Allows blocks to drop themselves instead of fragments (for example, stone instead of cobblestone)
* ·  silk-touch - 精准采集
* ''water-worker'' - Increases the speed at which a player may mine underwater
* ·  water-worker - 水下速掘


==Permissions==
==权限==
If you want a player to be able to use a blacksmith, give them the
如果你希望让玩家使用铁匠,你需要给予玩家
*''blacksmith.reforge'' permission node.
*''blacksmith.reforge'' 权限.


==Configuration==
==配置==
The configuration file for Blacksmiths is found in ''/plugins/Blacksmith/config.yml'' and is generated automatically when not present.
铁匠的配置文件在 ''/plugins/Blacksmith/config.yml''
===Default Configuration===
===默认配置===
The blacksmith config.yml contains the default settings for '''new''' blacksmiths. All of these options can be changed on existing blacksmiths in the Citizens/saves.yml.
这些选项可以在Citizens/saves.yml 内的铁匠配置更改.
Mouseover each section to view it's description. All settings under ''defaults'' can be overriden by individual blacksmiths in the Citizens 2 saves.yml.
悬浮到每条消息上查看详细信息. 所有 ''defaults''下面的配置都可被Citizens 2 saves.yml 覆盖.
  <nowiki></nowiki># Blacksmith Configuration
  <nowiki></nowiki># Blacksmith铁匠配置
  <nowiki></nowiki>{{H:title|Base-prices block|base-prices:}}
  <nowiki></nowiki>{{H:title|方块基础价格|base-prices:}}
   {{H:title|Default base price. This will be used if per-item base prices are not specified.|default: 10}}
   {{H:title|基础价格.未设置物品基础价格时使用.|default: 10}}
  <nowiki></nowiki>{{H:title|price-per-durability-point block|price-per-durability-point:}}
  <nowiki></nowiki>{{H:title|price-per-durability-point block|price-per-durability-point:}}
   {{H:title|Default price-per-durability-point. This will be used if per-item price-per-durability-point is not specified.|default: 1}}
   {{H:title|Default price-per-durability-point. This will be used if per-item price-per-durability-point is not specified.|default: 1}}
  <nowiki></nowiki>{{H:title|Default settings block, most can be changed per-NPC|defaults:}}
  <nowiki></nowiki>{{H:title|Default settings block, most can be changed per-NPC|defaults:}}
   {{H:title|Messages block. All messages that are sent to the player involving the blacksmith|messages:}}
   {{H:title|Messages block. All messages that are sent to the player involving the blacksmith|messages:}}
     {{H:title|Message sent to the player(s) when the blacksmith is already working on something|busy-with-player: <c>I'm busy at the moment. Come back later!}}
     {{H:title|铁匠工作时发送给玩家的消息|busy-with-player: <c>我现在很忙. 待会再来!}}
     {{H:title|Message sent to the player who gave the blacksmith the item it is working on|busy-with-reforge: <c>I'm working on it. Be patient!}}
     {{H:title|Message sent to the player who gave the blacksmith the item it is working on|busy-with-reforge: <c>我正在锻造呢!}}
     {{H:title|Message sent to the player during the cool down period|cooldown-not-expired: <c>You've already had your chance! Give me a break!}}
     {{H:title|Message sent to the player during the cool down period|cooldown-not-expired: <c>你刚才已经锻造过了! 让我休息会儿!}}
     {{H:title|Message sent to the player to confirm they want to reforge the item|cost: <nowiki><e>It will cost <a><price> <e>to reforge that <a><item><e></nowiki>! Click again to reforge!}}
     {{H:title|Message sent to the player to confirm they want to reforge the item|cost: <nowiki><e>需消耗 <a><price> <e>才能锻造 <a><item><e></nowiki>! 点击锻造!}}
     {{H:title|Message sent to the player when the reforge fails|fail-reforge: <nowiki><c></nowiki>Whoops! Didn't mean to do that! Maybe next time?}}
     {{H:title|Message sent to the player when the reforge fails|fail-reforge: <nowiki><c></nowiki> 你的装备锻造失败! 再来一次吧?}}
     {{H:title|Message sent to the player when they don't have enough money to complete the reforge|insufficient-funds: <nowiki><c></nowiki>You don't have enough money to reforge that item!}}
     {{H:title|Message sent to the player when they don't have enough money to complete the reforge|insufficient-funds: <nowiki><c></nowiki>你没有足够的钱来修复这件物品!}}
     {{H:title|Message sent to the player when they try to reforge an invalid item|invalid-item: <nowiki><c></nowiki>I'm sorry, but I don't know how to reforge that!}}
     {{H:title|Message sent to the player when they try to reforge an invalid item|invalid-item: <nowiki><c></nowiki>抱歉,我不知道怎么锻造这个东西!}}
     {{H:title|Message sent to the player when the reforge starts|start-reforge: <nowiki><e></nowiki>Ok, let's see what I can do...}}
     {{H:title|Message sent to the player when the reforge starts|start-reforge: <nowiki><e></nowiki>好吧, 让我看看我能为你做什么...}}
     {{H:title|Message sent to the player when the reforge is successful|successful-reforge: <nowiki><a></nowiki>There you go! All better!}}
     {{H:title|Message sent to the player when the reforge is successful|successful-reforge: <nowiki><a></nowiki>拿好你的装备! 祝你一路顺风!}}
   {{H:title|Drops the reforged item on the ground instead of giving it to the player|drop-item: true}}
   {{H:title|Drops the reforged item on the ground instead of giving it to the player|drop-item: true}}
   {{H:title|The percent chance of the reforge failing|percent-chance-to-fail-reforge: 10}}
   {{H:title|锻造失败率|percent-chance-to-fail-reforge: 10}}
   {{H:title|The percent chance of the reforge adding extra enchantments|percent-chance-for-extra-enchantments: 5}}
   {{H:title|添加额外附魔的几率|percent-chance-for-extra-enchantments: 5}}
   {{H:title|Maximum amount of enchantments that an item can have|maximum-enchantments: 3}}
   {{H:title|物品可拥有的附魔上限|maximum-enchantments: 3}}
   {{H:title|Delays block. Determines delays for blacksmith usage|delays-in-seconds:}}
   {{H:title|锻造冷却.|delays-in-seconds:}}
     {{H:title|Maximum time it will take to reforge an item|maximum: 30}}
     {{H:title|锻造物品所需最大时间|maximum: 30}}
     {{H:title|Minimum time it will take to reforge an item|minimum: 5}}
     {{H:title|锻造物品所需最小时间|minimum: 5}}
     {{H:title|Time the player has to wait after reforging something before trying again|reforge-cooldown: 60}}
     {{H:title|再次锻造所需时间|reforge-cooldown: 60}}
  <nowiki></nowiki>{{H:title|Enchantment modifiers block|enchantment-modifiers:}}
  <nowiki></nowiki>{{H:title|附魔调节器|enchantment-modifiers:}}
   {{H:title|Default enchantment modifier. This will be used if per-enchantment modifiers are not specified.|default: 5}}
   {{H:title|默认附魔调节器.|default: 5}}


[[Category:Characters]]
[[Category:Characters]]


{{NavBox}}
{{NavBox}}

2019年2月9日 (六) 09:35的最新版本

文件:Blacksmith.png

Blacksmith


作者 aPunch
版本 ???
Citizens 版本 2.0.x
其它前置 以Vault为前置的经济系统
下载地址 Link
描述: 高度自定义装备锻造

Blacksmith 是 Citizens 2.0 的一个角色特性,可以给予NPC以下能力:

  • 付费修复武器、工具和装备.

最新插件源码在这里: https://github.com/mcmonkey4eva/Blacksmith

更新记录

v1.13 10/12/2018

??? ?/?/2017

??? 2/17/2015

  • 更新到最新内容.

v1.3 8/5/2013

  • 修复铁匠不归还物品的漏洞.

v1.2 8/15/2012

  • 添加每点耐久所需价格选项.
  • 添加如果玩家询问价格而不锻造物品的过期时间.
  • 修复随机附魔算法。

v1.1 8/8/2012

  • 兼容 1.3.1的Citizens2版本

如何使用

安装

  1. 安装Citizens 2
  2. 将Blacksmith.jar文件放进/plugins文件夹。
  3. 启动服务器。
  4. 创建NPC,然后给予它铁匠特性。

输入

/npc create Smithy --trait blacksmith 

/npc create Smithy
/trait blacksmith 

介绍

铁匠拥有多种设置,配置文件内"default"设置为默认配置。它将会在一个铁匠被创建时被应用。 你可以通过下面指令部分列出的指令来修改这些设置. 你甚至可以配置铁匠可以使用命令在游戏中锻造哪些物品。默认情况下,铁匠可以锻造所有的物品。

交互

与铁匠交互很简单: § 手里拿着一个工具或者装备右键这个NPC,它会告诉你锻造需要多少钱。 § 在10秒内再次右键铁匠,他就会开始锻造这个物品。 § 根据配置,锻造一件物品有几率会获得附魔或者损坏。

价格

价格是通过一个物品的损坏程度、附魔的种类和数量、以及在配置文件中设置的价格来决定的。一般说来,一个物品的价格 = 基础价格 + 剩余耐久度 + 附魔。

基础价格

再次锻造所需的基础价格在配置内的数值为 base-prices.default.想要给每个物品添加新的基础价格,请在配置内base-prices下面修改.

耐久度

耐久度就是物品损耗的程度.一般来说,程度越深,再次锻造所需的价格也就越便宜. 重新锻造没有损坏的物品将会特别昂贵. 价格可在配置内设置 price-per-durability-point.default. 每个物品的价值也可在这里单独设置.

以下物品可用于自定义基础价格和锻造价格.

有效物品

wood-pickaxe 木镐
wood-spade 木铲
wood-hoe 木锄
wood-sword 木剑
wood-axe 木斧
stone-pickaxe 石镐
stone-spade 石铲
stone-hoe 石锄
stone-sword 石剑
stone-axe 石斧
gold-pickaxe 金镐
gold-spade 金铲
gold-hoe 金锄
gold-sword 金剑
gold-axe 金斧
iron-pickaxe 铁镐
iron-spade 铁铲
iron-hoe 铁锄
iron-sword 铁剑
iron-axe 铁斧
diamond-pickaxe 钻石镐
diamond-spade 钻石铲
diamond-hoe 钻石锄
diamond-axe 钻石斧
bow 弓
flint-and-steel 打火石
fishing-rod 钓鱼竿
shears 剪刀
leather-helmet 皮革帽子
leather-chestplate 皮革胸甲
leather-leggings 皮革护腿
leather-boots 皮革鞋子
chainmail-helmet 锁链头盔
chainmail-chestplate 锁链胸甲
chainmail-leggings 锁链护腿
chainmail-boots 锁链鞋子
gold-helmet 金头盔
gold-chestplate 金胸甲
gold-leggings 金护腿
gold-boots 金鞋子
iron-helmet 铁头盔
iron-chestplate 铁胸甲
iron-leggings 铁护腿
iron-boots 铁鞋
diamond-helmet 钻石头盔
diamond-chestplate 钻石胸甲
diamond-leggings 钻石护腿

diamond-boots 钻石鞋子

示例:

base-prices:
  default: 10
  diamond-sword: 45
price-per-durability-point:
  default: 1
  diamond-sword: 3

附魔

锻造一个附魔物品的价格比普通物品贵得多。对于每一个附魔来说,需要付出的总费用基于"enchantment-modifier(附魔调节器)"和附魔等级。
附魔调节器可以通过在配置文件的enchantment-modifiers部分中添加附魔的名称和价格来配置。
默认的附魔调节器(enchantment-modifiers.default)会在附魔的名称没有找到时默认使用。
下面是在附魔调节器中有效的名称(区分大小写):

  • · arrow-damage - 力量
  • · arrow-fire - 火矢
  • · arrow-infinite - 无限
  • · arrow-knockback - 冲击
  • · damage-all - 锋利
  • · damage-arthropods - 节肢杀手
  • · damage-undead - 亡灵杀手
  • · dig-speed - 效率
  • · durability - 耐久
  • · fire-aspect - 火焰附加
  • · knockback - 击退
  • · loot-bonus-blocks - 时运
  • · loot-bonus-mobs - 抢夺
  • · oxygen - 水下呼吸
  • · protection-environmental - 保护
  • · protection-explosions - 爆炸保护
  • · protection-fall - 摔落保护
  • · protection-fire - 火焰保护
  • · protection-projectile - 弹射物保护
  • · silk-touch - 精准采集
  • · water-worker - 水下速掘

权限

如果你希望让玩家使用铁匠,你需要给予玩家

  • blacksmith.reforge 权限.

配置

铁匠的配置文件在 /plugins/Blacksmith/config.yml

默认配置

这些选项可以在Citizens/saves.yml 内的铁匠配置更改. 悬浮到每条消息上查看详细信息. 所有 defaults下面的配置都可被Citizens 2 saves.yml 覆盖.

# Blacksmith铁匠配置
base-prices:
 default: 10
price-per-durability-point:
 default: 1
defaults:
 messages:
   busy-with-player: <c>我现在很忙. 待会再来!
   busy-with-reforge: <c>我正在锻造呢!
   cooldown-not-expired: <c>你刚才已经锻造过了! 让我休息会儿!
   cost: <e>需消耗 <a><price> <e>才能锻造 <a><item><e>! 点击锻造!
   fail-reforge: <c> 你的装备锻造失败! 再来一次吧?
   insufficient-funds: <c>你没有足够的钱来修复这件物品!
   invalid-item: <c>抱歉,我不知道怎么锻造这个东西!
   start-reforge: <e>好吧, 让我看看我能为你做什么...
   successful-reforge: <a>拿好你的装备! 祝你一路顺风!
 drop-item: true
 percent-chance-to-fail-reforge: 10
 percent-chance-for-extra-enchantments: 5
 maximum-enchantments: 3
 delays-in-seconds:
   maximum: 30
   minimum: 5
   reforge-cooldown: 60
enchantment-modifiers:
 default: 5