View Single Post
Author Message
ruifung
Junior Member
Join Date: Aug 2011
Old 08-20-2011 , 01:30   [ANY] Empty Server Map Change
Reply With Quote #1

Empty Server Map Changer
This plugin is used to force a map change after X number of minutes.
I use it to prevent one of my admins from leaving my server on itemtest.

This plugin is not written by me, I found it floating around the internet and decided to share it with the people here. I have modified the original plug-in
to run a check before changing maps. (Originally it does not check before changing maps).

CVARS
sm_esmc_minutesmapchange 30 - Number of minutes after which an empty server will do a map change.
sm_esmc_defaultmapname pl_hoodoo_final - Name of the map which will be loaded on a triggered map change. (Provided sm_esmc_mapchangemode is set to default)
sm_esmc_mapchangemode default - Sets the map changing mode. Possible values: [default|nextmap|off].
Possible Values:
default - changes to the map stored in sm_esmc_defaultmapname
nextmap - change to the map stored in nextmap
off - disables changing maps.

Credits
Marco 'MacNetron' de Reus for the original plugin.
Peace-Maker and Powerlord for helping me with my mistakes.
Attached Files
File Type: sp Get Plugin or Get Source (emptyservermapchange.sp - 1008 views - 10.1 KB)

Last edited by ruifung; 08-20-2011 at 07:51.
ruifung is offline