package org.neptunepowered.testplugin;
import com.google.inject.Inject;
import net.canarymod.logger.Logman;
import org.neptunepowered.lib.plugin.Plugin;
@Plugin(name = "TestPlugin")
public class TestPlugin {
@Inject private Logman logman;
@Plugin.Enable
public void onEnable() {
this.logman.info("Hello, World!");
}
}
Preface
The idea is that ultimately a Annotation Processor that will take the above plugin class, create a Neptune.inf and load plugins correctly using Guice.
Progress