Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. package de.don.easyinfo.main;
  2.  
  3. import org.bukkit.plugin.java.JavaPlugin;
  4.  
  5. import de.don.easyinfo.cmd.CMDbew;
  6. import util.ConfigManager;
  7.  
  8. public class Main extends JavaPlugin {
  9.  
  10. private static Main plugin;
  11. private ConfigManager cfgm;
  12.  
  13. public void onEnable() {
  14. plugin = (this);
  15. cfgm = new ConfigManager(this);
  16.  
  17. System.out.println("§7[§bInfo§7] wurde aktiviert.");
  18.  
  19. this.getCommand("bewerben").setExecutor(new CMDbew());
  20.  
  21.  
  22.  
  23.  
  24. }
  25.  
  26. public void onDisable() {
  27.  
  28. System.out.println("Plugin deaktiviert.");
  29.  
  30.  
  31.  
  32.  
  33.  
  34. }
  35.  
  36. public static Main getPlugin() {
  37. return plugin;
  38. }
  39.  
  40. public ConfigManager getConfigManager() {
  41. return cfgm;
  42.  
  43. }
  44.  
  45.  
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement