if(inst != null) System.out.println("["+pdf.getName()+" v"+pdf.getVersion()+"] Instance loaded.");
xD
inventory = null;
Po co caly czas ustawiasz inventory na null?
W klasie OtchlanCommand dajesz instancje klasy main (nie, to nie nazywa sie API) w konstruktorze, a nizej ja pobierasz voidem
Klasy nazywa sie wielka litera.
Moim zdaniem plugin niczym sie nie wyroznia. (Widzialem na to skrypty, ktore byly lepsze )