View difference between Paste ID: PK3MvqhK and Vp1LYqDp
SHOW: | | - or go back to the newest paste.
1-
package me.pogostick29.announcer;
1+
2
public class Announcer extends JavaPlugin {
3-
import org.bukkit.Bukkit;
3+
4-
import org.bukkit.ChatColor;
4+
5-
import org.bukkit.plugin.java.JavaPlugin;
5+
6
			public void run() {
7
				Bukkit.getServer().broadcastMessage(ChatColor.GREEN + "This is an announcement!");
8
			}
9
		}, 60//delay after command, 100//interval);
10
	}
11
}