Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.logging.Logger;
- public class NoHunger extends Plugin
- {
- String name = "NoHunger";
- String version = "1.1";
- String author = " spenk";
- static Logger log = Logger.getLogger("Minecraft");
- public void initialize(){
- NoHungerListsner listener = new NoHungerListsner();
- log.info(this.name +" version "+ this.version + " by " +this.author+(" is initialized!"));
- etc.getLoader().addListener(PluginLoader.Hook.FOODLEVEL_CHANGE, listener, this, PluginListener.Priority.MEDIUM);
- }
- public void enable(){
- log.info(this.name + " version " + this.version + " by " + this.author + " is enabled!");
- }
- public void disable(){
- log.info(this.name + " version " + this.version + " is disabled!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment