Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.bodhistrontg.mario;
- import org.bukkit.Bukkit;
- import org.bukkit.ChatColor;
- import org.bukkit.event.Listener;
- import org.bukkit.plugin.java.JavaPlugin;
- public class Main extends JavaPlugin implements Listener{
- public static Main plugin;
- @Override
- public void onDisable() {
- getLogger().info("Plugin has been Disabled");
- }
- @Override
- public void onEnable() {
- getLogger().info("Plugin has been Enabled");
- }
- Arena something = new Arena();
- public int Start = 1;
- public void Run(){
- if(Start == 2){
- }
- Bukkit.broadcastMessage(ChatColor.BLUE + "Game will start in 5");
- try {
- Thread.sleep(1000);
- } catch (Exception ignore) {
- }
- Bukkit.broadcastMessage(ChatColor.BLUE + "Game will start in 4");
- try {
- Thread.sleep(1000);
- } catch (Exception ignore) {
- }
- Bukkit.broadcastMessage(ChatColor.BLUE + "Game will start in 3");
- try {
- Thread.sleep(1000);
- } catch (Exception ignore) {
- }
- Bukkit.broadcastMessage(ChatColor.BLUE + "Game will start in 2");
- try {
- Thread.sleep(1000);
- } catch (Exception ignore) {
- }
- Bukkit.broadcastMessage(ChatColor.BLUE + "Game will start in 1");
- try {
- Thread.sleep(1000);
- } catch (Exception ignore) {
- }
- something.freeze = false;
- Bukkit.broadcastMessage(ChatColor.GREEN + "Go!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement