Sven Co-op

Sven Co-op

huh Oct 14, 2018 @ 9:50pm
Disable survival mode midgame with AMX
Title.
Does anyone using AMX know how to disable survival mode directly instead of going through vote?
Server is running 5.0.1.0.
"as_command survival_enabled 0" does not work.
"mp_survival_mode 0" does not work.
"toggle_survival_mode" does not work.

Extra information: I have done this in the past to fully disable it on the way, but I can't recall the exact cvar for this.

I'm an admin on said server, not the owner/host but I don't think it changes much.
Last edited by huh; Oct 16, 2018 @ 5:38pm
Originally posted by GeckoN:
Only the host can execute commands or change CVARs directly. But if you know the rcon_password for the server you use rcon to execute console commands remotely (from the console, or from some admin tool). Like this:

rcon_password <password here> rcon toggle_survival_mode

You can change CVAR values via rcon as well, BUT if the CVAR you are changing exists in the server config file, the value will reset on every map change.

If you don't have rcon access, ask the server OP if he has any admin plugin(s) installed.
< >
Showing 1-4 of 4 comments
SV BOY Oct 14, 2018 @ 11:54pm 
go to common/Sven Co-op/svencoop/maps/ and theres configs with for example intuder.cfg
and remove survival_mode things from config , but thats kinda boring to remove survival mode individualy from campaigns
GeckoN Oct 16, 2018 @ 7:15am 
"toggle_survival_mode" is the correct command to enable/disable survival mode during a game.If you want to disable survival mode altogether on your server, use the "mp_survival_mode" CVAR (0 means off).
huh Oct 16, 2018 @ 5:39pm 
Originally posted by GeckoNCZ:
"toggle_survival_mode" is the correct command to enable/disable survival mode during a game.If you want to disable survival mode altogether on your server, use the "mp_survival_mode" CVAR (0 means off).
Does it have any relationship with any other CVARs? Can only the server host do it?
I've tested these commands during a They Hunger run, but they got fully ignored.

EDIT: Ran a short test on a local server, on the same campaign and toggle_survival_mode fully works.
Could it be that the owner has his settings set on read-only so that any other admins can't modify any CVAR ingame?
Last edited by huh; Oct 16, 2018 @ 6:00pm
The author of this thread has indicated that this post answers the original topic.
GeckoN Oct 17, 2018 @ 7:37am 
Only the host can execute commands or change CVARs directly. But if you know the rcon_password for the server you use rcon to execute console commands remotely (from the console, or from some admin tool). Like this:

rcon_password <password here> rcon toggle_survival_mode

You can change CVAR values via rcon as well, BUT if the CVAR you are changing exists in the server config file, the value will reset on every map change.

If you don't have rcon access, ask the server OP if he has any admin plugin(s) installed.
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Oct 14, 2018 @ 9:50pm
Posts: 4