Garry's Mod

Garry's Mod

46 个评价
In-game server restart
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
文件大小
发表于
1.524 KB
2016 年 10 月 11 日 上午 6:34
1 项改动说明 ( 查看 )

订阅以下载
In-game server restart

描述
This lets you restart your server in-game however your host must be able to restart your server from crashes for this to work.

How this works
- Type server_restart into console as superadmin to restart the server!
- A countdown will appear in chat, you can type server_restart again to cancel

Config
- Line 9 'ShouldCrashServer', default is true, when true it crashes the server at the end of the countdown
- Line 64 'OpenCrashMenu', default is false, set to true if you don't have a crash screen and want players to re-connect easily
- Line 65 'SecondsToReconnect', if the menu should open, how long to wait until re-connect

Thanks and I hope you find this useful. Please rate if you do!
7 条留言
ilovepancakes1012 2021 年 10 月 10 日 下午 6:01 
Config file*
ilovepancakes1012 2021 年 10 月 10 日 下午 6:01 
To config : download it via steam workshop downloader, put the zip and extract it into addons folder for the server, open it, open lua folder, open autorun folder, then thats the lua file.
DeceasedBrain (trueidiot_YT) 2021 年 2 月 16 日 下午 2:23 
how config
Teskocf 2018 年 8 月 2 日 下午 12:30 
LeadKiller you're not alone ma friend :D
Lead 2017 年 11 月 1 日 下午 10:26 
doesn't work on linux server, makes me cry that it doesn't
Ulysses 2017 年 2 月 28 日 下午 2:09 
It would be better if it could run rcon, then just make it run "restart" from rcon after the countdown. I'm no good at coding, but I will try it anyway.
Ulysses 2017 年 2 月 26 日 下午 9:51 
Will install on server