Auto Map Restart
A simple SourceMod plugin that restarts a map after a certain amount of time. While this was submitted under CS:S, it should work for most Source Engine games that support SourceMod!
A simple plugin for SourceMod that restarts the map or server (if configured properly) after the time limit is reached and the server is reported as empty (not including bots).
From the testing I've performed, the plugin will still trigger even when the server is hibernating.
x.x.x.x:27005: password failed.
Client "[LBG] Christian" connected (x.x.x.x:27005).
Server waking up from hibernation
Game will not start until both teams have players.
Game will not start until both teams have players.
Going to intermission...
Dropped [LBG] Christian from server (Disconnect by user.)
Server is hibernating
L 06/13/2022 - 00:01:41: [map_restart.smx] [MR] Found time to trigger map/server restart.
---- Host_Changelevel ----
find L 06/13/2022 - 00:01:42: -------- Mapchange to de_dust2 --------
ConVarRef room_type doesn't point to an existing ConVar
ConVars
Here is a list of the plugin's ConVars along with their descriptions and default values.
// This file was auto-generated by SourceMod (v1.10.0.6537)
// ConVars for plugin "map_restart.smx"
// How often to check if we need to restart the map in seconds.
// -
// Default: "10.0"
sm_mr_check_interval "10.0"
// Whether to log when a map/server restart is triggered.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mr_log "1"
// Whether to restart map when the server is reported as empty.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mr_restart_on_empty "1"
// 0 = uses 'changelevel' command. 1 = executes 'quit' command.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mr_restart_type "0"
安装说明
Build the source file (the .sp file) and afterwards, drag the .smx file into the server's sourcemod/plugins directory.
Afterwards, you may execute sm plugins reload map_restart or restart the server to load the plugin!
互动趋势
Auto Map Restart 是一个 Counter-Strike: Source 模组。它拥有 0 次下载、3 次浏览、0 次收藏和 1 个发布版本。 此条目属于 4 个标签。
评价
登录后即可发表评价。
评论 (0)
登录后即可评论。