Commit Graph

16 Commits

Author SHA1 Message Date
Teriuihi ffd67eada8 Update file paths in quest configurations
The file paths previously pointed to the user home directory. This commit adjusts the paths to consistently use a mount point directory instead. The change affects the 'QuestsConfig', 'Config', 'MessagesConfig', and 'DatabaseConfig' classes.
2024-07-20 01:46:33 +02:00
Teriuihi 3bb822b41c Optimize and cleanup various classes
Reformatted several classes for optimization purposes. This includes removing unnecessary try-catch blocks, redundant initializers and imports, and condensing confirmation checks. Additionally, updated the `Database` class's `createUserPointsTable` and `createQuestLogTable` methods to use try-with-resources to ensure proper resource management.
2024-04-13 20:43:37 +02:00
Teriuihi 46bfb4fd65 Replace printStackTrace with Logger.throwing in various classes
The changes made in these classes are intended to improve error handling and visibility. Instead of simply printing the StackTrace, the Logger.throwing method is now used to send error messages to the logger in a more controlled manner. This should facilitate better error tracking and resolution. The affected classes include database, configuration, and quest implementation classes.
2024-04-13 20:27:33 +02:00
once_a_fairy 2b9d6c0160 Minor changes. 2023-08-06 14:53:36 +02:00
once_a_fairy 8eb28ea5f6 Added support for Shearing and Bucket quests and fixed some minor things. 2023-08-04 22:44:06 +02:00
once_a_fairy 5929582e71 Added support for other quests.
Support for other quests of the fishing type was added.
2023-07-13 13:38:29 +02:00
once_a_fairy 241dce0537 Added quest support for harvesting plants. 2023-07-10 17:33:48 +02:00
Teriuihi bd4b8a4f81 Added debug statements for loading quests 2022-09-05 23:35:57 +02:00
Teriuihi cdff96fb4d Added the ability to put a range in for quest types 2022-06-03 03:29:18 +02:00
Teriuihi 647cead4c1 Added get reward command
Store if a player obtained their reward already
2022-06-03 02:50:44 +02:00
Teriuihi 696bc20c7e Made the book more configurable 2022-06-03 01:06:24 +02:00
Teriuihi c0cb9cae98 Added 3 more quests
Prevented killing the npc
Made more things configurable
Moved things to the right config
2022-06-03 00:34:02 +02:00
Teriuihi 39900153d8 Added a way to open books outside of the interact with entity event
open book after turning in item
moved more things from MineQuest to just Quest
Made Variant and made MineQuestObject extend Variant
Made quests reset if they aren't from (irl) today
Made quests reset when a new (irl) day starts

Basically made everything work
2022-06-02 22:12:29 +02:00
Teriuihi 063fc4061e Big commit, made mining quests work and use data lock to sync for when we add db 2022-06-01 19:33:02 +02:00
Len f87cac8d52 Update minimessage references 2022-05-26 22:57:17 +02:00
Teriuihi 66316ff578 Work on mine quest 2022-05-21 02:38:34 +02:00