Guest User

MAIN

a guest
Jul 7th, 2021
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package tk.challangesmp.toxicmine;
  2.  
  3. import org.bukkit.entity.Player;
  4. import org.bukkit.event.EventHandler;
  5. import org.bukkit.event.Listener;
  6. import org.bukkit.event.player.PlayerJoinEvent;
  7. import org.bukkit.plugin.java.JavaPlugin;
  8.  
  9. import java.util.ArrayList;
  10.  
  11. public class Main extends JavaPlugin implements Listener {
  12.  
  13.     static boolean timerIsOngoing = false;
  14.     static boolean oneWeekOver = false;
  15.     static ArrayList<Player> competent = new ArrayList<Player>();
  16.  
  17.     @Override
  18.     public void onEnable() {
  19.         this.getServer().getPluginManager().registerEvents(this,this);
  20.         System.out.println("Challenge enabled!");
  21.         new Start(this);
  22.     }
  23.  
  24.     @Override
  25.     public void onDisable() {
  26.         System.out.println("Challenge was disabled.");
  27.     }
  28.  
  29. }
RAW Paste Data