Advertisement
FitzyPvP

Untitled

Mar 26th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. package me.fitzypvp.betteressentials;
  2.  
  3. import me.fitzypvp.betteressentials.Events.MOTD;
  4. import me.fitzypvp.betteressentials.commands.*;
  5. import org.bukkit.plugin.java.JavaPlugin;
  6.  
  7. public final class BetterEssentials extends JavaPlugin{
  8.  
  9. @Override
  10. public void onEnable() {
  11. // Plugin startup logic// }
  12. getConfig().options().copyDefaults();
  13. saveDefaultConfig();
  14. getServer().getPluginManager().registerEvents(new MOTD(), this);
  15. getCommand("god").setExecutor(new God());
  16. getCommand("feed").setExecutor(new Feed());
  17. getCommand("heal").setExecutor(new heal());
  18. getCommand("gmc").setExecutor(new Gmc());
  19. getCommand("gms").setExecutor(new Gms());
  20. getCommand("fly").setExecutor(new Fly());
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement