View Single Post
Author Message
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 08-23-2008 , 01:40   Voice Join v2.0 (ep1 only) [Teamspeak 2/3, Ventrilo, Mumble] (Updated 25.01.2010)
Reply With Quote #1


Note: This plugin doesn't work anymore on orange box games (CS:S, Hl2M, TF2, ...),
but it should still work on all EP1 Games (a few Source-Mods still are EP1).

Description:

Adds commands for connecting to different voice servers from ingame with a simple command. Preconfigured support for Teamspeak3, Teamspeak2, Ventrilo & Mumble. High dynamic configuration file for adding more voiceservers and individual settings. Allows admins to force players into a voiceserver.


Features:
  • Allows players to join your voiceserver from ingame with a simple command
  • Preconfigured support for TS3, TS2, Ventrilo & Mumble
  • High dynamic configuration file for customization and adding other voiceservers
  • Per User configuration for individual logins & channels
  • Team based channel support
  • Translations supported
  • Admin can force players into voiceservers
  • Multi Targets supported

Requirements:
  • Game with HTML Motd enabled
Installing:
  1. Simple extract the contents of the attached zip file into your server's game directory (where the addons/ dir is also located)
  2. Configure servers.cfg, enable the voiceserver(s) you want your players to be able to connect to and set the host, port, and channel(s).
Updating:
  1. Delete the config files in case there got something changed with a new update
  2. Follow the Installation Instructions above

Standard preconfigured commands:

!teamspeak [<target>] (Teamspeak 3)
!ts [<target>] (Teamspeak 3)
!teamspeak2 [<target>] (Teamspeak 2)
!ts2 [<target>] (Teamspeak 2)
!ventrilo [<target>] (Ventrilo)
!vent [<target>] (Ventrilo)
!mumble [<target>] (Mumble)
!mum [<target>] (Mumble)

Allows the player to join a configured voiceserver (see servers.cfg).
Admins with the Chat Admin flag also have the ability to force players into a voiceserver.
The player needs to have the software installed, this has no autoinstaller

Required Admin Flag to force other players into a voiceserver: Chat

Settable ConVars:

ts_printjoins - Enable/disable teamspeak join messages <1/0>
Default: 1

Configuration files

addons/sourcemod/configs/voicejoin/servers.cfg (Configuration for the voiceserver and channel settings)
addons/sourcemod/configs/voicejoin/users.cfg (Per user configuration based on SteamIDs)
cfg/sourcemod/plugin.voicejoin.cfg (auto generated cvar config OnPluginStart)

How to configure team specific channels

Take a look at the teams part in your favorite voiceserver in servers.cfg.
You can add any teams there, either by team index, part of team name, or full team name

Example:


Code:
"teams"
{
       "Terrorists"
       {
                "channel"        "Counter-Strike: Source/Terrorists"
                "channelpassword"    "gamingrulez"
       }

       "Counter"
       {
                "channel"        "Counter-Strike: Source/Counter Terrorists"
                "channelpassword"    ""
       }

       "1" // Spectator
       {
                "channel"        "Counterstrike Source"
                "channelpassword"    ""
       }
}


FAQ (Frequently asked Questions)


  • When I try to join Ventrilo there pops up an error, saying "Application not found"
This seems to be an error with Ventmix. Try to either install Ventrilo standalone, or see below.

Registry fix: http://forums.alliedmods.net/showpos...&postcount=138

  • How do I specify subchannels in the settings ?
Teamspeak 3 & Mumble:

Append subchannels with a / to the channel value.
Example: "channel" "mainchannel/subchannel/subsubchannel/subsubsubchannel"

Teamspeak 2:

Append &subchannel=yoursubchannel to the channel value.
Example: "channel" "Gaming&subchannel=Tetris"

Ventrilo:

Ventrilo doesn't seem to support connecting to subchannels (See: Ventrilo/Setup/Web_Links).


Changelog

Date: 25.01.2010
Version: 2.0
  • Added ability to configure the voiceservers yourself and add new voiceserver configurations (servers.cfg)
  • Added Teamspeak 3 support
  • Added Mumble support
  • Added userlogins for special players, configured by steamid in users.cfg, supports individual login, passwort, channel, channelpassword
  • Added Team based channel joining, can be configued in server.cfg, by team index, part of team name and full team name
  • Rewrote the disallowedclientnamechars part, should work without problems now
  • Added URL encoding for special characters
  • Added Translations
  • Rewrote almost everything and fixed allot of things
Date: 26.08.2008
Version: 1.2
  • Added ventrilo support (Thanks to the_reverend)
Date: 26.08.2008
Version: 1.1
  • Removed debug message on join
  • Added display ts joins in green text in the serverchat
  • Added Convar for setting join messages on/off
Date: 24.08.2008
Version: 1.0.2
  • Fixed not working disallowed-characters replacement
Date: 24.08.2008
Version: 1.0.1
  • Fixed hardcoded server address
Date: 23.08.2008
Version: 1.0
  • Initial release
Attached Files
File Type: zip release_voicejoin_v2.0.zip (20.1 KB, 4688 views)
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0

Last edited by berni; 01-03-2011 at 02:59.
berni is offline