Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package mpgc.bot;
- import java.io.IOException;
- import org.bukkit.plugin.java.JavaPlugin;
- public class BotMain extends JavaPlugin {
- public void OnEnable() {
- System.out.println("+++ OnEnable wir gelesen +++");
- new Config();
- getCommand("botsetup").setExecutor(new AdminCMD());
- getCommand("botbattle").setExecutor(new UserCMD());
- System.out.println("+++ Kommandos geladen +++");
- try {
- Config.loadConfig();
- } catch (IOException e) {
- e.printStackTrace();
- }
- System.out.println("+++ Hier bin ich angekommen +++");
- }
- public void onDisable() {
- }
- }
- /--------------------------------------------------- plugin.yml
- name: BotBattle
- version: 1.0
- author: 615Power
- main: mpgc.bot.BotMain
- commands:
- botbattle:
- description: Wenn ich das Wueste
- aliases: bot
- botsetup:
- description: Wenn ich das Wueste
- aliases: botadmin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement