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!

You are here: Big Brother Bot ForumAdd-OnsPlugins Discussion (Moderator: MordyT)Change something on the admin-plugin...
Pages: [1]   Go Down
  Print  
Author Topic: Change something on the admin-plugin...  (Read 1124 times) Bookmark and Share
Beta Testers
*
OS: Windows
Type: Home user
Gameservers: smg, smg11,
Posts: 110
Offline Offline
Best Western-Game: Smokin' Guns
WWW
« on: February 04, 2011, 08:54:27 AM »

Hi all!

First of all I  want to ask where can I find the admin-plugin, I can't find it  Huh


Situation:

I have created a own mod (ask for source-code, if you want) where you can use a new command (over rcon).

Quote
/rcon kickClient <clientNum> <reason (as text)>

<client num>
Is the number of client in your server (not the b3-clientNum)

<reason>
There must be a text and not only tk or spam...
Like: "Server disconnected - was tempbanned by ADMIN for 1.0 hour"

This command works, this isn't my problem...

So I want to use my B3-Bot, that when somebody gets kicked, that he gets the reason...

Can you explain me what I need to change in the admin-plugin?
I think it's better if somebody can send me the finished plugin because I don't know phyton, only c/c++, delphi and java...
Logged



Dev. Team
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD2, CoD4, CoDWaW, BFBC2, CoDBO
Posts: 134
Offline Offline
« Reply #1 on: February 04, 2011, 09:32:36 AM »

Admin Plugin is a core b3 plugin that is included in every b3 package by default.

You don't need to change something in it, here's a right way to do it: Converting Simple Modifications into Plugins. You may also find B3 Plugin SDK article useful.
Logged

Beta Testers
*
OS: Windows
Type: Home user
Gameservers: smg, smg11,
Posts: 110
Offline Offline
Best Western-Game: Smokin' Guns
WWW
« Reply #2 on: February 04, 2011, 10:14:31 AM »

=)
I can't FIND the admin-plugin...

I mean WHERE can I find it  Grin

I want, that if I write "!kick TEAMKILLER tk" that he gets a message like:
"Server disconnected - was kicked by ADMIN. Reason: Teamkilling"

And for this I think I must change things in the admin-plugin...

Or not?
Logged


Beta Testers
*
OS: Windows
Type: Home user
Gameservers: smg, smg11,
Posts: 110
Offline Offline
Best Western-Game: Smokin' Guns
WWW
« Reply #3 on: February 05, 2011, 11:15:16 AM »

I mean:
Where can I find the admin plugin?

I use B3-Bot on windows x 64
Logged


[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #4 on: February 05, 2011, 11:34:17 AM »

Modifications to the B3 core are not supported, so don't ask how to modify the admin plugin. Messages and banreasons can be modified in the config file.
Logged

Tags: admin  plugin 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal