Guest User

Untitled

a guest
Jun 17th, 2012
19,015
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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×