Implement basic Spigot plugin structure
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
02434e5b84
commit
425df32d01
1
.gitignore
vendored
1
.gitignore
vendored
@ -47,3 +47,4 @@ crashlytics.properties
|
|||||||
crashlytics-build.properties
|
crashlytics-build.properties
|
||||||
fabric.properties
|
fabric.properties
|
||||||
|
|
||||||
|
*.iml
|
||||||
|
@ -1,9 +1,18 @@
|
|||||||
package wtf.beatrice.nounspicker;
|
package wtf.beatrice.nounspicker;
|
||||||
|
|
||||||
public class NounsPicker
|
import org.bukkit.plugin.PluginManager;
|
||||||
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
public class NounsPicker extends JavaPlugin
|
||||||
{
|
{
|
||||||
public static void main(String[] args)
|
private PluginManager pluginManager;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEnable()
|
||||||
{
|
{
|
||||||
System.out.println("Hello world!");
|
pluginManager = getServer().getPluginManager();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user