HERE is what I have in the TNTNotifier.java
package en.us.jaxter.bukkit;
import java.util.logging.Logger;
import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.java.JavaPlugin;
public class TNTNotifier extends JavaPlugin {
private Logger log = Logger.getLogger("Minecraft");
public void onEnable() {
this.logMessage("Enabled.");
}
public void onDisable() {
this.logMessage("Disabled.");
}
protected void logMessage(String msg){
PluginDescriptionFile pdFile = this.getDescription();
this.log.info(pdFile.getName() + " " + pdFile.getVersion() + ": " + msg);
}
}
and then here is what I have in the plugin.ymlname: TNTNotifier version: 0.1 main: en.us.jaxter.bukkit.TNTNotifierso if you find somethin wrong, let me know... The main: is just made up, cause I didn't know what to put exactly...
