Esempio n. 1
0
        internal static void Close(Player player, bool bootPlayers = false)
        {
            WorldStatus = WorldStatusState.Closed;
            var msg = "World is now closed";

            if (bootPlayers)
            {
                msg += ", and booting all online players.";
            }

            PlayerManager.BroadcastToAuditChannel(player, msg);

            if (bootPlayers)
            {
                PlayerManager.BootAllPlayers();
            }
        }