package com.xsota;

import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.plugin.java.JavaPlugin;

public class MMO extends JavaPlugin {
	@Override
	public void onEnable() {
		getLogger().info("mmo4minecraft has been enabled.");
		
		//make default config file
		//this.saveDefaultConfig();
		//this.saveConfig();
		
		getServer().getPluginManager().registerEvents(new EntityDamageEventListener(), this);
	}

	@Override
	public void onDisable() {
		getLogger().info("mmo4minecraft has been disabled.");
	}

}

@@ -63,16 +63,56 @@
 eEvent;%0A
+import org.bukkit.plugin.PluginManager;%0A
 import o
@@ -363,19 +363,35 @@
 ig();%0A%09%09
-%0A%09%09
+PluginManager pm = 
 getServe
@@ -412,16 +412,22 @@
 anager()
+;%0A%09%09pm
 .registe
@@ -474,16 +474,61 @@
  this);%0A
+%09%09pm.registerEvents(new LoginBonus(), this);%0A
 %09%7D%0A%0A%09@Ov

set login bonus listener