PDA

View Full Version : Any way to issue changes to modmanager via RCON?


Horsepower
1st February 2006, 09:23
Our host runs rcon only. I have to first contact them and then wait forever for changes to be made to our files. I wanted to know if I can make changes to modmanger.con via BF2CC rcon. If it is possible, what is the exact verbage to issue the change and then save it? Thanks.

K
1st February 2006, 12:24
Oh dear thats not very good may be a Multiplay server would be a better option :) </pimp>

Depending on what options you want to set the following may be of use:

# Set the parameter of a module
mm.setParam <module_name> <param> <value>

# Save the running config
mm.saveConfig


So you could do:

mm.setParam mm_kicker banLimit 2
mm.saveConfig

Then restart your server to change the ban limit of the kicker module.

Horsepower
1st February 2006, 20:28
thank you very much.

Horsepower
4th February 2006, 14:43
i tried these commands but they don't seem to be 'sticking'. do i have to set one parameter, then save. set the next parameter, then save etc etc...? or can i set all parameters i want to change, then save once?

also, do i have to use the command rcon exec before setting the parameter? EX: rcon exec mm.setParam mm_kicker banLimit 2

K
4th February 2006, 15:21
Sorry my bad not "." but space " "
Nope its just one command and you can set as many as you like in one go before saving:

rcon mm setParam mm_kicker banLimit 2
rcon mm saveConfig

Note: Each command should produce feedback