Garry's Mod

Garry's Mod

42 arvostelua
Auto Command on Start
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Roleplay
Tiedostokoko
Julkaistu
Päivitetty
10.176 KB
20.8.2023 klo 13.11
17.10. klo 16.53
3 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Auto Command on Start

1 kokoelmassa, tekijä Freef
Freef's Misc Mods
48 luomusta
Kuvaus
Sets your commands when you join a game / start a server.

Some of us perform certain actions whenever we start in Singleplayer or Multiplayer, for exmaple mat_specular 1 or cl_drawhud 0.

This mod adds a new interface in the Utilities tab to automate this process.

Note that some Server commands such as sv_cheats 1 are locked by Garry. However, you could totally enter this manually and then use the manual run button to run all your cheat commands.

If you have a command that requires several arguments (which in the console you usually seperate with a space), you can just place a semicolon (;). This tells my script to execute it as additional argument. Some multiple-argument commands such as say do not require this.

Gmod commands
Blocked commands[wiki.facepunch.com]

Warning: This mod will only work on other people's servers if they too have the addon.



If, somehow, you manage to brick your game with this and need to undo the commands, you can just delete the start_command_client/server.json files under (...)\Steam\steamapps\common\GarrysMod\garrysmod\data
20 kommenttia
Kris The Moss Collector 4.11. klo 21.57 
i wish there was a version to run commands on respawn because this does work on the first spawn but if i die i gotta do the commands that edit my player again
Freef  [tekijä] 4.3. klo 2.29 
You're welcome!
Jiyū to anzen 3.3. klo 16.32 
Thanks! Now I don't have to use the autoexec file all the time.
Freef  [tekijä] 3.3. klo 12.34 
Updated it, should work now for your needs!
You can edit commands by selecting them, changing them and hitting the update button
You can seperate multiple commands using ; (in the case of your halo command you'd write 255;50;255;255)
Freef  [tekijä] 26.2. klo 14.47 
Thanks! I'll be taking a look at it when I have time :)
Freef  [tekijä] 26.2. klo 2.29 
Could you send me the mod? That should make testing things way easier.
Jiyū to anzen 25.2. klo 15.08 
Well in my case there is a mod that does not save the color ConVar after a session. I have to type in w_halo_color 244 222 255 255 - this addon can't seem do it but putting it in the console was fine. I unpacked the code for it and it requires 4 arguments to run so I though that might be why.
Freef  [tekijä] 25.2. klo 14.43 
You're welcome! Also, are you sure multiple arguments currently don't work with this mod? I personally don't know any such commands, other than the say command, and that worked just fine
Jiyū to anzen 25.2. klo 14.41 
Thank you for responding! I think you can wrap commands that use white spaces in one argument into quotation marks- I don’t know though.