Raised This Month: $51 Target: $400
 12% 

[TF2] Simple Team Manager


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Antithasys
Moderator
Join Date: Apr 2008
Plugin ID:
630
Plugin Version:
1.0.1
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Manages players and their teams
    Unapprover:
    Reason for Unapproving:
    requested
    Old 11-13-2008 , 20:43   [TF2] Simple Team Manager
    Reply With Quote #1

    Simple Team Manager

    This plugin is no longer supported. Please see the new thread for the new version of Simple Team Manager

    Description:

    Manages players and their teams in TF2.

    Features:
    • Admin flags can be set in simpleteammanager.cfg
    • Admin menu integration
    • Players with specified flag can swap their team
    • Players with specified flag can swap players team and force them to stay there
    • Players with specified flag can scramble the teams
    • All players can vote for a team scramble
    • Works with Simple Team Balancer
    Commands:
    • swapteam <[1]ondeath/[0]instant> - Swaps your current team
    • moveplayer <name/#userid> <team[number/name]> <[0]instant/[1]ondeath> <[0]unforced/[1]forced> - Moves a players to specified team
    • scrambleteams - Scrambles the teams
    • votescramble - Creates a vote to scramble the teams
    Defines:
    • #define USE_STB - Default is 0 or not to work with Simple Team Balancer. This is done so it will compile on the forums. If you use STB you should set this to 1 and compile yourself or download the compiled version.
    Console Variables:
    • stm_enabled - Enable or Disable Simple Team Manager
    • stm_logactivity - Enable or Disable the displaying of events in the log
    • stm_adminflag_swapteam - Admin flag to use for command
    • stm_adminflag_moveplayer - Admin flag to use for command
    • stm_adminflag_scramble - Admin flag to use for command
    • stm_scrambledelay - Delay to scramble teams once a scramble is called for
    • stm_voteenabled - Enable voting for a scramble
    • stm_votewin - Win percentage
    • stm_votedelay - Delay before another vote can be called
    A simpleteammanager.cfg file will be made when first ran. It will be located in /cfgs/sourcemod


    Installation:
    Place the simpleteammanager.smx in the /sourcemod/plugins dir.
    Place the simpleteammanager.phrases.txt in the /sourcemod/translations dir.
    Changelog:

    Quote:
    1.0.1
    Fixed incorrectly respawning the wrong player

    1.0.0
    Created #define for use with STB. Default is 0 (or not to work with STB)
    --You can set this to 1 and compile yourself. It's set to 0 so it will compile on forums.
    --If you have STB installed, you should run with set to 1 otherwise you will have issues with the balancer
    Added moveplayer command to move a player to any team
    Allowed moveplayer command to be ran from console
    Rearranged moveplayer menu to place forced arg at end
    Respawned players after a move or swap
    Made forced arg reliant on the precense of STB
    Depreciated swapplayer command
    Added option to scramble teams at round end
    --This will scramble the teams 1 second before the end of mp_bonusroundtime
    --This will not scramble if the time left in the map is less than 60 seconds it will not run
    Fixed scramble code moving spectators, unassigned players, and fake clients
    Fixed enabled cvar not disabling the respective commands

    0.9.0
    Initial Release

    For additional change logs refer to the source code.
    Future Updates:

    Looking for additional translations! If you have or can translate the phrases, please do and post with the new translations. I will add them to the file and certainly credit you.

    French - by Vader_666
    Hungarian - by KhyrOO

    -Add log activity

    Notes:

    You do not have to have Simple Team Balancer installed, this will just work with it if it is installed. I have posted a compiled version in 1.1 for you to download. The version that compiles on the forums is set to NOT work with Simple Team Balancer so it will compile on the forums. If you use Simple Team Balancer you should set the #define to 1 or download the compiled version.

    This plugin is no longer supported. Please see the new thread for the new version of Simple Team Manager
    Attached Files
    File Type: txt simpleteammanager.phrases.txt (2.7 KB, 1046 views)
    File Type: sp Get Plugin or Get Source (simpleteammanager.sp - 2232 views - 27.4 KB)
    File Type: smx simpleteammanager.smx (15.3 KB, 895 views)

    Last edited by Antithasys; 07-26-2009 at 18:54.
    Antithasys is offline
     



    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 11:34.


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