Raised This Month: $193 Target: $400
 48% 

Voices Management v1.0.2 (04/19/08)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        Approver:   Hawk552 (427)
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-26-2008 , 12:21   Voices Management v1.0.2 (04/19/08)
Reply With Quote #1

Voices Management




.: Description :.


This plugin is a replacement for a lot of voicecom plugins :

-Replacement of sv_alltalk cvar with 2 cvars that manage who alive/dead players can hear.
-Ability for admins to speak while all other players are muted
-Ability for admins to speak to admins only
-Ability for admins to hear everyones to prevent players from insulting other players
-Ability for admins to mute players

All of this without changing players settings (muted players via playerlist, voice_modeenable 0)



.: Cvars :.

  • vm_alives < 0|1|2 >
    Alive players hear : 0:alive teamates - 1:alive players - 2:all players(def: 1)
  • vm_deads < 0|1|2 >
    Dead players hear : 0:dead teamates - 1:dead players - 2:all players(def: 2)



.: Commands :.

  • +adminvoice
    As an admin, you will talk to all players and all players will be muted
  • +interadminvoice
    As an admin, you will talk to all other admins, players won't be able to hear you
  • +adminlisten
    As an admin, you will hear all players
  • toggle_adminlisten
    Toggle adminlisten feature
  • amx_mute <name/#userid>
    Mute a player untill the map change
  • amx_unmute <name/#userid>
    Unmute a player
  • say(_team) /vm
    Displays voices settings to players


.: Requirements :.


Amxx 1.8+
Fakemeta
sv_alltalk 1 (set by the plugin)
$mod/addons/amxmodx/data/lang/voicesmanagement.txt (see attachment)



.: Credits/Thanks :.

teame06 for clarifications on how convert set_speak to fakemeta
Zor for his AdminVoice plugin in witch i didn't have a single look



.: Changelog :.
Code:
* v1.0.2 (04-19-08)
* -few code corrections
* -updated player spawn detection
* -added HLTV & BOT checks
*
* v1.0.1 (03-31-08)
* -added colored chat
* -added chat command /vm that display voices settings
* -inform new players about /vm command
* -display adminlisten status when toggle_adminlisten command is used
* -added support for amx_show_activity cvar on amx_(un)mute command
*
* v1.0.0 (03-26-08)
* First release
Attached Files
File Type: txt voicesmanagement.txt (2.5 KB, 6631 views)
File Type: sma Get Plugin or Get Source (Voices_Management.sma - 10986 views - 14.8 KB)
__________________
- tired and retired -

Last edited by ConnorMcLeod; 07-12-2008 at 03:30.
ConnorMcLeod is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 03-27-2008 , 03:20   Re: Voices Management
Reply With Quote #2

Seems a like a complete voice chat control plugin. GJ

Is there any other plugins that allows admins to hear all (ct + t) voicechats?

coz this feature is pretty important.

Not only coz of insults (which is important) but also for music&noises spam and cheating by spectating opposing team and telling team mates the coordinates. ;)
cs1.6 is offline
Vm|Mayhem
Senior Member
Join Date: Feb 2005
Location: Murrieta, CA.
Old 03-27-2008 , 03:59   Re: Voices Management
Reply With Quote #3

Good job! Can you send a message to dead players telling them that they are muted from alive player chat, to avoid confusion. kinda like the "deadchat" plugin does:

Code:
client_print(id,print_center,"You are dead now, you can voice chat with other dead players")
__________________
Vm|Mayhem is offline
Send a message via AIM to Vm|Mayhem
cs1.6
Senior Member
Join Date: Dec 2006
Old 03-27-2008 , 04:10   Re: Voices Management
Reply With Quote #4

or play them a screaming hgrunt sound: SHUUT YOOOUR MOUUUTH!!!

no download needed.

Code:
spk "hgrunt/(p110) god! (p100) damn! (p120) shut! (p110) your! (p100) mouth!"
or


Code:
spk "hgrunt/(p120) shut! (p110) your! (p100) mouth!"

should be possible. try out.
cs1.6 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-27-2008 , 07:06   Re: Voices Management
Reply With Quote #5

Quote:
Originally Posted by cs1.6 View Post
Seems a like a complete voice chat control plugin. GJ

Is there any other plugins that allows admins to hear all (ct + t) voicechats?

coz this feature is pretty important.
adminlisten.amxx ?

Quote:
Originally Posted by cs1.6 View Post
[...] but also for [...] cheating by spectating opposing team and telling team mates the coordinates. ;)
That's why the plugin can prevent deads to talk with alives, with is default settings.

Quote:
Originally Posted by Vm|Mayhem View Post
Good job! Can you send a message to dead players telling them that they are muted from alive player chat, to avoid confusion. kinda like the "deadchat" plugin does:

Code:
client_print(id,print_center,"You are dead now, you can voice chat with other dead players")
This plugin has more features than deadchat, so this message wouldn't be the only one that should be displayed.
I could add a chat command that would print plugin settings to the player.
__________________
- tired and retired -
ConnorMcLeod is offline
manix
Senior Member
Join Date: Mar 2006
Old 03-27-2008 , 07:12   Re: Voices Management
Reply With Quote #6

Nice plugin !

Quote:
Originally Posted by connorr View Post
I could add a chat command that would print plugin settings to the player.
And nice idea

Thanks Connorr, really usefull.
__________________
manix is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 03-27-2008 , 09:03   Re: Voices Management
Reply With Quote #7

Code:
[de]
VM_ALREADY_INUSE =  ** Entschuldige, ein anderer Admin benutzt bereits SUPER admin talk !!
VM_ADMIN_TALK =  ** Hoer dem Admin zu %s !!
VM_INTER_START =  ** %s spricht mit den Admins.
VM_INTER_STOP =  ** %s spricht nicht mehr mit den Admins.
VM_MUTE_ADMIN = Du kannst keinen Admin stumm schalten.
VM_AR_MUTED = Dieser Spieler ist bereits stumm geschaltet.
VM_MUTED = Spieler erfolgreich stumm geschaltet.
VM_NOT_MUTED = Dieser Spieler ist nicht stumm geschaltet.
VM_UNMUTED = Spieler erfolgreich frei geschaltet.
With VM_INTER_STOP in mind i guess you mean "** %s talk to admins." should be ** %s talks to admins."
Or not?
__________________
Don't take life too seriously, you come out dead anyway


Do NOT PM me for support!
Mordekay is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-27-2008 , 10:11   Re: Voices Management
Reply With Quote #8

You're right, i'll add this when i add german translation.
__________________
- tired and retired -
ConnorMcLeod is offline
Vm|Mayhem
Senior Member
Join Date: Feb 2005
Location: Murrieta, CA.
Old 03-27-2008 , 16:12   Re: Voices Management
Reply With Quote #9

Is this an incomplete line? Shouldn't there be ADMIN_IMMINITY or something there? I'm a coding newb.

Code:
Line#7
#define SUPER_ADMIN_PRIORITY
Vm|Mayhem is offline
Send a message via AIM to Vm|Mayhem
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-27-2008 , 16:40   Re: Voices Management
Reply With Quote #10

If you comment out this line, client settings will be never changed.

If you let it (default), a player that would have disabled voices, or muted an admin, will hear this admin when this admin uses +adminvoice command.
__________________
- tired and retired -
ConnorMcLeod 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 01:30.


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