mirror of
https://github.com/SimplexDevelopment/ToolAssist.git
synced 2025-07-04 03:16:41 +00:00
Added a way to modify the config using a command
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
package io.github.simplex.toolassist;
|
||||
|
||||
import io.github.simplex.toolassist.data.Config;
|
||||
import io.github.simplex.toolassist.play.Command_toolassist;
|
||||
import io.github.simplex.toolassist.play.MineListener;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@ -13,8 +15,10 @@ public final class ToolAssist extends JavaPlugin {
|
||||
// Plugin startup logic
|
||||
getLogger().info("Initializing configuration...");
|
||||
this.config = new Config(this);
|
||||
getLogger().info("Initialization complete! Registering listener...");
|
||||
getLogger().info("Configuration loaded! Registering listener...");
|
||||
new MineListener(this);
|
||||
getLogger().info("Listener registered successfully! Loading command...");
|
||||
new Command_toolassist(this);
|
||||
getLogger().info("Initialization complete!");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user