longer games wont announce stay msgs
This commit is contained in:
parent
5a7de8ef3d
commit
fdfc9ae99d
@ -178,6 +178,8 @@ public class Bridge extends TeamGame implements OreObsfucation
|
||||
|
||||
InventoryClick = true;
|
||||
|
||||
AnnounceStay = false;
|
||||
|
||||
PrivateBlocks = true;
|
||||
BlockBreak = true;
|
||||
BlockPlace = true;
|
||||
|
@ -255,6 +255,8 @@ public class MineStrike extends TeamGame
|
||||
|
||||
this.StrictAntiHack = true;
|
||||
|
||||
AnnounceStay = false;
|
||||
|
||||
this.HungerSet = 20;
|
||||
|
||||
this.ItemDrop = true;
|
||||
|
@ -146,6 +146,8 @@ public abstract class Skywars extends Game
|
||||
|
||||
PrepareFreeze = true;
|
||||
|
||||
AnnounceStay = false;
|
||||
|
||||
HideTeamSheep = true;
|
||||
|
||||
CompassEnabled = true;
|
||||
|
@ -210,6 +210,8 @@ public abstract class SurvivalGames extends Game
|
||||
|
||||
StrictAntiHack = true;
|
||||
|
||||
AnnounceStay = false;
|
||||
|
||||
HideTeamSheep = true;
|
||||
|
||||
this.ReplaceTeamsWithKits = true;
|
||||
|
@ -140,6 +140,8 @@ public class UHC extends TeamGame
|
||||
|
||||
this.StrictAntiHack = true;
|
||||
|
||||
AnnounceStay = false;
|
||||
|
||||
this.GameTimeout = 10800000;
|
||||
|
||||
this.DamagePvP = false;
|
||||
|
@ -1111,15 +1111,12 @@ public class GameFlagManager implements Listener
|
||||
if (event.getType() != UpdateType.SEC)
|
||||
return;
|
||||
|
||||
if (Manager.GetGame().GetType() == GameType.MineStrike)
|
||||
return;
|
||||
|
||||
for (Player player : UtilServer.getPlayers())
|
||||
{
|
||||
if (Manager.IsAlive(player))
|
||||
continue;
|
||||
|
||||
if (Recharge.Instance.use(player, "Dont Quit Message", 30000, false, false))
|
||||
if (Recharge.Instance.use(player, "Dont Quit Message", 300000, false, false))
|
||||
{
|
||||
UtilPlayer.message(player, " ");
|
||||
UtilPlayer.message(player, C.cWhite + C.Bold + "You are out of the game, but " + C.cGold + C.Bold + "DON'T QUIT" + C.cWhite + C.Bold + "!");
|
||||
|
Loading…
Reference in New Issue
Block a user