gui
This commit is contained in:
26
src/main/java/hu/jgj52/wolfFFA/Main.java
Normal file
26
src/main/java/hu/jgj52/wolfFFA/Main.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package hu.jgj52.wolfFFA;
|
||||
|
||||
import hu.jgj52.wolfFFA.Commands.EditKitCommand;
|
||||
import hu.jgj52.wolfFFA.Commands.TpToFfaCommand;
|
||||
import hu.jgj52.wolfFFA.Listeners.KitListener;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public final class Main extends JavaPlugin {
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
// Plugin startup logic
|
||||
getConfig().options().copyDefaults(true);
|
||||
|
||||
getCommand("tptoffa").setExecutor(new TpToFfaCommand(this));
|
||||
getCommand("editkit").setExecutor(new EditKitCommand(this));
|
||||
|
||||
getServer().getPluginManager().registerEvents(new KitListener(this), this);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
// Plugin shutdown logic
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user