Browse Source

Upload files to 'src/Chestlock'

master
CrashAlroggo 2 years ago
parent
commit
7ed737e698
  1. 28
      src/Chestlock/main.java

28
src/Chestlock/main.java

@ -0,0 +1,28 @@
package Chestlock;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
import Builder.Command;
import Builder.Events;
import Config.UserConfig;
public class main extends JavaPlugin{
@Override
public void onEnable() {
Bukkit.getConsoleSender().sendMessage("§aWillkommen! §eChestLock §7ist nun §aaktiv§7!");
UserConfig.check();
Config.Config.check();
Config.Config.create();
getCommand("chestlock").setExecutor(new Command());
Bukkit.getPluginManager().registerEvents(new Events(), this);
}
@Override
public void onDisable() {
Bukkit.getConsoleSender().sendMessage("§eChestLock §7wurde §cdeaktiviert§7!");
}
}
Loading…
Cancel
Save