refactor: wip cleanup

- Added a bunch of events
- Refactor database backend
- Major code cleanup
- Dependency bumps
- CI workflows
This commit is contained in:
darksaid98 committed 2023-12-16 17:28:36 +01:00
1 parent 6949e94310
commit e0644ad4de
75 files changed
+4019 -1303

No files matched your search

@@ -0,0 +1,19 @@
package com.github.alathra.AlathranWars.utility;
import com.github.alathra.AlathranWars.AlathranWars;
import com.github.alathra.AlathranWars.config.ConfigHandler;
import com.github.milkdrinkers.Crate.Config;
import org.jetbrains.annotations.NotNull;
/**
* Convenience class for accessing {@link ConfigHandler#getConfig}
*/
public abstract class Cfg {
/**
* Convenience method for {@link ConfigHandler#getConfig} to getConnection {@link Config}
*/
@NotNull
public static Config get() {
return AlathranWars.getInstance().getConfigHandler().getConfig();
}
}