refactor: Move to ConfigLib, use lombok (#563)

* refactor: move to configlib, adjust config structure

* fix: huskclaims typos

* fix: don't generate `server.yml` in local mode

* fix: NPE with server name
This commit is contained in:
William authored and GitHub committed 2024-02-12 16:54:23 +00:00
1 parent c55631a30d
commit 1723aa44fc
84 files changed
+4334 -4832

No files matched your search

@@ -58,7 +58,7 @@ public class H2Database extends Database {
public H2Database(@NotNull HuskHomes plugin) {
super(plugin);
this.databaseFile = new File(plugin.getDataFolder(), DATABASE_FILE_NAME);
this.databaseFile = plugin.getConfigDirectory().resolve(DATABASE_FILE_NAME).toFile();
}
/**