Commit Graph
13 Commits
Author SHA1 Message Date
auto 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
auto 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
auto ba4fff6676 Started rework for datalockapi 2022-12-05 21:35:39 +01:00
auto 6d513de154 Load amount of things to do/collect/kill/whatever into the database and load it when loading quest 2022-06-03 05:02:26 +02:00
auto 6a5261ff9a Created quest_log table 2022-06-03 03:42:21 +02:00
auto 647cead4c1 Added get reward command
Store if a player obtained their reward already
2022-06-03 02:50:44 +02:00
auto 696bc20c7e Made the book more configurable 2022-06-03 01:06:24 +02:00
auto 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
auto e9bdb6a70d Save and load quests from the database 2022-06-01 23:17:45 +02:00
auto 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
auto 686925361a Tried fixing double interact event, fixed not spawning scruff 2022-05-29 17:46:50 +02:00
auto 66316ff578 Work on mine quest 2022-05-21 02:38:34 +02:00
auto 1ecf4508e8 attempted to start adding quests 2022-05-01 21:48:52 +02:00