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

Connect Spectate (Auto Spectator, a War Server must have)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Plugin ID:
1070
Plugin Version:
3.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    This plugin sends everyone into spectate on connect. Adds the !jointeam chat trigger with menu support.
    Old 08-06-2009 , 19:31   Connect Spectate (Auto Spectator, a War Server must have)
    Reply With Quote #1

    Connect Spectate
    Don't connect and spawn, look and ask around first!



    Description:
    This plugin sends everyone into the spectator team after they connected.
    Type "!jointeam [teamnumber]" into the chat to join a team or leave [teamnumber] blank to get a menu.
    Ragdolls are removed when a player dies because he changed a team.
    This plugin may not fully work with special teams like in L4D or L4D2.
    Requirements:
    • SourceMod 1.3 or higher.
    Changelog:
    • 2012-08-23 - v3.1
      • Removed hl2dm deathmatch support (still should work with team death match)
      • Added cvar connectspectate_playerlimit setting it to 4 will block players joining a match with more than 4 players (example: 2 players TERRORISTS, 2 players CT)
    • 2012-08-22 - v3.0
      • Rewritten most parts of the plugin to work with the latest pluginmanager (can be found as feature in smlib on github.com - is also in the .zip included)
    • 2011-02-08 - v2.10.22
      • Fixed problems with +1 score and -1 death.
      • Added compatibility for fix_hl2dm_teamscore plugin.
    • 2011-01-18 - v2.8.20
      • Added: +1 score and -1 death on scoreboard when joining into the game to prevent -1 score and 1 death.
    • 2011-01-17 - v2.7.20
      • Fixed problem where jointeam would sometimes move you into the red team (rebels, terrorists, etc.)
      • Fixed the removed dalay, when a player is in spectator and wants to join the game.
    • 2011-01-16 - v2.7.18
      • Fixed issue with mp_forcerespawn.
      • Fixed wrong team names in teamplay 0 (its not rebels, combine but unassigned!
      • Removed delay when a player is in spectator and wants to join the game.
    • 2011-01-15 - v2.6.14
      • Fixed issue were weapons stay after team change.
      • Fixed problems with mp_teamplay 0 in hl2dm
    • 2011-01-13 - v2.5.12
      • Added 5 second delay to avoid abusing the jointeam command. Thank you Maxtasy for posting the issue.
      • Added chat message, when a player is changing team.
      • Added chat message, when a player is already in that team he selected.
    • v2.4.8
      • Fixed looping the jointeam command which caused kac (if installed) to kick players.
      • HL2DM: Fixed the problem with mp_teamplay 0.
      • Added team "Spectator" within the team menu.
    • v2.2.4
      • Complete recode with smlib
    • v1.0.0
      • Public release
    Installation:
    • Just drop the content of the zip into your mod dir (ex: cstrike,hl2mp,...).
    Configuration Helper:
    The following can be changed in <moddir>/cfg/sourcemod/connectspectate.cfg
    PHP Code:
    // Defines when to show the menu, 0=never, 1=when a wrong team index was entered, 2=on connect, 3=1+2 means the menu shows when entered a wrong team index and on connect
    // -
    // Default: "3"
    // Minimum: "0.000000"
    connectspectate_display "3"

    // Enables or disables this plugin
    // -
    // Default: "1"
    connectspectate_enable "1"

    // Only send players into spectate if there are already playing more players than this value
    // -
    // Default: "2"
    // Minimum: "0.000000"
    connectspectate_playertrigger "2" 
    Important information:
    • BE SURE TO OVERRIDE THE OLD CONFIG FILE (connectspectate.cfg in your <moddir>/cfg/sorucemod/ folder)!
    • Updating to v3.0 and higher, delete plugin.connectspectate.cfg in your <moddir>/cfg/sorucemod/ folder.
    Download:
    The provided connectspectate.cfg file is configured to enable this plugin by default and only is activated if there are more than 2 players on the server.

    connectspectate.zip is always the latest version of this plugin. Older versions are attached with their version number.
    Attached Files
    File Type: zip connectcpectate-v2.10.22.zip (66.8 KB, 493 views)
    File Type: zip connectcpectate.zip (94.6 KB, 549 views)
    __________________
    [ SourceModPlugins.org ][ My Plugins ]

    Thank you for donations: [ Paypal ]

    Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]

    Last edited by Chanz; 08-23-2012 at 14:16.
    Chanz is offline
    toString
    Senior Member
    Join Date: Jun 2009
    Old 08-07-2009 , 09:50   Re: Connect Spectate
    Reply With Quote #2

    Would it be possible for you, or someone, to create another plugin based on this that allows TF2 users auto-team-join? In an aid to prevent stacking?
    toString is offline
    Thrawn2
    Veteran Member
    Join Date: Apr 2009
    Old 08-07-2009 , 09:54   Re: Connect Spectate
    Reply With Quote #3

    Quote:
    Would it be possible for you, or someone, to create another plugin based on this that allows TF2 users auto-team-join? In an aid to prevent stacking?
    like this?
    http://forums.alliedmods.net/showpos...3&postcount=13
    Thrawn2 is offline
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 08-07-2009 , 18:54   Re: Connect Spectate
    Reply With Quote #4

    Quote:
    Originally Posted by toString View Post
    Would it be possible for you, or someone, to create another plugin based on this that allows TF2 users auto-team-join? In an aid to prevent stacking?
    this is not the purpose for my plugin its right the opposite. ^^

    it prevents players joining a team when they connect and shows them a menu...
    Chanz is offline
    GAVVVR
    Member
    Join Date: May 2010
    Old 12-19-2010 , 22:12   Re: Connect Spectate
    Reply With Quote #5

    Chanz, can u make it to work on hl2dm servers?
    GAVVVR is offline
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 12-21-2010 , 08:53   Re: Connect Spectate
    Reply With Quote #6

    jup, give me a day.
    __________________
    [ SourceModPlugins.org ][ My Plugins ]

    Thank you for donations: [ Paypal ]

    Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
    Chanz is offline
    GAVVVR
    Member
    Join Date: May 2010
    Old 12-25-2010 , 15:45   Re: Connect Spectate
    Reply With Quote #7

    All hl2dm-community is waiting for this plug-in
    GAVVVR is offline
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 12-26-2010 , 06:21   Re: Connect Spectate
    Reply With Quote #8

    updated to 2.2.4
    see frist post for changelog.
    __________________
    [ SourceModPlugins.org ][ My Plugins ]

    Thank you for donations: [ Paypal ]

    Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
    Chanz is offline
    GAVVVR
    Member
    Join Date: May 2010
    Old 12-26-2010 , 15:10   Re: Connect Spectate
    Reply With Quote #9

    Wrong dir name for phrases file. translations is correct
    still doesn't work on my hl2dm server. It loads normally but don't perform it's functions

    Last edited by GAVVVR; 12-26-2010 at 15:30.
    GAVVVR is offline
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 12-26-2010 , 19:19   Re: Connect Spectate
    Reply With Quote #10

    sry for the wrong dir name, reuploaded the zip file with the right dir name, for easy drag & drop install.

    GAVVVR, can look for any error messages and be sure to overwrite the config file (plugin.connectspectate.cfg) within your cfg/sourcemod folder.

    For me this plugin works without any problems on my hl2dm server, can you test the plugin on another server?
    __________________
    [ SourceModPlugins.org ][ My Plugins ]

    Thank you for donations: [ Paypal ]

    Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
    Chanz 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 07:41.


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