I'm working on a extended version of your plugin.
It's customized for my CS:S Minigmaes server.
I will not add seperate country channels!
Public channel is the first channel in your config (id=0, if not set)
If you use team channel mode --> invite has to be disabled!
Commands:
!vc - Channel choose menu
!vci - Invite someone into your channel
!vck - Kick players out of your channel (admins only)
!vcs - set channel
!vcl - list channels (with channel passwords if admin)
V 1.1
- FIXED Private Channels
- ADDED german translation
V 1.2
- ADDED cvar to show all players with channel @ public channel
V 1.3
- FIXED hud bugs of v1.2
V1.4
- IMPROVED hud output
- ADDED cvar to allow admins ignore channel password
- ADDED cvar to set public chanel id
- RE-ADDED !vcs to set channels
- RE-ADDED !vcl to list channels (with passwords if admin)
PHP Code:
// Can Admins join private channels without password? (0=disable; 1=enable)
// -
// Default: "1"
vc_admin_ingore_channel_pw "1"
// Enable VoiceMgr (0=disable; 1=enable)
// -
// Default: "1"
vc_enable "1"
// Enable channel HUD (0=disable; 1=enable)
// -
// Default: "1"
vc_hud_enable "1"
// Show !vc? (0=disable; 1=ever; 2=only in public channel)
// -
// Default: "2"
vc_hud_show_channel_cmd "2"
// Show !vci? (0=disable; 1=ever; 2=only if public channel is not empty)
// -
// Default: "2"
vc_hud_show_invite_cmd "2"
// Show invites left (0=disable; 1=enable)
// -
// Default: "1"
vc_hud_show_invites "1"
// Show count of online players in channel (0=disable; 1=enable)
// -
// Default: "1"
vc_hud_show_player_count "1"
// Show channels channel list instead if current channel is public channel (0=disable; 1=only not empty 2=all channels [!only 254 chars can be displayed])
// -
// Default: "1"
vc_hud_show_public_all "1"
// Show yourself listed (0=disable; 1=enable)
// -
// Default: "1"
vc_hud_show_self "1"
// Show [ALIVE] & [DEAD] behind name (0=disable; 1=enable)
// -
// Default: "1"
vc_hud_show_status "1"
// Show team tags in front of name (0=disable; 1=enable)
// -
// Default: "1"
vc_hud_show_team "1"
// Enable invite cmd (0=disable; 1=enable)
// -
// Default: "1"
vc_intive_enable "1"
// Only admins can invite (0=disable; 1=enable)
// -
// Default: "0"
vc_invite_admin_only "0"
// Can non-admins invite admins? (0=disable; 1=enable)
// -
// Default: "1"
vc_invite_admins "1"
// Max. invites per map for non-admins (0=unl.)
// -
// Default: "3"
vc_invite_max "3"
// Only invite player if they are in public channel (0=disable; 1=enable)
// -
// Default: "1"
vc_invite_public_only "1"
// Id of your public channel
// -
// Default: "0"
vc_public_channel_id "0"
// Show channel transfer msg if client connected (0=disable; 1=enable)
// -
// Default: "0"
vc_show_incoming "0"
// Store last channel? (0=disable; 1=enable)
// -
// Default: "1"
vc_store_channel "1"
// VoiceMgr Version
// -
// Default: "1.4"
voicemgr_version "1.4"
Its only a beta code, please report bugs to me.
PLUGIN MOVED TO http://forums.alliedmods.net/showthread.php?t=172594
__________________