public ModelStatus Execute(ref PlayerServer player, Chat chat, List <string> argsM)
        {
            var ownLogin = player.Public.Login;

            if (argsM.Count < 1)
            {
                return(_chatManager.PostCommandPrivatPostActivChat(ChatCmdResult.PlayerNameEmpty, ownLogin, chat, "Player name is empty"));
            }

            var killPlayer = Repository.GetPlayerByLogin(argsM[0]);

            if (killPlayer == null)
            {
                return(_chatManager.PostCommandPrivatPostActivChat(ChatCmdResult.UserNotFound, ownLogin, chat, "User " + argsM[0] + " not found"));
            }

            var msg = "User " + killPlayer.Public.Login + " deleted settlements.";

            _chatManager.AddSystemPostToPublicChat(msg);

            Repository.DropUserFromMap(killPlayer.Public.Login);
            Repository.GetSaveData.DeletePlayerData(killPlayer.Public.Login);
            Repository.Get.ChangeData = true;
            Loger.Log("Server killhimplease " + killPlayer.Public.Login);

            return(new ModelStatus()
            {
                Status = 0
            });
        }
        public ModelStatus Execute(ref PlayerServer player, Chat chat, List <string> param)
        {
            if (chat.OwnerMaker)
            {
                return(_chatManager.PostCommandPrivatPostActivChat(ChatCmdResult.OnlyForPublicChannel, player.Public.Login, chat, "Operation only for the shared channel"));
            }

            var msg = "User " + player.Public.Login + " deleted settlements.";

            _chatManager.AddSystemPostToPublicChat(msg);

            Repository.DropUserFromMap(player.Public.Login);
            Repository.GetSaveData.DeletePlayerData(player.Public.Login);
            Loger.Log("Server killmyallplease " + player.Public.Login);
            player = null; ///  значение передается по ссылке, и успешно обнуляет у передающего класса
            Repository.Get.ChangeData = true;

            return(new ModelStatus()
            {
                Status = 0,
            });
        }