Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. package org.doomwarrior.PVPOcean.Games.OVO_V2;
  2.  
  3. import java.util.ArrayList;
  4.  
  5. import org.bukkit.Bukkit;
  6. import org.bukkit.entity.Player;
  7. import org.doomwarrior.PVPOcean.Main.Main;
  8.  
  9. public class OVO_Startup {
  10.  
  11. private static Main plugin;
  12. public static OVO_Startup ovo;
  13. ArrayList<Player> AllPlayers = new ArrayList<Player>();
  14.  
  15.  
  16. /* 30: */ public OVO_Startup(org.doomwarrior.PVPOcean.Main.Main Main)
  17. /* 31: */ {
  18. /* 32: 29 */ OVO_Startup.plugin = Main;
  19. /* 33: */ }
  20.  
  21.  
  22. public static void onOVOEnable(boolean MakeFiles, boolean maintance) {
  23.  
  24. plugin.getServer().getPluginManager().registerEvents(new SignClick(plugin), plugin);
  25. plugin.getServer().getPluginManager().registerEvents(new OVO_Events(plugin), plugin);
  26.  
  27. System.out.println("OVO_V2 System enabled!");
  28.  
  29.  
  30. }
  31. public void onOVODisable(boolean restart) {
  32. if(restart = true) {
  33. onOVOEnable(false, false);
  34. }
  35. }
  36.  
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement