Advertisement
Jycko

Main class

Nov 18th, 2020
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. public class VoiceSupport extends JavaPlugin {
  2. @Override
  3. public void onEnable() {
  4. this.getCommand("harrypotterspellsvoicesupport").setExecutor(new HarryCommand(this));
  5. this.getServer().getPluginManager().registerEvents(new HarryListener(this), this);
  6. this.storage = new HarryStorage(this);
  7. Util.sendMessage(Bukkit.getConsoleSender(), "&2[HarryPotterSpellsVoiceSupport] &aNow enabled.");
  8. }
  9. private @Getter HarryStorage storage;
  10. }
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement