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"
Instalación
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!
Interacción a lo largo del tiempo
Auto Map Restart es un mod para Counter-Strike: Source. Tiene 0 descargas, 3 visitas, 0 favoritos y 1 versión. Este elemento pertenece a 4 etiquetas.
Reseñas
Inicia sesión para dejar una reseña.
Comentarios (0)
Inicia sesión para comentar.