Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RunnableTask{
- public static void AutoMessage() {
- new BukkitRunnable() {
- int n = 0;
- public void run() {
- ++this.n;
- if (this.n == 1) {
- Bukkit.broadcastMessage("");
- Bukkit.broadcastMessage("§7[§6§lBeforeHG§7] §7Upload le §etrailer §7et gagne un kit §eVIP §7(/trailer) !");
- Bukkit.broadcastMessage("");
- }
- else if (this.n == 2) {
- Bukkit.broadcastMessage("");
- Bukkit.broadcastMessage("§7[§6§lBeforeHG§7] §7Une question vien sur le discord §elien/dudiscord.gg §7!");
- Bukkit.broadcastMessage("");
- this.n = 0;
- }
- }
- }.runTaskTimerAsynchronously((Plugin)core.getInstance(), 0L, 1400L);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement