thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: follow users plugin  (Read 25441 times)

Offline sgt

  • B3 Contrib/Support
  • Full Member
  • *
  • Posts: 82
follow users plugin
« on: February 01, 2010, 08:19:00 PM »
This is a very simple plugin I wrote to use on my servers.

Sometimes we have suspicions of players cheating, but the evidence is not clear enough. In this case we add the user to this 'follow list'. So next time the player connect, if and admin/mod is connected, he's warned about the situation of the player, so he can spect him/her.

Every time a followed player is connected a PM is sent to connected admins/mod:

Quote
WARNING: [@player_id] UnnamedPlayer is under suspicion of cheating

This message is also sent when the admin connects and there is already a followed player connected.

It also comes with some commands:
  • follow (ff) - to add a player to the list
  • unfollow (uf) - to remove the player
  • listfollow (lif) - to list all followed players
  • checkfollow (ckf) - to list currently connected followed players
  • syncfollow - to force a resync of connected players (just in case something was wrong  ;) )

If the player is banned, is automatically removed from the list.

This plugin requires to create a new table, the structure is included in the 'following.sql' file.

Edit: Available in the download section: http://www.bigbrotherbot.net/forums/downloads/?sa=view;down=52
« Last Edit: February 09, 2011, 12:46:26 AM by Courgette »

Offline eire.32

  • Echelon v2. Dev.
  • Former Dev. (senate)
  • Full Member
  • *****
  • Posts: 114
    • e32designs.com
Re: follow users plugin
« Reply #1 on: February 01, 2010, 11:06:22 PM »
I really love this idea. Great work. I'm adding it to my servers now.  ;D ;D
Eire.32

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: follow users plugin
« Reply #2 on: February 01, 2010, 11:11:35 PM »
adding it to my servers as well   ;D

Thank you for taking the time to share your work with the community.


It already starts to be popular http://www.bigbrotherbot.com/master/?plugin=follow ;)
« Last Edit: February 01, 2010, 11:21:06 PM by Courgette »

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: follow users plugin
« Reply #3 on: February 02, 2010, 11:24:37 AM »
@sgt: I've added you to the B3 Contributors group so you can ad your plugins to our download section. Please do so, add your plugins to our downloads here: http://www.bigbrotherbot.com/forums/downloads/?cat=4

Offline sgt

  • B3 Contrib/Support
  • Full Member
  • *
  • Posts: 82
Re: follow users plugin
« Reply #4 on: February 02, 2010, 12:37:55 PM »
@sgt: I've added you to the B3 Contributors group so you can ad your plugins to our download section. Please do so, add your plugins to our downloads here: http://www.bigbrotherbot.com/forums/downloads/?cat=4

Thanks!
I didn't do it before because I couldn't add updates. I see now I'm able to do it  :D

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: follow users plugin
« Reply #5 on: February 02, 2010, 09:29:47 PM »
This is a real good plugin idea. Good Job!

Offline dakotaboul123

  • Sr. Member
  • ****
  • Posts: 182
Re: follow users plugin
« Reply #6 on: February 02, 2010, 10:52:58 PM »
Maybe in spare time extend it a little more like:

This was !ff by admin
This player is Suspected of !ff Wallhack or No Recoil



Thanks for a good plug-in works good

Offline Ismael

  • Full Member
  • ***
  • Posts: 70
Re: follow users plugin
« Reply #7 on: February 02, 2010, 10:54:54 PM »
That's similar to how I treat notices on my superadmin plugin. Every time a player logs in, all mods and up get a message.

Offline sgt

  • B3 Contrib/Support
  • Full Member
  • *
  • Posts: 82
Re: follow users plugin
« Reply #8 on: February 02, 2010, 11:31:40 PM »
Maybe in spare time extend it a little more like:

This was !ff by admin
This player is Suspected of !ff Wallhack or No Recoil

I save the admin who added the player, though I would need to save a reason too.
I'll take a look at it.

Thanks for a good plug-in works good

Thank you  ;D

Offline dakotaboul123

  • Sr. Member
  • ****
  • Posts: 182
Re: follow users plugin
« Reply #9 on: February 03, 2010, 01:13:51 AM »
np very helpful in my clan cause i got alot of noob admins that cant tell a hacker from a clean player so imma just have them !FF them then i play all weekend and check all of em :]

Offline doom20

  • Jr. Member
  • **
  • Posts: 32
Re: follow users plugin
« Reply #10 on: April 02, 2010, 08:28:53 PM »
Sorry to bring up an old topic and all but I'm new to the whole B3 jazz so I'm in need of some support in what I want to do.

Is there any possibility of being able to also show who issued the command to follow the player and the reason he issued it.  So that people know what to look out for.

So for example, each time an admin/mod is on the server, and a followed player joins.
In the message it would also display the persons id/name who issued the command to follow the player:

Warning: player1 - @1352 has been placed under watch by doom20 - @10 for: No Recoil.  This player is now online!

Command being something like: !ff player1 No Recoil

Thanks.
« Last Edit: April 02, 2010, 08:30:50 PM by doom20 »

Offline sgt

  • B3 Contrib/Support
  • Full Member
  • *
  • Posts: 82
Re: follow users plugin
« Reply #11 on: April 22, 2010, 01:10:50 AM »
Sorry to bring up an old topic and all but I'm new to the whole B3 jazz so I'm in need of some support in what I want to do.

Is there any possibility of being able to also show who issued the command to follow the player and the reason he issued it.  So that people know what to look out for.

So for example, each time an admin/mod is on the server, and a followed player joins.
In the message it would also display the persons id/name who issued the command to follow the player:

Warning: player1 - @1352 has been placed under watch by doom20 - @10 for: No Recoil.  This player is now online!

Command being something like: !ff player1 No Recoil

Thanks.

This is already on the last version, though we are doing some tests before publish it.

Offline zskull

  • Jr. Member
  • **
  • Posts: 15
Re: follow users plugin
« Reply #12 on: May 09, 2010, 08:17:48 PM »
When I start B3 1.3.1 it says

100509 11:07:51 BOT Loading Plugin #11 follow [C:\UserFiles\red95\GameServers\TC76282771518250637348050\extplugins\conf\follow.xml]
100509 11:07:51 INFO Could not load built in plugin follow (No module named follow)
100509 11:07:51 INFO trying external plugin directory : C:\UserFiles\red95\GameServers\TC76282771518250637348050\extplugins
100509 11:07:51 BOT FollowPlugin: Loading config C:\UserFiles\red95\GameServers\TC76282771518250637348050\extplugins\conf\follow.xml for FollowPlugin
100509 11:07:51 DEBUG Register Event: Stop Process: FollowPlugin
100509 11:07:51 DEBUG Register Event: Program Exit: FollowPlugin

b3.xml plugin line for follow
      <plugin config="@b3/extplugins/conf/follow.xml" name="follow"  priority="11"/>

Is it even loading?

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: follow users plugin
« Reply #13 on: May 09, 2010, 09:02:07 PM »
yes it is loading according to the part of the log you're showing

Offline spunga

  • Jr. Member
  • **
  • Posts: 25
Re: follow users plugin
« Reply #14 on: June 10, 2010, 12:37:29 PM »
Quote
This is already on the last version, though we are doing some tests before publish it.

Any news Sgt on releasing this?

Many thanks,
Spunga.

 


Rate this page +1 at Google Search