I search to be able to set a server password (ex : sv_password "test"), while players are connected
(i know it's not possible with CSGO), so for this i try, to set a .cfg file (password.cfg) to execute on the server with rcon
i edit the file with this :
sm_kick @all
sv_password "test"
after executing this cfg, every players are kicked but the password is not set (i think two command are too fast to execute because it works when i execute the cfg since the console while the server is empty).
Also i try this commande in console '_restart -sv_password "test" ', the server restart correctly but with no password set. (the sv_password "" line was delete from server.cfg).
Do you know if it's possible to create a sourcemod plugin to put a delay between the command to kick all the players and the command to set a password ?
Ifelse create a plugin to restart the server with a password ?
Thank you all
P.S : i m sorry if my english is not correct, i try my best