ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.65k stars 617 forks source link

Rcon #1209

Open zivkovic opened 11 years ago

zivkovic commented 11 years ago

Hey, could you prevent rcon_password changing with rcon. Lets say my rcon password is "RPW", this is how i would change the password to "WPR": rcon_password "RPW" rcon rcon_password "WPR" Now rcon_password is "WPR". Could you make it, so I cannot change it with rcon or that I would require another password ti change rcon?

Thanks!

alfred-valve commented 11 years ago

Wouldn't you be better served using Admin Mod or the like, a tool that has a proper user system? By design rcon gives you full console access, disabling this seems like a way to let you lock yourself out of a server by mistake.

zivkovic commented 11 years ago

Well, the problem is that it's being used as a clan war server. Because of that, no plugins can be used. Not even metamod. So basicly a server without plugins. Some people who play on it have been changing rcon_password, I want the rcon_password to be the same all the time. If I want to change it, I would edit server.cfg to do it. Maybe its just me, but I'd really like to have this. Everyone that has a server has atleast stop/start/restart access, so on restart the "default" rcon would be used. Thus eliminating locking yourself out of the server.

zivkovic commented 11 years ago

Closed by mistake :S

ghost commented 11 years ago

maybe you already know this, but if it is JUST about starting a match, there is no need for rcon, one (or both) teams can just chooseteam / menuselect on their team and it will provoke a game restart

map voting is also hardcoded in the game

I hope it helps