longer games wont announce stay msgs

This commit is contained in:
Mini-Chiss 2015-08-09 18:17:29 +02:00
parent 5a7de8ef3d
commit fdfc9ae99d
6 changed files with 12 additions and 5 deletions

View File

@ -178,6 +178,8 @@ public class Bridge extends TeamGame implements OreObsfucation
InventoryClick = true;
AnnounceStay = false;
PrivateBlocks = true;
BlockBreak = true;
BlockPlace = true;

View File

@ -255,6 +255,8 @@ public class MineStrike extends TeamGame
this.StrictAntiHack = true;
AnnounceStay = false;
this.HungerSet = 20;
this.ItemDrop = true;

View File

@ -146,6 +146,8 @@ public abstract class Skywars extends Game
PrepareFreeze = true;
AnnounceStay = false;
HideTeamSheep = true;
CompassEnabled = true;

View File

@ -210,6 +210,8 @@ public abstract class SurvivalGames extends Game
StrictAntiHack = true;
AnnounceStay = false;
HideTeamSheep = true;
this.ReplaceTeamsWithKits = true;

View File

@ -140,6 +140,8 @@ public class UHC extends TeamGame
this.StrictAntiHack = true;
AnnounceStay = false;
this.GameTimeout = 10800000;
this.DamagePvP = false;

View File

@ -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 + "!");