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

Team Join Control


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dalto
Veteran Member
Join Date: Jul 2007
Plugin ID:
147
Plugin Version:
1.2
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    24 
    Plugin Description:
    This plugin forces you to autojoin instead of selecting a team when joining.
    Old 08-20-2007 , 22:04   Team Join Control
    Reply With Quote #1

    Team Join Control

    Current Version: 1.2

    Description:
    This plugin forces you to select auto join instead of selecting a team when joining. You are also allowed to join the spectators. It supports both Counter-Strike:Source and Day of Defeat:Source. It also supports locking players into teams and "forcing" them into teams.

    Planned Features:
    • None, make a request!
    CVar's:
    sm_team_join_control_version: The version number
    sm_team_join_control_enable: Set to 1 to enable the plugin
    sm_team_join_control_admin_immunity Set to 1 if you want you admins to be immune
    sm_team_join_control_lock_teams Set to 1 if you want to force each player to stay in the teams assigned
    sm_team_join_control_lock_time The number of minutes after disconnect before the team lock expires after disconnect
    sm_team_join_control_force_join: Set to 1 if you want the player to be autojoined regardless of what they select
    sm_team_join_control_stop_spec: Set to 1 if you don't want players who have already joined a team to be able to switch to spectator
    sm_team_join_control_sound_name: The name of the sound to play when an action is denied

    Changelog:

    1.2: Added spec control, sound, enable cvar
    1.1: Admin Immunity, Team Locking, Forced Joining
    1.0: Initial Release
    Attached Files
    File Type: zip teamjoincontrol1.2.zip (9.7 KB, 4791 views)
    File Type: sp Get Plugin or Get Source (teamjoincontrol.sp - 5300 views - 8.6 KB)

    Last edited by dalto; 09-01-2007 at 17:50. Reason: New Release
    dalto is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-20-2007 , 22:07   Re: Auto Join Control
    Reply With Quote #2

    I was originally building this functionality for my CS:S team balancer but decided it was useful on its own.

    It currently only controls joins from spectators or unassigned players. I can make control joins at other times as well if that would be helpful.

    NOTE: The CS:S Team Balance plugin has similar features which can conflict if you try to use them together.

    Last edited by dalto; 08-22-2007 at 01:01.
    dalto is offline
    Rebell
    Veteran Member
    Join Date: Nov 2004
    Location: GERMANY
    Old 08-21-2007 , 02:05   Re: Team Join Control
    Reply With Quote #3

    Usefull plugin ! Btw: how many plugins will you do ?

    cya
    __________________
    Rebell is offline
    tcviper
    Veteran Member
    Join Date: Oct 2005
    Location: Netherlands
    Old 08-21-2007 , 05:21   Re: Team Join Control
    Reply With Quote #4

    Dalto FTW!
    __________________
    tcviper is offline
    Send a message via MSN to tcviper
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 08-21-2007 , 05:56   Re: Team Join Control
    Reply With Quote #5

    Can you please add an immunity flag?
    __________________
    Extreme_One is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-21-2007 , 10:05   Re: Team Join Control
    Reply With Quote #6

    Quote:
    Originally Posted by Extreme_One View Post
    Can you please add an immunity flag?
    Good idea, I will add that today.

    Quote:
    Originally Posted by Rebell View Post
    Usefull plugin ! Btw: how many plugins will you do ?

    cya
    I think I have at least a few more in me.

    Last edited by dalto; 08-21-2007 at 10:07.
    dalto is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 08-21-2007 , 13:09   Re: Team Join Control
    Reply With Quote #7

    May I suggest the following?

    Upon the "jointeam" command do to the first person to do it in the map a randint 0/1 if 0 then T if 1 then CT (or vice versa), after that alternate. (Forcing the team, not just the menu). Then store the person's team, so if they go spectator, and try to change team, it forces themselves back onto the team they were on.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-21-2007 , 13:17   Re: Team Join Control
    Reply With Quote #8

    Quote:
    Originally Posted by FlyingMongoose View Post
    May I suggest the following?

    Upon the "jointeam" command do to the first person to do it in the map a randint 0/1 if 0 then T if 1 then CT (or vice versa), after that alternate. (Forcing the team, not just the menu). Then store the person's team, so if they go spectator, and try to change team, it forces themselves back onto the team they were on.
    I am doing something like this in the CS:S Team Balancer. Except instead of being random and locking it looks at existing team sizes and win/loss conditions. Essentially it stops people from joining the winning team unless it is smaller.

    I could add something similiar to the DOD:S Balancer if anyone would like.

    I could add something to this plugin that optionally forces the team to be locked for the duration of your session if that would be useful.
    dalto is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 08-21-2007 , 15:24   Re: Team Join Control
    Reply With Quote #9

    Yeah, do the same for dods balancer, but make sure to provide a cvar to disable it.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-21-2007 , 15:58   Re: Team Join Control
    Reply With Quote #10

    Quote:
    Originally Posted by FlyingMongoose View Post
    Yeah, do the same for dods balancer, but make sure to provide a cvar to disable it.
    Will do.
    dalto 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 12:20.


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