Merge branch 'master' of ssh://184.154.0.242:7999/min/Mineplex
This commit is contained in:
commit
d407cc7c4c
@ -9,6 +9,7 @@ import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.common.util.UtilTime;
|
||||
import mineplex.core.common.util.UtilTitle;
|
||||
import mineplex.core.updater.UpdateType;
|
||||
import mineplex.core.updater.event.UpdateEvent;
|
||||
import mineplex.hub.HubManager;
|
||||
@ -61,24 +62,32 @@ public class UHCManager extends MiniPlugin
|
||||
{
|
||||
_canAnnounce3 = false;
|
||||
announce("Opening in 3 minutes...");
|
||||
|
||||
UtilTitle.display(C.cRed + "Ultra Hardcore", "Open in 3 minutes...", 10, 100, 20);
|
||||
}
|
||||
|
||||
else if (_canAnnounce2 && time % _delay > _delay - 120000)
|
||||
{
|
||||
_canAnnounce2 = false;
|
||||
announce("Opening in 2 minutes...");
|
||||
|
||||
UtilTitle.display(C.cRed + "Ultra Hardcore", "Open in 2 minutes...", 10, 100, 20);
|
||||
}
|
||||
|
||||
else if (_canAnnounce1 && time % _delay > _delay - 60000)
|
||||
{
|
||||
_canAnnounce1 = false;
|
||||
announce("Opening in 1 minute...");
|
||||
|
||||
UtilTitle.display(C.cRed + "Ultra Hardcore", "Open in 1 minute...", 10, 100, 20);
|
||||
}
|
||||
|
||||
else if (_canAnnounce0 && time % _delay < 30000)
|
||||
{
|
||||
_canAnnounce0 = false;
|
||||
announce("UHC Open! Join at the Ultra Hardcore NPC!");
|
||||
|
||||
UtilTitle.display(C.cRed + "Ultra Hardcore", "Join at the NPC to play", 10, 100, 20);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user