Thread: SetMaxPlayers
View Single Post
Author Message
Afronanny
Veteran Member
Join Date: Aug 2009
Old 11-06-2010 , 21:10   SetMaxPlayers
Reply With Quote #1

SetMaxPlayers

Dynamic MaxPlayers allows you to set the maxplayers while the server is running. It's simple, easy to use, and should work on any Orangeboxvalve game, but has only been confirmed to work with TF2. You cannot set the maxplayers higher than what the engine is capable of.

The command is:
Quote:
setmaxplayers <newmaxplayers>
Example:
Quote:
setmaxplayers 32
Installation:

Place setmaxplayers.smx into addons/sourcemod/plugins
Place maxplayers.txt into addons/sourcemod/gamedata


Have fun.

NOTE: I'm not responsible if your GSP decides they don't like this and shuts you down. It's your decision to use it, so it's on you if you get caught and shut down.


Attached Files
File Type: sp Get Plugin or Get Source (setmaxplayers.sp - 3709 views - 803 Bytes)
File Type: txt maxplayers.txt (224 Bytes, 2193 views)

Last edited by Afronanny; 11-20-2010 at 15:48.
Afronanny is offline