Raised This Month: $68 Target: $400
 17% 

SetMaxPlayers


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Afronanny
Veteran Member
Join Date: Aug 2009
Plugin ID:
2059
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows you to set maxplayers while the server is running
    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 - 2889 views - 803 Bytes)
    File Type: txt maxplayers.txt (224 Bytes, 1776 views)

    Last edited by Afronanny; 11-20-2010 at 15:48.
    Afronanny is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 11-06-2010 , 21:35   Re: Dynamic MaxPlayers
    Reply With Quote #2

    <in before hundreds of kiddies get their servers disabled by GSPs>, but nice plugin. Could certainly be useful
    __________________
    thetwistedpanda is offline
    -{BAM}-DeadBodyMan
    SourceMod Donor
    Join Date: Aug 2008
    Old 11-07-2010 , 00:25   Re: Dynamic MaxPlayers
    Reply With Quote #3

    Did you think about changing the name of it so when and if they do try to look for the problem it wouldn't stand out?

    Edit: Remember if this is going to be used don't forget to change the number back to what is should be before filling out a support ticket.
    __________________

    Last edited by -{BAM}-DeadBodyMan; 11-07-2010 at 00:27.
    -{BAM}-DeadBodyMan is offline
    amohanlall32
    SourceMod Donor
    Join Date: Sep 2009
    Location: Female
    Old 11-12-2010 , 19:07   Re: Dynamic MaxPlayers
    Reply With Quote #4

    So this will only set the max players to the new amount until the server restarts right?
    __________________
    amohanlall32 is offline
    Afronanny
    Veteran Member
    Join Date: Aug 2009
    Old 11-14-2010 , 10:57   Re: Dynamic MaxPlayers
    Reply With Quote #5

    Quote:
    Originally Posted by amohanlall32 View Post
    So this will only set the max players to the new amount until the server restarts right?
    Correct.
    Afronanny is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 11-14-2010 , 14:57   Re: Dynamic MaxPlayers
    Reply With Quote #6

    most shortest plugin that I've ever seen.
    __________________
    Leonardo is offline
    Matheus28
    Senior Member
    Join Date: Aug 2009
    Old 11-14-2010 , 17:18   Re: Dynamic MaxPlayers
    Reply With Quote #7

    Quote:
    Originally Posted by Leonardo View Post
    most shortest plugin that I've ever seen.
    A blank file is a valid plugin :p
    Matheus28 is offline
    Afronanny
    Veteran Member
    Join Date: Aug 2009
    Old 11-14-2010 , 23:00   Re: Dynamic MaxPlayers
    Reply With Quote #8

    Quote:
    Originally Posted by Matheus28 View Post
    A blank file is a valid plugin :p
    So long as it compiles without warnings and runs without errors...
    Afronanny is offline
    Matheus28
    Senior Member
    Join Date: Aug 2009
    Old 11-15-2010 , 00:04   Re: Dynamic MaxPlayers
    Reply With Quote #9

    Quote:
    Originally Posted by Afronanny View Post
    So long as it compiles without warnings and runs without errors...
    I compiled it, but I didn't test it. It should work.
    Matheus28 is offline
    Samantha
    SourceMod Donor
    Join Date: Feb 2010
    Location: Madagascar
    Old 11-16-2010 , 20:31   Re: Dynamic MaxPlayers
    Reply With Quote #10

    Doesn't work in hl2dm, crashes if it goes above the limit that it started with. so starts with 14 upped to 16, 15th player join and it crashes.
    __________________
    "I give sopport and knolage in making extractions"
    "MASTER(D) - dun0: are you mocing me?" -Master the grate

    Plugins
    Godmode Until Attack | No Block Team Filter
    Extensions
    Rcon Hooks
    Samantha is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 02:28.


    Powered by vBulletin®
    Copyright ©2000 - 2019, vBulletin Solutions, Inc.
    Theme made by Freecode