Commit Graph

38 Commits

Author SHA1 Message Date
3e3a35d02a Starts on the Scrapper implementation 2023-11-12 19:02:11 +01:00
72ea5600fe Fixes some warnings, and updates dependencies
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-09-23 19:15:11 +02:00
cb70874093 Adds an option for toggling whether reforging removing enchantments
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-30 12:34:34 +01:00
347b69b2a8 Removes disableMaterialLimitation
All checks were successful
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
All checks were successful
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
bd00a59d08 Makes it possible to edit reforgeAbleItems globally #17 2023-01-11 01:54:52 +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
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
3c4394d6fa Bumps version to 1.0.3 2022-11-05 04:40:09 +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
05440e66a0 Bumps version to 1.0.1 2022-10-26 19:51:33 +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
154c17b2c6 Improves un-setting of NPC values #10 2022-10-18 11:41:25 +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
30bddfa9c8 Adds possibility for message customization and translation #5 2022-10-03 18:15:38 +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
7bf9e062a2 Adds a permission for usage, and updates to 1.19.2 2022-10-03 00:11:39 +02:00
a6e9163dbd Adds tons of changes to messages 2022-09-29 01:49:12 +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
3870ead92f Changes package name to net.knarcraft 2022-07-19 02:41:01 +02:00
a2155e2654 Updates depreciated code, and fixes code style 2022-02-01 19:52:41 +01:00
Тимофей Бирюков
1f6e267753 15.2 v0.8 2021-02-25 18:36:02 +03:00
mcmonkey
bc1b5a3559
minimal update to 1.13 2018-10-12 12:00:54 -07:00
HurricanKai
9760a1da4d Trying to find out why drop item isnt loading 2017-07-31 12:12:56 +02:00
instinx
38d2525015 Changed price for reforge. Explore way to link it to Hyperconomy to get item prices. 2012-06-02 02:11:27 -04:00
aPunch
e5bbe641ed Convert to maven 2012-03-20 20:10:32 -05:00