Adds a preset command which can be used to see available presets Adds preset filters which can be used to specify item sub-categories within a preset Removes SWORD_SMITH and RANGED_SMITH, as those are replaced by the RANGED and SWORD filters Adds a list of usable filters for each preset
This commit is contained in:
44
README.md
44
README.md
@@ -40,20 +40,54 @@ In addition to just being able to repair items, blacksmiths have some random fea
|
||||
|
||||
- There is a chance that blacksmiths fail to repair an item, leaving it at about the same durability as before. Use
|
||||
failReforgeChance to control the chance. Set it to 0 to remove the feature.
|
||||
- There is a chance a blacksmith may add
|
||||
- There is a chance a blacksmith may add an enchantment to a reforged item. You can control the probability using
|
||||
extraEnchantmentChance, and set the maximum number of enchantments using maxEnchantments
|
||||
|
||||
## Commands
|
||||
|
||||
- /blacksmith <option> \[new value] - Changes a configuration option for the selected blacksmith (use Citizens' /npc
|
||||
select first)
|
||||
- /blacksmithconfig <reload/option> \[new value] - Changes a default/global configuration value
|
||||
| Command | Arguments | Description |
|
||||
| --- | --- | --- |
|
||||
| /blacksmith | \<option> \[new-value] | Changes a configuration option for the selected blacksmith (use Citizens' /npc select first) |
|
||||
| /blacksmithconfig | \<reload/option> \[new-value] | Changes a default/global configuration value |
|
||||
| /preset | \<preset>\[:filter] | Displays all materials included in the given preset, after applying the filter if set |
|
||||
|
||||
If a new value isn't specified, the current value is displayed instead.
|
||||
For /blacksmith and /blacksmithconfig, if a new value isn't specified, the current value is displayed instead.
|
||||
|
||||
Note: basePrice, pricePerDurabilityPoint and enchantmentCost can be set like: `/blacksmithconfig option 4` or
|
||||
like `/blacksmithconfig option material/enchantment 4` depending on whether you are setting the default or an override
|
||||
for a specific material/enchantment.
|
||||
|
||||
### Presets and filters:
|
||||
|
||||
Note: All of these can be used when specifying reforge-able items, such as "preset:weapon-smith:bow,preset:armor_smith:
|
||||
gold,PRESET:TOOL_SMITH,shield"
|
||||
|
||||
All currently supported presets, and available filters for each preset:
|
||||
|
||||
- WEAPON_SMITH:
|
||||
- BOW
|
||||
- SWORD
|
||||
- RANGED
|
||||
- ARMOR_SMITH:
|
||||
- LEATHER
|
||||
- IRON
|
||||
- CHAINMAIL
|
||||
- GOLD
|
||||
- DIAMOND
|
||||
- NETHERITE
|
||||
- TOOL_SMITH
|
||||
- WOOD
|
||||
- STONE
|
||||
- IRON
|
||||
- GOLD
|
||||
- DIAMOND
|
||||
- NETHERITE
|
||||
- PICKAXE
|
||||
- AXE
|
||||
- HOE
|
||||
- SHOVEL
|
||||
- MISC
|
||||
|
||||
## Permissions
|
||||
|
||||
| Permission node | Description |
|
||||
|
Reference in New Issue
Block a user