mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-03 06:04:44 +02:00
New and Improved Scoreboard System
- Scoreboards now AUTO-UPDATE - Scoreboards now COME IN COLOR - If you want, they can come in EVERY COLOR (Config setting) - Scoreboards can be displayed alongside chat output! - Prevention of denial of service to SQL via spamming /mctop using a cooldown - Added /mccooldown command to show cooldowns for all available skills
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
package com.gmail.nossr50.runnables.player;
|
||||
|
||||
import org.bukkit.scheduler.BukkitRunnable;
|
||||
|
||||
import com.gmail.nossr50.util.scoreboards.ScoreboardManager;
|
||||
|
||||
public class PowerLevelUpdatingTask extends BukkitRunnable {
|
||||
@Override
|
||||
public void run() {
|
||||
if (!ScoreboardManager.powerLevelHeartbeat()) {
|
||||
this.cancel();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user