Flipped the big lever
PULL THE LEVER KRONK
This commit is contained in:
parent
980cc816f2
commit
118ef6f970
2 changed files with 12 additions and 1 deletions
|
@ -5,6 +5,8 @@ import java.util.logging.Logger;
|
||||||
import org.bukkit.plugin.PluginDescriptionFile;
|
import org.bukkit.plugin.PluginDescriptionFile;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
|
import buttondevteam.presents.hello.Hello;
|
||||||
|
|
||||||
public class Main extends JavaPlugin{
|
public class Main extends JavaPlugin{
|
||||||
public void onEnable(){
|
public void onEnable(){
|
||||||
PluginDescriptionFile pdfFile = getDescription();
|
PluginDescriptionFile pdfFile = getDescription();
|
||||||
|
@ -12,6 +14,8 @@ PluginDescriptionFile pdfFile = getDescription();
|
||||||
Logger logger = getLogger();
|
Logger logger = getLogger();
|
||||||
logger.info(pdfFile.getName() + " has been started (V." + pdfFile.getVersion()+ ").");
|
logger.info(pdfFile.getName() + " has been started (V." + pdfFile.getVersion()+ ").");
|
||||||
|
|
||||||
|
new Hello().register(this);
|
||||||
|
|
||||||
logger.info(pdfFile.getName() + " has fully registered (V." + pdfFile.getVersion()+ ").");
|
logger.info(pdfFile.getName() + " has fully registered (V." + pdfFile.getVersion()+ ").");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
7
target/classes/plugin.yml
Normal file
7
target/classes/plugin.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
main: buttondevteam.presents.Main
|
||||||
|
name: ButtonPresents
|
||||||
|
version: 0.0.1
|
||||||
|
|
||||||
|
commands:
|
||||||
|
hello:
|
||||||
|
description: A set of Hello World commands and listeners, type in /hello to see subcommands
|
Loading…
Reference in a new issue