Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main extends JavaPlugin {
- public void onEnable() {
- CommandHandler cH = new CommandHandler();
- getCommand("Smelt").setExecutor(cH);
- getCommand("smelt").setExecutor(cH);
- getServer().getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
- public void run() {
- getServer().broadcastMessage(ChatColor.AQUA + "Remember: Use the command /smelt to smelt your ores!");
- }
- }, 0L, 2 * 60 * 20L);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement