Vinetos

Créer un plugin BungeeCord | #04 - Schedulers - Main

Oct 21st, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. import net.md_5.bungee.api.plugin.Plugin;
  2.  
  3. /**
  4. * @author VINETOS on 21/10/2015.
  5. */
  6. public class Main extends Plugin {
  7.  
  8. private static Plugin pl;
  9.  
  10. @Override
  11. public void onEnable() {
  12. pl = this;
  13. getProxy().getPluginManager().registerCommand(this, new Commande("start"));
  14. }
  15.  
  16. public static Plugin getInstance(){
  17. return pl;
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment