daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest Jun 17th, 2012 17,141 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top