2022-08-07 01:21:47 +02:00
|
|
|
# Blacksmith Configuration
|
|
|
|
|
2022-10-21 00:46:01 +02:00
|
|
|
# The language used for messages. Only "en" is supported
|
|
|
|
language: en
|
|
|
|
|
2022-10-03 13:03:21 +02:00
|
|
|
# The settings which apply to all Blacksmith NPCs. These can also be changed using the /blacksmithconfig command
|
2022-08-07 01:21:47 +02:00
|
|
|
global:
|
|
|
|
# The minimum price of each cost
|
2022-10-03 12:39:15 +02:00
|
|
|
basePrice:
|
2022-08-07 01:21:47 +02:00
|
|
|
# You can add, for example "diamond-sword: 15.3" to change the base cost for a specific item
|
|
|
|
default: 10.0
|
|
|
|
|
|
|
|
# The additional cost for each durability point missing (natural cost) or present (not natural cost)
|
2022-10-03 12:39:15 +02:00
|
|
|
pricePerDurabilityPoint:
|
2022-08-07 01:21:47 +02:00
|
|
|
# You can add, for example "diamond-sword: 0.09" to change the base cost for a specific item
|
|
|
|
default: 0.005
|
|
|
|
|
|
|
|
# The additional cost for each enchantment level present on an item
|
2022-10-03 12:39:15 +02:00
|
|
|
enchantmentCost:
|
2022-08-07 01:21:47 +02:00
|
|
|
# You can add, for example "arrow-infinite: 0.09" to change the enchantment cost for a specific enchantment
|
|
|
|
default: 5
|
|
|
|
|
|
|
|
# Natural cost makes re-forging more expensive the more damaged the item is. Disabling this will enable the legacy
|
|
|
|
# blacksmith behavior instead
|
2022-10-03 12:39:15 +02:00
|
|
|
useNaturalCost: true
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-14 21:45:57 +02:00
|
|
|
# Exact time displays the exact number of seconds and minutes remaining as part of the reforging cool-down and
|
|
|
|
# reforging delay messages, instead of just vaguely hinting at the remaining time.
|
|
|
|
showExactTime: false
|
|
|
|
|
2022-08-07 01:21:47 +02:00
|
|
|
# The settings which are set to any new NPC. To change any of these settings for an existing NPC, you must change the
|
2022-10-03 13:03:21 +02:00
|
|
|
# Citizens NPC file, or use the /blacksmith command
|
2022-08-07 01:21:47 +02:00
|
|
|
defaults:
|
2022-10-03 12:39:15 +02:00
|
|
|
# Whether the item will drop a reforged item on the ground, instead of putting it into the user's inventory
|
|
|
|
dropItem: true
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The items a blacksmith is able to reforge. Setting this only allows NPCs to repair the listed items. This should be
|
|
|
|
# set for each individual NPC, and should not be set here, unless you want to restrict NPCs which have not been set
|
|
|
|
# up yet.
|
|
|
|
reforgeAbleItems: [ ]
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-11-05 04:21:47 +01:00
|
|
|
# The enchantments a blacksmith is denied from applying to an item. Disable anything you find too op or annoying.
|
|
|
|
enchantmentBlocklist: [ "binding_curse", "mending", "vanishing_curse" ]
|
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The chance to fail reforging an item, which only repairs the item a tiny bit or not at all (0-100)
|
|
|
|
failReforgeChance: 10 # Default = 10%
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The chance that an enchantment will be added to the reforged item (0-100)
|
|
|
|
extraEnchantmentChance: 5 # Default = 5%
|
2022-08-07 01:21:47 +02:00
|
|
|
|
|
|
|
# The maximum number of enchantments the blacksmith will try to add
|
2022-10-03 12:39:15 +02:00
|
|
|
maxEnchantments: 3
|
2022-08-07 01:21:47 +02:00
|
|
|
|
|
|
|
# All settable delays
|
2022-10-03 12:39:15 +02:00
|
|
|
delaysInSeconds:
|
|
|
|
# The maximum time for a reforging to finish
|
2022-08-08 19:27:54 +02:00
|
|
|
maximum: 30
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The minimum time for a reforging to finish
|
2022-08-08 19:27:54 +02:00
|
|
|
minimum: 5
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The cool-down period between each reforge
|
|
|
|
reforgeCoolDown: 60
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-14 11:28:00 +02:00
|
|
|
# The title describing the blacksmith's usage/speciality
|
|
|
|
blacksmithTitle: "blacksmith"
|
|
|
|
|
2022-08-07 01:21:47 +02:00
|
|
|
# All messages used by the NPC
|
|
|
|
messages:
|
|
|
|
# The message to display when another player is using the blacksmith
|
2022-10-03 12:39:15 +02:00
|
|
|
busyPlayerMessage: "&cI'm busy at the moment. Come back later!"
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The message to display when the blacksmith is working on the reforging
|
2022-10-14 21:45:57 +02:00
|
|
|
busyReforgeMessage: "&cI'm working on it. Be patient! I'll finish {time}!"
|
2022-08-07 01:21:47 +02:00
|
|
|
|
|
|
|
# The message to display when the blacksmith is still on a cool-down from the previous re-forging
|
2022-10-14 21:45:57 +02:00
|
|
|
coolDownUnexpiredMessage: "&cYou've already had your chance! Give me a break! I'll be ready {time}!"
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The message to display when informing a player about the reforging cost
|
2022-10-14 11:28:00 +02:00
|
|
|
costMessage: "&eIt will cost &a{cost}&e to reforge that &a{item}&e! Click again to reforge!"
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The message to display when the blacksmith fails to reforge an item
|
|
|
|
failReforgeMessage: "&cWhoops! Didn't mean to do that! Maybe next time?"
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The message to display when a player cannot pay for the reforging
|
|
|
|
insufficientFundsMessage: "&cYou don't have enough money to reforge that item!"
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The message to display when holding an item the blacksmith is unable to reforge
|
2022-10-14 11:28:00 +02:00
|
|
|
invalidItemMessage: "&cI'm sorry, but I'm a/an {title}, I don't know how to reforge that!"
|
2022-08-07 01:21:47 +02:00
|
|
|
|
|
|
|
# The message to display when presenting a different item than the one just evaluated
|
2022-10-03 12:39:15 +02:00
|
|
|
itemChangedMessage: "&cThat's not the item you wanted to reforge before!"
|
2022-08-07 01:21:47 +02:00
|
|
|
|
|
|
|
# The message to display once the blacksmith starts re-forging
|
2022-10-03 12:39:15 +02:00
|
|
|
startReforgeMessage: "&eOk, let's see what I can do..."
|
2022-08-07 01:21:47 +02:00
|
|
|
|
2022-10-03 12:39:15 +02:00
|
|
|
# The message to display once the reforging has successfully finished
|
2022-10-03 13:03:21 +02:00
|
|
|
successMessage: "There you go! All better!"
|
|
|
|
|
|
|
|
# The message to display if a player is trying to reforge an item with full durability
|
|
|
|
notDamagedMessage: "&cThat item is not in need of repair"
|