Garry's Mod

Garry's Mod

42 个评价
Auto Command on Start
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 快乐, 角色扮演
文件大小
发表于
更新日期
10.176 KB
2023 年 8 月 20 日 下午 1:11
10 月 17 日 下午 4:53
3 项改动说明 ( 查看 )

订阅以下载
Auto Command on Start

在 Freef 的 1 个合集中
Freef's Misc Mods
48 件物品
描述
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
19 条留言
Freef  [作者] 3 月 4 日 上午 2:29 
You're welcome!
Jiyū to anzen 3 月 3 日 下午 4:32 
Thanks! Now I don't have to use the autoexec file all the time.
Freef  [作者] 3 月 3 日 下午 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  [作者] 2 月 26 日 下午 2:47 
Thanks! I'll be taking a look at it when I have time :)
Freef  [作者] 2 月 26 日 上午 2:29 
Could you send me the mod? That should make testing things way easier.
Jiyū to anzen 2 月 25 日 下午 3: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  [作者] 2 月 25 日 下午 2: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 2 月 25 日 下午 2: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.
Freef  [作者] 2 月 25 日 下午 2:36 
I *hope* I will be able to make the white space the seperator. I don't know how it will behave with commands such as say Good morning. Doesn't it already work with multiple arguments?