Advertisement
Guest User

Untitled

a guest
Jun 17th, 2012
20,247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1. package me.Adamki11s.Example; //Your package
  2.  
  3. import org.bukkit.plugin.PluginManager;
  4. import org.bukkit.plugin.java.JavaPlugin;
  5. //Any other imports can go here
  6.  
  7. /* Example Template
  8.  * By Adamki11s
  9.  * Plugin Tutorial
  10.  */
  11.  
  12. public class Example extends JavaPlugin {
  13.  
  14.     public void onDisable() {}
  15.  
  16.     public void onEnable() {
  17.             PluginManager pm = this.getServer().getPluginManager();
  18.             pm.registerEvents(new ExamplePlayerListener(this), this);
  19.             pm.registerEvents(new ExampleBlockListener(this), this);
  20.         pm.registerEvents(new ExampleEntityListener(this), this);  
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement