Putopug

main

May 21st, 2021
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1. package com.putopug.skylighttools;
  2.  
  3. import com.putopug.skylighttools.commands.SpeedCommand;
  4. import net.dv8tion.jda.api.JDA;
  5. import net.dv8tion.jda.api.JDABuilder;
  6. import org.bukkit.plugin.java.JavaPlugin;
  7.  
  8. import javax.security.auth.login.LoginException;
  9.  
  10. public final class SkylightTools extends JavaPlugin {
  11.  
  12.     @Override
  13.     public void onEnable() {
  14.         getCommand("speed").setExecutor(new SpeedCommand());
  15.         getServer().getPluginManager().registerEvents(new EventListener(), this);
  16.     }
  17.  
  18.     @Override
  19.     public void onDisable() {
  20.         // Plugin shutdown logic
  21.     }
  22. }
  23.  
Add Comment
Please, Sign In to add comment