Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.mcbukkitdev.EssentialsCmd;
- import org.bukkit.plugin.java.JavaPlugin;
- public class main extends JavaPlugin {
- // On Enable
- public void onEnable(){
- getCommands();
- }
- //Get the commands
- public void getCommands(){
- gm exe = new gm(this);
- day exe2 = new day(this);
- night exe3 = new night(this);
- getCommand("gm").setExecutor(exe);
- getCommand("day").setExecutor(exe2);
- getCommand("night").setExecutor(exe3);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement