PDA

View Full Version : DoD AdminSentinel (v1.0)


Firestorm
07-08-2006, 11:39 AM
// DESCRIPTION:
// ============
//
// This plugin let's admins see enemy's teamchat and
// hear enemy's voicecomm.
// parts can seperatly be enabled/disabled by defeault
// and parts that are enabled by default can be disabled
// and reenabled by every single admin for himself.
// this way you can turn off hearing the enemy's voice
// communication if it annoys you, without stopping
// other admins from hearing it. same with the enemy teamchat.
// admins that join the server will automatically get the abilities
// which are set as server default (if that feature is enabled!).
// BUT: admins can't enable features that aren't allowed
// by the server's mode.

// USAGE:
// ======
//
//
// CVARs (for amxx.cfg):
// ---------------------
//
// dod_adminsentinel_mode <1/2/3/0> = set server's mode
// 1 Voice- & TeamChat
// 2 TeamChat Only
// 3 VoiceChat Only
// 0 All disabled
//
// dod_adminsentinel_autoenabled <1/0> = enable/disable automatically
// setting admins to see/hear
// enemy's communication after
// joining the server.
//
//
// ADMIN COMMANDS:
// ---------------
//
// amx_enemychat = enable/disable seeing
// enemy's teamchat
//
// amx_enemyvoice = enable/disable hearing
// enemy's voicecomm

// CHANGELOG:
// ==========
//
// - 05.12.2004 Version 0.5beta
// Initial Release
//
// - 28.01.2005 Version 0.6beta
// * added cvar to enable/disable
// automatically setting admins to
// see/hear enemy's communication
// after joining the server.
// * renamed main cvar
//
// - 27.03.2005 Version 0.7beta
// * bugfix:
// - enemy teamchat isn't displayed
// several times anymore.
// ("4 lines of the same sentence"-bug)
//
// - 12.07.2005 Version 0.8beta
// * added displaying dead/spectator chat
// to admins with ADMIN_BAN access.
//
// - 04.08.2005 Version 0.9beta
// * fixed bug of multi chat lines caused by
// missing check if chatter and admin are
// both dead and at the same team.
// (in this case, the game displayed the message
// and the plugin as well)
//
// - 21.08.2005 Version 0.9beta2
// * fixed bug of multi chat lines caused by
// missing check if chatter and admin are
// both dead and at different teams and message
// was public and not team only.
// (in this case, the game displayed the message
// and the plugin as well)
//
// - 02.07.2007 Version 1.0
// - using pcvar system now
// - added global tracking cvar
//

jjk521
07-11-2007, 02:16 PM
Is this just my problem or does anyone else have trouble pausing this plugin or turning if off w/o having to remove it from the plugins folder?

Why I ask is because I am in charge of our server and when we do a realism we want to turn this off but when we try and pause it or stop it, the plugin just keeps going and we end up having to take it off the server via ftp and restart the server.

FeuerSturm
07-11-2007, 02:50 PM
all you have to do to turn it off is setting the cvar "dod_adminsentinel_mode"
to "0".

from ingame: amx_cvar dod_adminsentinel_mode 0

remote console: dod_adminsentinel_mode 0

that will turn it completely off, pausing or stopping plugins doesn't
work wll at all, at least not with half of the existing plugins.

=|[76AD]|= TatsuSaisei
07-16-2007, 12:55 PM
ahhh, I was just thinking I needed something like this last night as I sat in spectator watching a practice session and it was deadly quiet except for the gun fire...

I will have to check this one out for sure...

now I havn't tried this yet (as normally alltalk is on) but will this work for me as I sit in spectator and alltalk is off ?

diamond-optic
07-16-2007, 02:24 PM
id assume so...

as it checks if your admin and then allows you to hear everyone.. shouldnt matter what team your on

=|[76AD]|= TatsuSaisei
07-16-2007, 04:54 PM
id assume so...

as it checks if your admin and then allows you to hear everyone.. shouldnt matter what team your on


yeah I didn't look into the source yet... just was checking latest messages here when I come across this (had seen it before and had older version, just slipped my mind) and realized I was just thinking about needing something like this...

Price [508th PIR]
07-16-2007, 09:24 PM
its says unknow cvar everytime... I uploaded the sma and the amxx to the right spot, and then updated the plugins.ini what else do i have 2 do?

FeuerSturm
07-19-2007, 05:17 AM
;6828']its says unknow cvar everytime... I uploaded the sma and the amxx to the right spot, and then updated the plugins.ini what else do i have 2 do?

restart your server or just change the map and then try again.
btw, you don't need to upload the sma, just compile it and upload
the amxx to your addons/amxmodx/plugins/ folder.

Tank
07-01-2008, 02:32 PM
I've had this on the server for a while but it does not seem to start automatically. I can only see enemy chat if I type amx_enemychat in console. Although I put the cvar in amxx.cfg. This is what I added in amxx.cfg

//-----------------------------------------------
// DoD AdminSentinel
//-----------------------------------------------
// dod_adminsentinel_mode <1/2/3/0> = set server's mode
// 1 Voice- & TeamChat
// 2 TeamChat Only
// 3 VoiceChat Only
// 0 All disabled
dod_adminsentinel_mode 2
// dod_adminsentinel_autoenabled <1/0> = enable/disable automatically setting admins to see/hear
// enemy's communication after joining the server.
dod_adminsentinel_autoenabled 1


Anyone any idea?

diamond-optic
07-01-2008, 07:24 PM
i have:

dod_adminsentinel_mode "1"
dod_adminsentinel_autoenabled "1"

in my amxx.cfg and its enabled just fine for me...

{DwP} 325th ABN
07-01-2008, 09:21 PM
nice i will be on this, im like tatsu have been in spec scrim with nothing. good job feuersturm

Ryan [2nd RB]
11-27-2008, 02:20 AM
Just wanted to know. Got this on just a fun server, so no like realism or anything, but i only wanted this plugin available to certain admins. Is that possible?

Tank
11-27-2008, 08:21 AM
Yes you can. You can change the admin level the plugin looks for. At the moment its set at ADMIN_BAN aka the d-flag (in users.ini).

I changed the levels around to ADMIN_LEVEL_G for you. That means the admins you want to give this to, make sure in users.ini they have flag s (and of course remove this from the admins you don't want to give it).

You can always change it to the flag you want. Use this (http://wiki.amxmodx.org/AMX_Mod_X_Access_Levels) link to check out what flags are linked to which admin level.

Good luck and if you need help, just drop a line.

netmad
09-01-2011, 11:49 AM
complie error ??