longer games wont announce stay msgs
This commit is contained in:
parent
5a7de8ef3d
commit
fdfc9ae99d
@ -177,6 +177,8 @@ public class Bridge extends TeamGame implements OreObsfucation
|
|||||||
ItemPickup = true;
|
ItemPickup = true;
|
||||||
|
|
||||||
InventoryClick = true;
|
InventoryClick = true;
|
||||||
|
|
||||||
|
AnnounceStay = false;
|
||||||
|
|
||||||
PrivateBlocks = true;
|
PrivateBlocks = true;
|
||||||
BlockBreak = true;
|
BlockBreak = true;
|
||||||
|
@ -255,6 +255,8 @@ public class MineStrike extends TeamGame
|
|||||||
|
|
||||||
this.StrictAntiHack = true;
|
this.StrictAntiHack = true;
|
||||||
|
|
||||||
|
AnnounceStay = false;
|
||||||
|
|
||||||
this.HungerSet = 20;
|
this.HungerSet = 20;
|
||||||
|
|
||||||
this.ItemDrop = true;
|
this.ItemDrop = true;
|
||||||
|
@ -146,6 +146,8 @@ public abstract class Skywars extends Game
|
|||||||
|
|
||||||
PrepareFreeze = true;
|
PrepareFreeze = true;
|
||||||
|
|
||||||
|
AnnounceStay = false;
|
||||||
|
|
||||||
HideTeamSheep = true;
|
HideTeamSheep = true;
|
||||||
|
|
||||||
CompassEnabled = true;
|
CompassEnabled = true;
|
||||||
|
@ -210,6 +210,8 @@ public abstract class SurvivalGames extends Game
|
|||||||
|
|
||||||
StrictAntiHack = true;
|
StrictAntiHack = true;
|
||||||
|
|
||||||
|
AnnounceStay = false;
|
||||||
|
|
||||||
HideTeamSheep = true;
|
HideTeamSheep = true;
|
||||||
|
|
||||||
this.ReplaceTeamsWithKits = true;
|
this.ReplaceTeamsWithKits = true;
|
||||||
|
@ -139,6 +139,8 @@ public class UHC extends TeamGame
|
|||||||
this.HideTeamSheep = true;
|
this.HideTeamSheep = true;
|
||||||
|
|
||||||
this.StrictAntiHack = true;
|
this.StrictAntiHack = true;
|
||||||
|
|
||||||
|
AnnounceStay = false;
|
||||||
|
|
||||||
this.GameTimeout = 10800000;
|
this.GameTimeout = 10800000;
|
||||||
|
|
||||||
|
@ -1110,16 +1110,13 @@ public class GameFlagManager implements Listener
|
|||||||
|
|
||||||
if (event.getType() != UpdateType.SEC)
|
if (event.getType() != UpdateType.SEC)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (Manager.GetGame().GetType() == GameType.MineStrike)
|
|
||||||
return;
|
|
||||||
|
|
||||||
for (Player player : UtilServer.getPlayers())
|
for (Player player : UtilServer.getPlayers())
|
||||||
{
|
{
|
||||||
if (Manager.IsAlive(player))
|
if (Manager.IsAlive(player))
|
||||||
continue;
|
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, " ");
|
||||||
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 + "!");
|
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