188 Commits

Author SHA1 Message Date
81c15b6600 Adds information about the appropriate crafting station in ActionStartEvent 2024-08-03 16:32:44 +02:00
5efba6687c Adds a separate message for clicking an NPC with an empty hand 2024-08-03 13:09:09 +02:00
d0df4800f0 Changes back to SNAPSHOT 2024-07-29 19:35:10 +02:00
d73fcfd778 Bumps version for release v1.1.1 2024-07-29 19:23:14 +02:00
0993fbe15f Improves console logging 2024-07-29 18:32:08 +02:00
f3372a13a5 Rewrites a lot of scrapper code to fix actual and potential bugs 2024-07-29 17:53:07 +02:00
cf702c0e48 Cleans up salvage code a bit 2024-07-29 13:23:59 +02:00
afb608b609 Makes ActionStartEvent give duration in ticks instead of end time 2024-07-29 01:40:08 +02:00
523e4cb47a Changes pitch for working sound 2024-07-28 17:20:51 +02:00
384893b01a Randomizes the working sound somewhat 2024-07-28 17:15:25 +02:00
904adf46f0 Adds some events that trigger when NPC actions start or end, and when sounds are played 2024-07-28 17:12:26 +02:00
81dda85405 Adds sound effects to Blacksmiths and Scrappers 2024-07-28 12:48:45 +02:00
92c1b96fba Adds missing comments for BLACKSMITH filters 2024-05-07 17:01:20 +02:00
62e58ba291 Adds missing scrapper notice 2024-05-07 15:24:09 +02:00
21b860b5c8 Updates README header 2024-05-07 14:57:24 +02:00
51d79c21c2 Changes version back to SNAPSHOT 2024-05-07 14:50:34 +02:00
ce518ef338 Bumps server version for release v1.1.0 2024-05-07 14:35:10 +02:00
4993c972e9 Updates plugin.yml 2024-05-07 13:55:03 +02:00
75744ccdd0 Makes edit commands display the default value if no value is provided 2024-05-07 13:54:45 +02:00
cb477cafb5 Adds missing info about non-standard functionality 2024-05-07 03:27:36 +02:00
33ef557771 Fixes some savage fail problems
Fixes item not being returned when salvage fails
Removes some redundancy when giving back items
Makes extended salvage return 50% of the salvage (no items if only one item would be returned)
Adds a better message when failing to salvage extended salvage items
Fixes a bug in the caching of smith presets
2024-05-07 01:45:48 +02:00
1d7e8a0732 Implements netherite salvaging 2024-05-06 21:26:21 +02:00
e6047f3866 Implements armor trim salvage 2024-05-06 14:48:48 +02:00
3ed3c99c15 Speeds up smith presets by using caching and sets 2024-05-06 12:56:22 +02:00
3dd8467a58 Updates some incorrect README information 2024-05-06 12:17:22 +02:00
d28d67f1bc Adds default configuration values README.md 2024-05-06 00:11:35 +02:00
d405c0dcff Implements enchantment salvage toggle 2024-05-05 23:45:59 +02:00
d7bac6d08f Fixes missing config values not loading properly until a reload 2024-05-05 18:38:46 +02:00
21d55563b7 Changes ignored salvage into trash salvage according to 2024-05-05 18:02:12 +02:00
c71d664a79 Fixes a NullPointerException and the default value of successSalvagedMessage 2024-05-05 15:51:46 +02:00
2612f4f7d8 Improves messages when trying to salvage an item
Implements unimplemented too damaged for salvage message
Adds two new messages explaining whether an item will produce full or partial salvage
2024-05-05 15:37:38 +02:00
e956c7dda7 Fixes some problems with getting scrapper data 2024-05-04 22:12:46 +02:00
757fcdf139 Improves configuration migration, and fixes some issues
Fixes incorrect dropItems instead of dropItem key in config.yml
Adds some missing dropper messages to config.yml
Adds proper migration keys for all known configuration options
Adds a modified version of Stargate's StargateYamlConfiguration to allow retaining comments during configuration migration.
Fixes the annoying "[]" is not a valid repairable item
Removes the use of data keys for the global configuration
2024-05-04 17:40:21 +02:00
8b8890c408 Improves tab-completions for salvage-able and reforge-able items settings 2024-05-04 14:25:08 +02:00
f9463f58d1 Fixes some bugs
Fixes some config commands not being registered
Bumps KnarLib version to include bug-fix
Fixes and improves tab-completion for enchantment block-list
2024-05-04 14:11:43 +02:00
7e5525bd00 Updates Spigot, and fixes depreciated code 2024-05-04 02:46:46 +02:00
44f8bb36b0 Bumps version 2024-05-04 01:03:20 +02:00
4012e532da Finishes the scrapper implementation 2024-05-04 01:01:56 +02:00
455db78988 Updates some KnarLib code 2024-01-25 16:57:10 +01:00
c532160fb5 Gets some smith preset items from tags instead of name matching 2024-01-13 00:55:41 +01:00
dfae68050e Implements some necessary code for the scrapper
Implements ignored salvage
Implements salvage-able items
Adds some TODOs
Implements salvage fail chance
Moves several methods to ItemHelper
Adds option for allowing extended salvage
2023-12-30 13:56:33 +01:00
6872dadca8 Changes some configuration keys 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