Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: EscudoDenali on July 04, 2007, 02:17:50 PM

Title: Console Command on server start
Post by: EscudoDenali on July 04, 2007, 02:17:50 PM
I was wondering how I could make my server run a specified list of commands on start, if it is even possible.
Title: Re: Console Command on server start
Post by: Golden-Death on July 04, 2007, 03:05:34 PM
server.cfg or server_cfg.txt
Title: Re: Console Command on server start
Post by: Banyon on July 04, 2007, 03:58:14 PM
These server_cfg.txt is just a text backup I do believe.  Its there for the purpose of showing you how to format one I think, although it appears to be formatted incorrectly.

Server.cfg is all the stuff for the server like defaultgamemode, cheats, rate settings, sv_lan, ect.

autoexec.cfg will also run commands and other scripts at start up.

example:

exec server.cfg
exec testscript.cfg
exec serverlocked.cfg
Title: Re: Console Command on server start
Post by: Megiddo on July 04, 2007, 04:44:35 PM
Don't forget the ULX configs! It has gamemode- and map-specific configs as well.
Title: Re: Console Command on server start
Post by: JamminR on July 04, 2007, 04:46:39 PM
Meg posted while I was writing the following. It explains where what he said is.

See also your addons\ulx\lua\ulx\config folder.
Server.ini will let you configure many ulx commands.
There is also a addons\ulx\lua\ulx\<maps> or <config\maps> folder.
(Sorry, I'm out on travel right now and don't have an installation I can look at.)
In that is an example file explaining you can set various configuration depending on which map_name.ini is loaded.
Title: Re: Console Command on server start
Post by: EscudoDenali on August 04, 2007, 11:06:31 PM
Ok, so what I want to do is set it up so I don't have to change the server limits every time by making ULX menu save the settings or whatever, and I also want it to automatically run console commands like sbox_maxwire_rangers because A: ULX Menu doesn't support wire B: The wiremod control panel in utilities doesn't work with a dedicated server. So, can someone please walk through how to do both for me, like what files must I change and do I have to create any files, and where. Thanks in advance!
Title: Re: Console Command on server start
Post by: ford460ho on August 05, 2007, 12:47:50 AM
can any one give me a list of sbox commands
Title: Re: Console Command on server start
Post by: JamminR on August 05, 2007, 01:16:26 AM
Try the Gmod Wiki.
http://garrysmod.com/wiki/?title=Main_Page