package io.github.Cnly.BusyInv.BusyInv;

import io.github.Cnly.BusyInv.BusyInv.listeners.BusyListener;

import org.bukkit.Bukkit;
import org.bukkit.event.HandlerList;
import org.bukkit.plugin.java.JavaPlugin;

public class BusyInv extends JavaPlugin
{
    
    private static BusyInv instance;
    
    @Override
    public void onEnable()
    {
        
        instance = this;
        
        Bukkit.getPluginManager().registerEvents(new BusyListener(), this);
        
    }
    
    @Override
    public void onDisable()
    {
        HandlerList.unregisterAll(this);
    }
    
    public static BusyInv getInstance()
    {
        return instance;
    }
    
}
@@ -574,24 +574,165 @@
 %0A    %7D%0A    %0A
+    public static void registerFor(JavaPlugin jp)%0A    %7B%0A        Bukkit.getPluginManager().registerEvents(new BusyListener(), jp);%0A    %7D%0A    %0A
     public s

Add a register method for plugins