View Single Post
Author Message
Teki
Junior Member
Join Date: Oct 2010
Location: France
Old 11-01-2012 , 22:30   [ANY] Quick Map Rotation
Reply With Quote #1

Description :
This plugin will change map every X minutes when there is not enough real players on the server.
It can also run an alternate mapcycle on empty server.
Only tested with CS:GO, but this should work with any other mods (told me if not !).

CVARs :
sm_qmr_version - Version of Quick Map Rotation. Current: 0.4
sm_qmr_enable - (1)Enable or (0)Disable Quick Map Rotation. Default: 1
sm_qmr_timelimit - Time in minutes before changing map when no one is on the server. Default: 10
sm_qmr_player_quota - Number of players needed to cancel anticipated change map. Default: 1
sm_qmr_mapcycle_enabled - (1)Enable or (0)Disable managed mapcycle on empty server. Default: 0
sm_qmr_mapcycle - List of maps delimited by comas.

Example :
sm_qmr_timelimit 15
sm_qmr_player_quota 2
sm_qmr_mapcycle_enabled 1
sm_qmr_mapcycle "de_dust2,de_nuke"


Changelog :
v0.1 - First release
v0.2 - Fixed timer issues, added a check for players just before change map.
v0.3 - Added a cvar to set a mapcycle to run on empty server and a cvar to enable this functionality
v0.4 - Fix wrong changemap message when managed mapcycle is disabled.


Download v0.4:
Attached Files
File Type: sp Get Plugin or Get Source (quick_map_rotate.sp - 1945 views - 5.9 KB)
__________________
"There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy."

William Shakespeare, The Tragical history of Hamlet

Last edited by Teki; 11-09-2012 at 11:31. Reason: Plugin Update
Teki is offline