22 Commits

Author SHA1 Message Date
a501a3cbb4 Changes things for the non-static Translator 2022-11-07 15:20:30 +01:00
3c805ee284 Uses KnarLib for common tasks 2022-11-07 00:07:32 +01:00
4d740521f3 Fixes tab-completion when editing default messages 2022-10-25 19:45:45 +02: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
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
fb483a4c2a Makes /blacksmith for an unset value display the default value instead of "null" 2022-10-07 16:17:32 +02:00
878ad3aa67 Makes sure blacksmith messages include all arguments 2022-10-07 16:05:36 +02:00
30bddfa9c8 Adds possibility for message customization and translation #5 2022-10-03 18:15:38 +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
9ffd788e29 Restricts raw value output to messages 2022-10-03 12:15:18 +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
f3169c9255 Adds some unfinished changes for improving blacksmith commands 2022-09-05 13:51:41 +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
1dea0f6c6a Adds a response message when a setting has been changed, and adds some coloring 2022-08-08 19:33:51 +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