<repo_name>Tastie/mcf<file_sep>/src/com/minecraftfab/mcf/Main.java
package com.minecraftfab.mcf;

/**
*
* @author Tastio
* @author Ragweed
*
*/

import org.bukkit.plugin.java.JavaPlugin;
import com.minecraftfab.mcf.listeners.PlayerListener;
import com.minecraftfab.mcf.listeners.MOTDListener;

public class Main extends JavaPlugin {
  @Override
  public void onEnable() {
    System.out.println("Hello! mcf's Main has been reached!");
    System.out.println("Activating mcf's services...");
    getServer().getPluginManager().registerEvents(new PlayerListener(), this);
    getServer().getPluginManager().registerEvents(new MOTDListener(), this);
    System.out.println("Services successfully activated!");
    getLogger().info("Hello, we are mcf!");
    getLogger().info("mcf is a plugin that is to support your server.");
    getLogger().info("mcf means Minecraft Fab.");
    getLogger().info("Minecraft Fab was created by Tastio and Ragweed.");
    getLogger().info("Tastio's GitHub: https://github.com/tastie");
    getLogger().info("Ragweed's GitHub: https://github.com/Ragweed");
  }
  
  @Override
  public void onDisable() {
    System.out.println("The server has stopped responding due to many reasons.");
    System.out.println("If the problem continues multiple times, contact Spigot/Bukkit (http://spigotmc.org/ | http://bukkit.org/) or Codedsoup. (http://codedsoup.com/)");
    System.out.println("Deactivating mcf's services...");
    System.out.println("Services successfully disabled!");
    getLogger().info("Disabling mcf v1.0");
    getLogger().info("Plugin disabled.");
    getLogger().info("mcf means Minecraft Fab.");
    getLogger().info("Minecraft Fab was created by Tastio and Ragweed.");
    getLogger().info("Tastio's GitHub: https://github.com/tastie");
    getLogger().info("Ragweed's GitHub: https://github.com/Ragweed");
    getLogger().info("Bye! It was fun having you around!");
  }
}
