Guest User

Untitled

a guest
Oct 9th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. package com.plasticono;
  2.  
  3. import org.bukkit.ChatColor;
  4. import org.bukkit.event.Listener;
  5. import org.bukkit.plugin.PluginManager;
  6. import org.bukkit.plugin.java.JavaPlugin;
  7.  
  8. public class Main extends JavaPlugin{
  9.  
  10.  
  11. public static String prefix = ChatColor.DARK_AQUA + "[Teams] ";
  12.  
  13. public void onEnable(){
  14. PluginManager pm = this.getServer().getPluginManager();
  15. pm.registerEvents( new teamCommand(), this);
  16. getCommand("team").setExecutor(new teamCommand());
  17. getCommand("t").setExecutor(new teamCommand());
  18. getConfig().options().copyDefaults(true);
  19. saveConfig();
  20. }
  21.  
  22.  
  23. public void onDisable(){
  24. this.saveConfig();
  25. }
  26. }
Add Comment
Please, Sign In to add comment