14 Commits

Author SHA1 Message Date
89c1c4a56c Adds a new enchantmentBlocklist option
The enchantmentBlocklist allows specifying a list of enchantments blacksmiths should be blocked from adding to items. Especially curse of binding and curse of vanishing are problematic as the effect is quite bad. Mending is possibly undesirable as it's supposed to be quite rare.
2022-11-05 04:21:47 +01:00
cc7d66f270 Fixes several bugs and problems
Fixes getting the name of enchantments
Fixes inconsistencies in material and enchantment name-checking
Allows using "null" or "-1" to unset per-material or per-enchantment configuration options
Fixes a bug where basePrice was set to a material name instead of the price for the material being displayed
Adds missing tab-completion for material/enchantment costs
Prevents inconsistencies in deciding if a value is null
2022-10-24 13:57:58 +02:00
154c17b2c6 Improves un-setting of NPC values 2022-10-18 11:41:25 +02:00
0c6a28d7df Adds blacksmith title 2022-10-14 11:28:00 +02:00
4fa47349c6 Removes unnecessary options
Removes the DISABLE_COOL_DOWN option
Removes the DISABLE_DELAY option
Uses the old DISABLE_COOL_DOWN behavior if cool-down is set to 0 or below
Uses the old DISABLE_DELAY behavior if max-delay is set to 0 or below
2022-10-14 00:33:39 +02:00
30bddfa9c8 Adds possibility for message customization and translation 2022-10-03 18:15:38 +02:00
3d333c6406 Fix for 2022-10-03 15:41:00 +02:00
505d6bfb2b Adds a new check for items with full durability () 2022-10-03 13:03:21 +02:00
2489cac8db Changes configuration values to lower camelcase
Also fixes some grammar mistakes related to the word reforge
2022-10-03 12:39:15 +02:00
f058f4eec8 Fixes reforge-able items and displaying color formatting codes 2022-10-02 21:03:17 +02:00
e1191dad7d Splits the blacksmith command into two commands, and much more 2022-08-19 19:08:54 +02:00
64617accf8 Makes sure only intended items are re-forge-able, and changes version to 1.0.0 2022-08-08 19:27:54 +02:00
cc39f8879a Improves code structure, and performs some necessary work for commands 2022-08-08 14:14:42 +02:00
c557d969b7 Majorly changes most plugin code
Changes the entire settings structure
Splits settings into NPC settings and global settings
Adds some command classes in preparation for a new command system
Moves a lot of code away from BlacksmithPlugin
Adds a new EconomyManager class which takes care of everything economy and pricing
Removes HyperConomy softdepend
Changes the reload command to /blacksmith reload
Adds a proper configuration file to make possible to change stuff without a bloody wiki
2022-08-07 01:21:47 +02:00