Commit Graph

96 Commits

Author SHA1 Message Date
8423eabc57 Fixes handling of preset replacement 2023-01-11 01:32:48 +01:00
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
30b8507b9f Improves the tab-completion values for reforgeAbleItems
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-06 14:52:30 +01:00
5089a721a0 Fixes some minor issues
Fixes some repositories using http instead of https
Fixes formatting for tables
2022-11-14 02:44:18 +01:00
a036c39dc3 Updates code to account for KnarLib changes 2022-11-07 22:22:23 +01:00
a501a3cbb4 Changes things for the non-static Translator 2022-11-07 15:20:30 +01:00
7875e9a705 Adds missing time unit strings 2022-11-07 01:59:49 +01:00
ac5f032ce9 Uses a placeholder for the plugin version 2022-11-07 00:22:03 +01:00
7784ee46a5 Adds an alert if an update is available 2022-11-07 00:18:13 +01:00
3c805ee284 Uses KnarLib for common tasks 2022-11-07 00:07:32 +01:00
3c4394d6fa Bumps version to 1.0.3 2022-11-05 04:40:09 +01:00
d0f4ff11b7 Adds missing null checks before asStringList 2022-11-05 04:39:18 +01:00
ee2b503886 Bumps version to 1.0.2 2022-11-05 04:28:28 +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
012d1df099 Allows 0 for positive integers and doubles
It wasn't possible to set extra enchantment chance to 0. This fixes that problem.
2022-11-04 21:31:56 +01:00
05440e66a0 Bumps version to 1.0.1 2022-10-26 19:51:33 +02: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
39e164c9c8 Implements language selection properly
Adds a configuration option for the plugin language
Loads the selected language instead of always loading "en"
Makes sure the language is updated upon reloading
2022-10-21 00:46:01 +02:00
9f433cb0f1 Fixes some bugs regarding displaying the exact time remaining 2022-10-20 12:03:16 +02:00
64004e4267 Fixes some problems in the calculation of the remaining cool-down time 2022-10-18 13:09:38 +02:00
3c677c18cb Makes sure to invalidate sessions properly
Sessions are invalidated if the player leaves the NPC or if 10 seconds pass, but only if the blacksmith isn't currently reforging.
2022-10-18 12:44:35 +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
dbdb38d158 Adds support for randomly selecting a time interval entry #11 2022-10-15 11:30:53 +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
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
7d682c93b4 Adds some important TODOs 2022-10-07 02:09:45 +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
5897f68b42 Updates API version to 1.19 2022-10-03 12:50:56 +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
7bf9e062a2 Adds a permission for usage, and updates to 1.19.2 2022-10-03 00:11:39 +02:00
b8ec805f1c Improves random enchantment level logic 2022-10-02 23:50:07 +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