AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Voices Management v1.0.2 (04/19/08) (https://forums.alliedmods.net/showthread.php?t=69006)

ConnorMcLeod 03-26-2008 12:21

Voices Management v1.0.2 (04/19/08)
 
2 Attachment(s)
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


cs1.6 03-27-2008 03:20

Re: Voices Management
 
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. ;) :)

Vm|Mayhem 03-27-2008 03:59

Re: Voices Management
 
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")

cs1.6 03-27-2008 04:10

Re: Voices Management
 
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.

ConnorMcLeod 03-27-2008 07:06

Re: Voices Management
 
Quote:

Originally Posted by cs1.6 (Post 602598)
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 (Post 602598)
[...] 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 (Post 602606)
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.

manix 03-27-2008 07:12

Re: Voices Management
 
Nice plugin !

Quote:

Originally Posted by connorr (Post 602645)
I could add a chat command that would print plugin settings to the player.

And nice idea :D

Thanks Connorr, really usefull.

Mordekay 03-27-2008 09:03

Re: Voices Management
 
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?

ConnorMcLeod 03-27-2008 10:11

Re: Voices Management
 
You're right, i'll add this when i add german translation.

Vm|Mayhem 03-27-2008 16:12

Re: Voices Management
 
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


ConnorMcLeod 03-27-2008 16:40

Re: Voices Management
 
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.


All times are GMT -4. The time now is 09:42.

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