adminListener

Expand and mod your server.
Post Reply
User avatar
macsforme
General
General
Posts: 2023
Joined: Wed Mar 01, 2006 5:43 am

adminListener

Post by macsforme » Tue Jul 17, 2007 4:22 am

Author: Constitution
Description: Forwards team chat and private messages between players to observer admins
Min Version: 2.0.9

This plugin accomplishes the above behavior. All team chat and any private messages that are not from or to an admin are forwarded to all observer admins. Rather simple and straightforward.

Currently there is a problem with the source code (at least my copy, hehe) in that messages sent with "/msg <player> <message>" do not trigger a bz_eChatMessageEvent. Rather than making the plugin work around this, I'm working on creating a patch that will address this issue. Stay tuned.

EDIT: patch completed, if a dev would be so kind as to look into it... http://sourceforge.net/tracker/index.ph ... tid=303248

EDIT AGAIN: forgot to mention, my .so Mac binary is for Intel Macs only. I'll get a PPC version up if I can, but no promises.
Attachments
adminListener.so.zip
Mac (Intel) .so binary
(70.19 KiB) Downloaded 463 times
adminListener.zip
Source
(961 Bytes) Downloaded 527 times
Last edited by macsforme on Tue Jul 17, 2007 7:41 pm, edited 1 time in total.

Green Manalishi
Private First Class
Private First Class
Posts: 586
Joined: Thu Nov 18, 2004 5:54 pm
Location: Badgerking's, Mystic Valley, Overdoze, Eria Ziel, Stalingrad, Clay Hills, Urban Jungle

Post by Green Manalishi » Tue Jul 17, 2007 10:33 am

if it was only team chat it would be ok imo. having access to PMs sounds like infringing people's privacy though. people should be able to chat among themselves without someone listening to them in the meantime just because they have admin powers. there are still logs which can be looked at afterwards if someone complains someone has been misusing PM in any way. i'm assuming at least the server owner should have access to all logs by default.

User avatar
Grace F
Sergeant
Sergeant
Posts: 978
Joined: Sun Oct 01, 2006 12:29 pm
Location: Adelaide, AUSTRALIA

Post by Grace F » Tue Jul 17, 2007 11:29 am

Yea, I agree. Private messages should stay private.

This is a good idea though. I've come across many incidents where someone has reported someone cussing via Team Speak. This will help remove those players as it happens :twisted:

Nice Const.
Image
Image

Longhair
Private First Class
Private First Class
Posts: 330
Joined: Tue Feb 08, 2005 6:06 pm
Location: Lancaster, PA
Contact:

Post by Longhair » Tue Jul 17, 2007 1:05 pm

There have been several occasions when I've heard complaints about nasty comments via PM, and it usually comes down to on person's word against another. This certainly would help, but I'm not sure I want to see everyone's chat messages.

Best in my mind would be a way for admins other than the server owner to be able to access the chat logs without listening in on every conversation.

User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy » Tue Jul 17, 2007 1:15 pm

Grace F wrote:Yea, I agree. Private messages should stay private.
They never were.

Grace F wrote:This is a good idea though. I've come across many incidents where someone has reported someone cussing via Team Speak. This will help remove those players as it happens :twisted:

Nice Const.
What does this have to do with teamspeak?
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007

User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny » Tue Jul 17, 2007 2:23 pm

CannonBallGuy wrote:
Grace F wrote:This is a good idea though. I've come across many incidents where someone has reported someone cussing via Team Speak. This will help remove those players as it happens :twisted:

Nice Const.
What does this have to do with teamspeak?
Err... uhhh?

In-game teamspeak... not the audio client...

User avatar
blast
General
General
Posts: 4730
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast » Tue Jul 17, 2007 3:04 pm

Logs are nice for seeing a conversation after the fact. However, monitoring chat in real-time allows the administrator to properly warn someone to stop. It also allows them to see more of the context of the situation (you can see if someone was swearing at a TK for instance). The server logs don't show everything that may be needed to paint a complete picture of the situation.

At one point, I was going to release a plugin that did exactly this. However, I was urged by a few other players not to release it because of possible abuse by the kiddie server admins.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
tadd
Master Sergeant
Master Sergeant
Posts: 93
Joined: Sun Aug 22, 2004 2:25 pm
Location: Raleigh, NC
Contact:

I love it

Post by tadd » Tue Jul 17, 2007 5:37 pm

Constitution, bring it on.
If somebody thinks this is too big brother, put a message in the startup server message that says "WARNING: Private Messages and Team Messages are logged AND monitored".

I already monitor the private messages and team chats in real time but this gives the our admins and cops the ability as well. Less work for me.

Any hope of getting it to work under macOSX?

We haven't had great luck getting plugins to work on mwar on my server.
Tadd
This is a block of text that can be added to posts you make. There is a 800 character limit

User avatar
Macrosoft
Private First Class
Private First Class
Posts: 142
Joined: Fri May 04, 2007 2:21 am

Post by Macrosoft » Tue Jul 17, 2007 6:06 pm

big brother? they must not know that most servers log all chat, and i happen to log everything. if they pick their nose on my server, i'll know.

as to privacy, PM's arent that secure over the internet. if you have sensitive info to send, use a more secure method, possibly a PPtP tunnel or such.
gazz: A bullet may have your name on it, but shrapnel is addressed "to whom it may concern".
http://bash.org/?785529

User avatar
gnu-sense
Private First Class
Private First Class
Posts: 78
Joined: Wed Nov 22, 2006 1:21 am

Post by gnu-sense » Tue Jul 17, 2007 7:27 pm

It appears to me that the bzfs console treats /password commands the same as any chat message. Is there any possibility that passwords would be compromised with this plugin?

Otherwise, I agree that people simply have to expect that communications on a server not directly under their own control are open to all sorts of privacy compromises (including pm's on this bb, for example). The best approach is simply not to say anything that you would regret later if it became public.

gnu-sense

User avatar
macsforme
General
General
Posts: 2023
Joined: Wed Mar 01, 2006 5:43 am

Post by macsforme » Tue Jul 17, 2007 7:35 pm

Thanks for the thoughts, all. The very fact that messages are only sent to observer admins, in my opinion, restricts the content to those eyes who are already observing the game (watching for infractions of policy, hopefully), so those admins who are there only to enforce policy have the tools they need at their disposal. And anyway, as the original post says, PMs between a player and an admin, or between two admins, are not forwarded anyway. I tried a team-chat-only version for a while on my servers, and it didn't really seem to make the cut. That version is still available in the plugin development forum.

CBG, tadd, etc. do have a point, in that private messages were never really private to begin with. If you only want the chat to be sent to specific admins, then you're quite welcome to modify the plugin to check for a specific perm, rather than just checking to see that the player is an admin (an easy change).
tadd wrote:Any hope of getting it to work under macOSX?
Works out-of-the-box on my system... erm, guess I should have mentioned that my .so binary is for Intel Macs... *goes to fix it* I don't have a PPC mac, so I guess you'll have to compile it... let me know if you need help in this regard.
blast wrote: However, I was urged by a few other players not to release it because of possible abuse by the kiddie server admins.
In my opinion, admins should be worthy of their responsibilities... and if a server owner chooses to be less selective, then yeah, I guess they need to be careful what they allow them to do. Silvercat, for one, was a server with a great selection of cops/admins, as I recall.
gnu-sense wrote:It appears to me that the bzfs console treats /password commands the same as any chat message. Is there any possibility that passwords would be compromised with this plugin?
Slash commands, such as "/password", are not forwarded.

User avatar
tadd
Master Sergeant
Master Sergeant
Posts: 93
Joined: Sun Aug 22, 2004 2:25 pm
Location: Raleigh, NC
Contact:

passwords

Post by tadd » Wed Jul 18, 2007 2:29 am

Constitution wrote:Slash commands, such as "/password", are not forwarded.
Well done!
This is a block of text that can be added to posts you make. There is a 800 character limit

Enigma
Private First Class
Private First Class
Posts: 211
Joined: Sat Apr 23, 2005 3:13 am

Post by Enigma » Thu Jul 19, 2007 2:48 am

Here is a universal binary made from Constitution's Intel binary and my PPC binary. I tried it, and it seems to work.
Attachments
adminListener.tar
(800 KiB) Downloaded 505 times

User avatar
sl4y3r
Private First Class
Private First Class
Posts: 5
Joined: Wed Oct 24, 2007 10:21 pm
Location: Planet Earth
Contact:

adminListener

Post by sl4y3r » Sat Mar 01, 2008 3:19 pm

*removed*
comment no longer applies
Last edited by sl4y3r on Wed Dec 30, 2009 8:16 pm, edited 1 time in total.

dexter
Private First Class
Private First Class
Posts: 212
Joined: Sun Apr 30, 2006 7:36 am
Location: Germany :o)

Re: adminListener

Post by dexter » Sun Mar 02, 2008 1:09 am

TJ13820 wrote:does anyone have this for PC?
i dislike (hate) configuring plugins
You'll have to compile it for yourself. It's not that hard and there are plenty of threads that explain how to compile plugins.

User avatar
macsforme
General
General
Posts: 2023
Joined: Wed Mar 01, 2006 5:43 am

Re: adminListener

Post by macsforme » Sun Mar 02, 2008 1:21 am

TJ13820 wrote:does anyone have this for PC?
i dislike (hate) configuring plugins
Sorry, I haven't built this on Windows. If you plan on running a server on Windows, I would recommend learning how to build BZFlag from the source. Once you do, it's very easy to add plugins from what I understand.

User avatar
The Master
Private First Class
Private First Class
Posts: 7
Joined: Tue Nov 25, 2008 3:45 pm

Re: adminListener

Post by The Master » Sat Jan 10, 2009 2:44 am

im new so plz tell me how to install?
The Master[img]C:\Documents%20and%20Settings\Bing\My%20Documents\My%20Pictures\2008_0913LHR0002.jpg[/img]

User avatar
blast
General
General
Posts: 4730
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: adminListener

Post by blast » Sat Jan 10, 2009 3:02 pm

You don't install a plugin. It's just a file you tell bzfs to load. Maybe you should do some research first.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 757
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: adminListener

Post by allejo » Sun Jul 10, 2011 7:03 pm

I hope you don't mind Constitution but I know you're busy with a lot stuff, so I updated your plugin to BZFlag 2.4
Attachments
adminListener.cpp
Updated version for BZFlag 2.4
(2.63 KiB) Downloaded 128 times
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest