6872dadca8
Changes some configuration keys
EpicKnarvik97/Blacksmith/pipeline/head There was a failure building this commit
2023-11-20 13:20:11 +01:00
11d8c74a26
Adds comments to every option in strings.yml
2023-11-16 22:51:20 +01:00
4282cd8a2f
Displays descriptions for each setting when displaying the value
2023-11-16 19:44:35 +01:00
ac6fc430ff
Adds code for migrating old configuration values
2023-11-16 17:34:37 +01:00
72d33ed7a2
Implements the scrapper edit command
2023-11-16 13:06:24 +01:00
4f885135e3
Implements the scrapper global edit command
...
Changes setting quite a bit to avoid code duplication
2023-11-16 01:17:27 +01:00
f3f3f66c38
Writes a lot of code necessary for the scrapper
...
Adds the classes necessary for the new scrapper
Partly implements some scrapper functionality
Restructures some classes to reduce code duplication
Moves some classes to make some classes easier to find
Adds a bunch of TODOs where things have an unfinished implementation
2023-11-14 16:04:48 +01:00
1938a690c6
Merge branch 'dev' into scrapper
2023-11-12 19:41:06 +01:00
e39e70b690
Merge branch 'master' into dev
...
# Conflicts:
# src/main/java/net/knarcraft/blacksmith/BlacksmithPlugin.java
2023-11-12 19:40:51 +01:00
92585c4dee
Adds a missing null check
2023-11-12 19:08:06 +01:00
3e3a35d02a
Starts on the Scrapper implementation
2023-11-12 19:02:11 +01:00
72ea5600fe
Fixes some warnings, and updates dependencies
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-09-23 19:15:11 +02:00
191f548f5a
Fixes order of arguments when reloading the language
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-07-08 03:29:18 +02:00
be0b16e80a
Fixes the order of selected language VS fallback language
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-04-12 02:36:35 +02:00
cb70874093
Adds an option for toggling whether reforging removing enchantments
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-30 12:34:34 +01:00
faff982585
Fixes a collision between the test enchantments
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-28 09:20:27 +01:00
c84c2cf30e
Adds tests for TypeValidationHelper
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-28 09:13:02 +01:00
a79f2e273a
Adds missing tests for ItemHelper
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-17 05:28:46 +01:00
347b69b2a8
Removes disableMaterialLimitation
...
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
Removes the disableMaterialLimitation option
Replaces EnchantmentTarget.BREAKABLE.includes(item) with getMaxDurability(item) > 0 as it seems more generic
2023-01-16 19:45:41 +01:00
e5cb3b4a30
A lot of tests, and some improvements
...
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
Adds a lot more tests for some utility classes
Adds a new option to disable the hard-coded limitation "EnchantmentTarget.BREAKABLE" which can be useful for servers with custom items or similar.
Makes enchantment name matching case-insensitive.
Prevents an exception is enchantment name contains invalid characters.
Makes invalid objects supplied to asStringList return null instead of throwing an exception.
Uses isBlank instead of trim.isEmpty in the isEmpty method
Re-uses the random generator if calculating salvage several times
2023-01-16 17:42:54 +01:00
7d468115e0
Makes the npc talking format configurable #19
2023-01-16 03:02:13 +01:00
bbb93bb0eb
Fixes a bug in multi-item salvage
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-14 17:46:29 +01:00
7cc2aef9d4
Adds some tests for the salvage helper
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-14 15:10:40 +01:00
8e5d4c7a61
Adds a helper class for calculating random item salvage #18
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-13 20:34:34 +01:00
f192a5a2b5
Fixes a bug in the preset prefix logic
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-11 02:46:30 +01:00
bd00a59d08
Makes it possible to edit reforgeAbleItems globally #17
2023-01-11 01:54:52 +01:00
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
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-09 23:47:17 +01:00
a856aa03e0
Implements material wildcards for costs #14
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
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-09 15:13:55 +01:00
7d940ee334
Updates dependencies
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
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