Garry's Mod

Garry's Mod

评价数不足
Auto Execute Commands Depending On Gamemode
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 写实
文件大小
发表于
更新日期
5.696 KB
2024 年 1 月 11 日 下午 12:45
2024 年 1 月 19 日 上午 7:33
3 项改动说明 ( 查看 )

订阅以下载
Auto Execute Commands Depending On Gamemode

描述
You're hosting a server with multiple gamemodes and wanna have specific commands be executed automatically when loading into a new gamemode? With this addon you can!

It automatically creates a file for each installed gamemode inside data/autocommands/. Just use a text editor to put each command you wanna have executed in a new line. You can also provide additional arguments like this:
sv_gravity 120
ttt_traitor_pct 0.25

You can use the GUI for easier editing. Just use this console command:
opengui_autocommands
This work is licensed under CC BY-NC-ND 4.0 [creativecommons.org]
2 条留言
Psychotrickser  [作者] 2024 年 1 月 31 日 上午 1:05 
It is and was integrated in my Mapvote addon. Someone requested that feature as a separate addon which is why I published this
Clifford 2024 年 1 月 31 日 上午 12:28 
Looks like this is already integrated now in MapVote - Gamemode and Map Voting + Previews?