console commands
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 27
- Joined: 04 Jun 2009 11:56
console commands
Hi,
how can I change these settings via console (rcon pwd command)?
- disable breakdowns from vehicles
- enable taking-over other companies
- change/disable inflation
Can I change everything which I could do via GUI via console?
I am running a dedicated server.
I can connect to the server as client or I have access to the dedicated server-console on the server.
But most settings in the GUI are not changeable (as client)!
greets, DieselDriver.
how can I change these settings via console (rcon pwd command)?
- disable breakdowns from vehicles
- enable taking-over other companies
- change/disable inflation
Can I change everything which I could do via GUI via console?
I am running a dedicated server.
I can connect to the server as client or I have access to the dedicated server-console on the server.
But most settings in the GUI are not changeable (as client)!
greets, DieselDriver.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: console commands
Open your openttd.cfg and search it for 'breakdown' and 'inflation' respectively. The names of the config setting as found in there is the config setting which the console accepts. The usual way is
e.g.
On a dedicated server you can only change settings via rcon. Clients cannot change any server-side setting there.
Other companies cannot be taken over in general, unless they're bancrupt and for that reason sold-off.
Code: Select all
rcon <password> "<command>"
Code: Select all
rcon stupidPW "kick 13"
Other companies cannot be taken over in general, unless they're bancrupt and for that reason sold-off.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: console commands
You forget the most important command in this case:
where "name" is the name of the setting you want to change and "new_value" is the new value. Leave out "new_value" to get the current value. In your case the names are vehicle_breakdowns and inflation. I'm not sure which setting controls taking over other companies.
The complete command would be:
Code: Select all
set name new_value
The complete command would be:
Code: Select all
rcon password "set breakdowns 0"
Re: console commands
"allow_shares" would be the setting that allows people to buy other companies. All setting names can be found in the config file and via the list_settings command. The latter also lets you filter per section or part of name IIRC (don't know which one though).
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone







-
- Engineer
- Posts: 27
- Joined: 04 Jun 2009 11:56
Re: console commands
I tried:
but it seems to be an unknown command (breakdowns is an unknown setting)
Where can I find all settings which I can change with rcon?
Code: Select all
rcon password "set breakdowns 0"
Where can I find all settings which I can change with rcon?
Re: console commands
Try "vehicle_breakdowns".
Use "help" for more info.
Use "help" for more info.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Re: console commands
DieselDriver wrote:Where can I find all settings which I can change with rcon?
planetmaker wrote:Open your openttd.cfg and search it for 'breakdown' and 'inflation' respectively. The names of the config setting as found in there is the config setting which the console accepts.
XeryusTC wrote:All setting names can be found in the config file and via the list_settings command. The latter also lets you filter per section or part of name IIRC (don't know which one though).
-
- Engineer
- Posts: 27
- Joined: 04 Jun 2009 11:56
Re: console commands
ok, thx. The openttd.cfg was not in the game directory but in "my documents and setting" directory.
are there all settings inside from the GUI?
How can I change the pwd from an other company via rcon?
are there all settings inside from the GUI?
How can I change the pwd from an other company via rcon?
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: console commands
Yes. We kind of assume that a person willing to run a server risks to have a look at the readme. At least occasionally.DieselDriver wrote:ok, thx. The openttd.cfg was not in the game directory but in "my documents and setting" directory.
We left out one setting, which is my secret. You cannot change any company password via rcon. Move yourself into the company via rcon and change it using your client.are there all settings inside from the GUI?
How can I change the pwd from an other company via rcon?
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
-
- Engineer
- Posts: 27
- Joined: 04 Jun 2009 11:56
Re: console commands
Ok, but the company has any password I do not know.
What happens when using the "default-password" feature? which password will be set then?
Why it's not possible to change companies password on the dedicated-server-console-window?
Is it possible to join two companies?
What happens when using the "default-password" feature? which password will be set then?
Why it's not possible to change companies password on the dedicated-server-console-window?
Is it possible to join two companies?
Re: console commands
Client relevance: password is relevant for companies to prevent unwanted people messing with one. Unwanted people includes the server administrator, you also do not want google administrators to mess with your google account.DieselDriver wrote:What happens when using the "default-password" feature? which password will be set then?
AGAIN: passwords are for companies, not for administration.[/quote]DieselDriver wrote:Why it's not possible to change companies password on the dedicated-server-console-window?
Different answers possible, what are you trying to achieve: buy a company while playing as a client (enable buying of stocks). Merging two companies into one forced by an admin, not possible.DieselDriver wrote:Is it possible to join two companies?
-
- Engineer
- Posts: 27
- Joined: 04 Jun 2009 11:56
Re: console commands
THX!
But what, when a player forgot the password (our server runs several weeks on the same gamefield). Then I only can kick the company - there it would be fine to beable to reset the password.
But what, when a player forgot the password (our server runs several weeks on the same gamefield). Then I only can kick the company - there it would be fine to beable to reset the password.

- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: console commands
*sigh* Please learn to read.planetmaker wrote:Move yourself into the company via rcon and change it using your client.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Who is online
Users browsing this forum: No registered users and 4 guests