Page 1 of 1

[0.17.66] config set name new_server_name

Posted: Sun Aug 18, 2019 1:43 pm
by XaLpHa89
Can not change the server name with a command "/config <get/set> <option> <value>".

Code: Select all

table_of_containers[ pid ].process.stdin.write( '/config set name "' + table_of_scenarios[ scenario ].community + ' ' + table_of_scenarios[ scenario ].name + '"' );
table_of_containers[ pid ].process.stdin.write( '/config set description "' + table_of_scenarios[ scenario ].description + '"' );

Re: [0.17.66] config set name new_server_name

Posted: Sun Aug 18, 2019 2:26 pm
by tehfreek

Re: [0.17.66] config set name new_server_name

Posted: Sun Aug 18, 2019 2:30 pm
by XaLpHa89
I can not confirm that it works.

Re: [0.17.66] config set name new_server_name

Posted: Sun Aug 18, 2019 2:48 pm
by tehfreek
It will not work. Those are not valid keys, as documented.

If you think they should work then this is a suggestion, not a bug report.

Re: [0.17.66] config set name new_server_name

Posted: Sun Aug 18, 2019 3:07 pm
by XaLpHa89
If you call "/help config" in the game, you will see that they are valid keys. I can now confirm that the execution of the command works. My mistake was, as an admin I had viewer rights. The real problem is, I can execute via stdin "/silent-command", only not "/config".

Re: [0.17.66] config set name new_server_name

Posted: Sat Feb 01, 2020 11:44 am
by XaLpHa89
It works, I forgot to insert \n at the end of the line.