View Single Post
Author Message
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 11-23-2011 , 06:46   [ANY] Advanced Voice Channel Manager V2.4 (Last Updated 16-Apr-2012)
Reply With Quote #1

Plugins description:
This plugins creates ingame voice channels like Mumble/Teamspeak.
It's based on SideX's sourcecode, but high advanced.
There are different channel modes included, like team/public/private/admin channels.
An kick/invite/save system is also provided.
Check default plugin config to introduce yourself to it's features.

Commands:
sm_vc <-> Channel choose menu
sm_vci <-> Invite someone into your channel
sm_vck <-> Kick players out of your channel (admins only)
sm_vcl <-> list channels (with channel passwords if admin)

Install description:

extract voice_mgr_v2.4.zip into your server

Changelog:
Code:
v2.0
- Public Release

v2.1
- FIXED exec cvars correctly again
- FIXED default channel if "vc_store_channel 1"
- ADDED cvar "vc_hud_update_interval" to control HUD update interval 
- ADDED cvar setting "vc_invite_public_only 2"
- ADDED cvar setting "vc_hud_show_team 2"
- ADDED some comments

v2.2
- IMPROVED Refresh of "ListenOverride"
- ADDED channel "hud" key

v2.3
- ADDED announcer channel support
- IMPROVED channel "hud" key

v2.4
- FIXED bug "Invalid memory access"


Plugin Config:
(cfg/sourcemod/voice_channel_manager_v2.cfg is auto-created)
PHP Code:
// This file was auto-generated by SourceMod (v1.4.0)
// ConVars for plugin "voice_channel_manager_v2.smx"


// Can Admins join private channels without password? (0=disable; 1=enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_admin_ingore_channel_pw "1"

// Only change if you like to create an announcer channel channel (-1=no announcer channel)
// -
// Default: "-1"
vc_announcer_channel_id "-1"

// Additional to vc_announcer_channel_id (0=speak to all; 1=speak to all and mute everyone else; 2=speak to all and listen all)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
vc_announcer_mode "0"

// Enable Advanced Voice Channel Manager (0=disable; 1=enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_enable "1"

// Enable channel HUD (0=disable; 1=enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_hud_enable "1"

// Show !vc? (0 = disable; 1=ever; 2=only public channel)
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "2.000000"
vc_hud_show_channel_cmd "2"

// Show !vci? (0=disable; 1=ever; 2=only if public channel is not empty)
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "2.000000"
vc_hud_show_invite_cmd "2"

// Show invites left (0=disable; 1=enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_hud_show_invites "1"

// Show count of online players in channel (0=disable; 1=enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_hud_show_player_count "1"

// List all channels if current channel is default channel (0=disable; 1=only not empty 2=all channels)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
vc_hud_show_public_all "1"

// Show yourself listed (0=disable; 1=enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_hud_show_self "1"

// Show [ALIVE] & [DEAD] behind name (0=disable; 1=enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_hud_show_status "1"

// Show team tags in front of name (0=disable; 1=all channels 2=only team channels
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
vc_hud_show_team "1"

// Status tag for alive players
// -
// Default: " [ALIVE]"
vc_hud_status_tag_alive " [ALIVE]"

// Status tag for dead players
// -
// Default: " [DEAD]"
vc_hud_status_tag_dead " [DEAD]"

// Update interval of channel HUD
// -
// Default: "1.0"
// Minimum: "0.500000"
vc_hud_update_interval "1.0"

// Only admins can use invite command (0=disable; 1=enable)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_invite_admin_only "0"

// Can non-admins invite admins? (0=disable; 1=enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_invite_admins "1"

// Enable invite cmd (0=disable; 1=enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_invite_enable "1"

// Max. invites per map for non-admins (0=unl.)
// -
// Default: "3"
// Minimum: "0.000000"
vc_invite_max "3"

// Only invite player if they are in default channel (0=all channels; 1=only default channel; 2=all public channels)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
vc_invite_public_only "1"

// Only change if you like to change default channel (-1=first public channel)
// -
// Default: "-1"
vc_public_channel_id "-1"

// Show channel transfer msg if client connected (0=disable; 1=enable)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_show_incoming "0"

// Rememberlast channel if a client switch channel? (0=disable; 1=enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
vc_store_channel "1"

// Team tag for team 1/Spectator
// -
// Default: "[SPEC] "
vc_team_tag_1 "[SPEC] "

// Team tag for team 2/Red/T
// -
// Default: "[RED] "
vc_team_tag_2 "[RED] "

// Team tag for team 3/Blue/CT
// -
// Default: "[BLU] "
vc_team_tag_3 "[BLU] "

// VoiceMgr Version
// -
// Default: "2.4"
vc_version "2.4" 


Channel Config:
(addons/sourcemod/configs/voicemgr.channels.cfg)
PHP Code:
"Channels"
{
"Public Lobby" // ID:0
{
"mode" "public"
}
"Public I" // ID:1
{
"mode" "public"
"hud" "3" 
// spectator list
}
"Public II" // ID:2
{
"mode" "public"
"teams" "1" 
// seperate teams
"hud" "1"
}
"Private - VIP" // ID:3
{
"mode" "private"
"password" "1337"
"hud" "1" 
// player channel list
}
"Admins" // ID:4
{
"mode" "admins"
"flag" "slay" 
// required admin flag
"hud" "1"
}
"Announcer" // ID:5
{
//need vc_announcer_channel_id "5"
"mode" "admins"
"flag" "ban"
"hud" "2" 
// every channel with player channel list
}


Last edited by asherkin; 01-14-2015 at 19:52.
zipcore is offline