View Single Post
Author Message
Nicolous
Junior Member
Join Date: May 2005
Location: Reims (France)
Old 07-10-2007 , 10:17   AutoChangeLevel v1.1
Reply With Quote #1

Description :
Change the level if there are less than 2 players on the server.

Installation :
- Place the AutoChangeLevel.smx file inside of the addons/sourcemod/plugins/ folder.
- Place the plugin.AutoChangeLevel.cfg file inside of the cfg/sourcemod/ folder. It will be automatically excuted

Cvars :
* autochangelevel_clientscount_limite
Number of players in lower part (and from) of which a changelevel is considered.

* autochangelevel_exclude_bots
If the plugin count the bot when it determinates if there are lessthan 2 players on the server.
1 = bots are not counted
0 = bots are counted

* autochangelevel_time_before_changelevel
Time (in minutes) before changelevel (0 = off)

* autochangelevel_type_changelevel
Type of changelevel.
0 = nextmap (mapcyclefile)
1 = current map ("reset" timeleft)
2 = map provided by acl_type_2_map ConVar

* autochangelevel_type_2_map
If acl_type_changelevel is 2 ! Map loaded at the auto-changelevel.

--------------------
Update 1.1 :
* add autochangelevel_clientscount_limite cvar (see description)
Attached Files
File Type: cfg plugin.AutoChangeLevel.cfg (639 Bytes, 2058 views)
File Type: sp Get Plugin or Get Source (AutoChangeLevel.sp - 3877 views - 4.1 KB)
__________________

Last edited by Nicolous; 07-22-2007 at 08:26. Reason: Update 1.1
Nicolous is offline