how do u erase a users company from a server

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
djvalentine
Engineer
Engineer
Posts: 11
Joined: 28 Jun 2005 00:13
Location: cluj-napoca city, romania
Contact:

how do u erase a users company from a server

Post by djvalentine »

hello

anyone knows how to get rid of some users which all the time enter on my server and screw it up?

i can ban the users but their companies remain

can i erase them too somehow?
will u b ma' valentine ?
Seven Force
Engineer
Engineer
Posts: 84
Joined: 22 May 2005 09:45
Location: United Kingdom

Post by Seven Force »

clean_company [id - 0 to 8]

For example: clean_company 3
Will remove company 3.
Last edited by Seven Force on 21 Jul 2005 13:08, edited 2 times in total.
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

http://wiki.openttd.org/index.php/Console_Commands says:
rcon <password> <command>
Execute <command> on the server authenticated by <password> while connected as a client. The password must be set by "set rcon_pw <password>" on the server in advance.
reset_company <company-id>
Delete the company identified by <company-id>.
So if you're authenticated already, you can use the reset_company <company-id> command (company-id is the index of the company in the company list, IIRC.

If you're not authenticated (dedicated server and you're connected to it as a client) you can use
rcon <password> "reset_company <company-id>" (or maybe without the quotes, I forgot)
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
BobDendry
Tycoon
Tycoon
Posts: 2215
Joined: 06 May 2004 09:10
Location: Sydney

Post by BobDendry »

OK, check http://wiki.openttd.org/ for info on how to do things like this, but I got it for you
Press the ` key, then when the console opens up, type:
reset_company <company-id>
where company-id is the number of the company you wish to delete.
Formerly known as Lachie
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: Ahrefs [Bot] and 22 guests