Commit Graph
12 Commits
Author SHA1 Message Date
auto 34c5252db4 Refactor quest saving, update Galaxy-API version
Quest saving logic was abstracted into a saveQuest method in the Quest class to avoid redundancy. This change was reflected in OtherQuest, MineQuest, BreedMobsQuest, KillMobsQuest and CollectDropsQuest classes. Additionally, the Galaxy-API version was updated in the build.gradle.kts file.
2024-04-13 20:50:56 +02:00
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 b8114ba0d3 Added auto hiding bossbar 2023-08-06 20:07:12 +02:00
auto 6a100a2327 Better tab complete for set quest 2022-09-08 01:10:36 +02:00
auto 724c9b01a8 idk what i did 2022-07-13 03:48:16 +02:00
auto 263b0ddbd1 Fixed being able to increase step1 over the max 2022-06-03 05:10:06 +02: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 cdff96fb4d Added the ability to put a range in for quest types 2022-06-03 03:29:18 +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 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