Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.Adamki11s.Example; //Your package
- import org.bukkit.plugin.PluginManager;
- import org.bukkit.plugin.java.JavaPlugin;
- //Any other imports can go here
- /* Example Template
- * By Adamki11s
- * Plugin Tutorial
- */
- public class Example extends JavaPlugin {
- public void onDisable() {}
- public void onEnable() {
- PluginManager pm = this.getServer().getPluginManager();
- pm.registerEvents(new ExamplePlayerListener(this), this);
- pm.registerEvents(new ExampleBlockListener(this), this);
- pm.registerEvents(new ExampleEntityListener(this), this);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement