33 Commits

Author SHA1 Message Date
488d4c7589 Makes some settings inherit properly #16 2023-01-11 00:51:05 +01:00
753c7c6275 Adds optional ability to reforge anvils #15
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-09 23:47:17 +01:00
a856aa03e0 Implements material wildcards for costs #14
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-09 16:53:52 +01:00
913cc5736e Prevents filters from matching non-reforge-able materials 2023-01-09 15:25:05 +01:00
a5ae3cb295 Fixes a bug caused by "-" being consumed
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-09 15:13:55 +01:00
7d940ee334 Updates dependencies
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-09 05:06:33 +01:00
ea54492ccf Adds negation for material names and presets #13 2023-01-09 05:03:28 +01:00
d0f4ff11b7 Adds missing null checks before asStringList 2022-11-05 04:39:18 +01:00
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
8326da5425 Removes nodeName and uses commandName instead 2022-10-18 11:56:54 +02:00
154c17b2c6 Improves un-setting of NPC values #10 2022-10-18 11:41:25 +02:00
430c168de5 Adds HELMET, BOOTS, LEGGINGS and CHESTPLATE filters 2022-10-18 10:59:39 +02:00
0357de1cf7 Adds most of the code necessary for #11 2022-10-14 21:45:57 +02:00
0c6a28d7df Adds blacksmith title #9 2022-10-14 11:28:00 +02:00
4fa47349c6 Removes unnecessary options #8
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
12f807060e Implements a mix of #3 and #7
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
2022-10-13 18:40:38 +02:00
907389f978 Saves NPCs immediately after they are changed
Additionally:
Updates Citizens dependency to the newest version
Removes some redundancy in NPC settings' path
2022-10-07 17:14:58 +02:00
30bddfa9c8 Adds possibility for message customization and translation #5 2022-10-03 18:15:38 +02:00
3d333c6406 Fix for #6 2022-10-03 15:41:00 +02:00
505d6bfb2b Adds a new check for items with full durability (#4) 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
a6e9163dbd Adds tons of changes to messages 2022-09-29 01:49:12 +02:00
3cfa7a2a0a Adds ability to display current value of blacksmith commands 2022-09-19 15:05:22 +02:00
e1191dad7d Splits the blacksmith command into two commands, and much more 2022-08-19 19:08:54 +02:00
755db8c497 Adjusts output of blacksmith setting messages 2022-08-08 20:08:39 +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
7dc2228781 Makes sure to use the name enchantment cost internally 2022-08-08 18:48:46 +02:00
4be950a327 Displays a warning when encountering unknown materials or enchantments 2022-08-08 18:45:28 +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
3870ead92f Changes package name to net.knarcraft 2022-07-19 02:41:01 +02:00