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 DiscussionPlugin Releases! (Moderator: MordyT)Weapon Restriction [BFBC2]
Pages: [1]   Go Down
  Print  
Author Topic: Weapon Restriction [BFBC2]  (Read 1932 times) Bookmark and Share
Former Dev. (senate)
*****
OS: Linux
Type: Home user
Gameservers: BFBC2
Posts: 37
Offline Offline
« on: July 29, 2010, 04:51:01 AM »

This plugin inspects a players weapon choice each spawn - if a restricted weapon is equipped it warns the player not to use it, if a kill is made with a restricted weapon the player is automatically kicked from the server.

Download the plugin

Note: This plugin requires the very latest b3 (bfbc2 parser) which can be downloaded from my developer repo here or you can wait until the next stable release of b3. Make sure you use B3 Version 1.3.3

DISCLAIMER: The use of this plugin may violate EA's Rules of Conduct for server administrators, for more info see http://support.ea.com/app/answers/detail/a_id/109/kw/battlefield%20roc
« Last Edit: November 13, 2010, 10:30:57 PM by Durzo » Logged


XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #1 on: August 01, 2010, 11:21:44 PM »

Excellent job! I think this is going to be one of the most popular bfbc2 plugins.
Logged

B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #2 on: August 03, 2010, 04:46:27 AM »

if it's not a "Ranked Server" it "should" .......... be ok   Wink
Logged
Former Dev. (senate)
*****
OS: Linux
Type: Home user
Gameservers: BFBC2
Posts: 37
Offline Offline
« Reply #3 on: August 03, 2010, 07:38:58 AM »

I have it running on two ranked servers, so far so good Smiley
Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 212
Offline Offline
WWW
« Reply #4 on: August 13, 2010, 12:40:33 AM »

Change is not kicked from the server, just add a warning for the restricted weapon
So it was that much better.

sorry
« Last Edit: August 13, 2010, 12:48:17 AM by NIKO » Logged

Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.
Former Dev. (senate)
*****
OS: Linux
Type: Home user
Gameservers: BFBC2
Posts: 37
Offline Offline
« Reply #5 on: August 13, 2010, 12:42:32 AM »

Sorry I don't understand what you mean ?
Logged

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #6 on: August 13, 2010, 09:21:58 AM »

I guess he doesn't want the plugin to kick the player instantly but warns him/her instead.
Logged

Newbie
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BFBC2
Posts: 2
Offline Offline
« Reply #7 on: November 14, 2010, 10:23:05 AM »

Is it in anyway possible to change the method what's happening when a player kills another player wih restricted weapon?
What i mean is, is there any possibility to just kill the player using a restricted weapon instead of kicking him from server?

Would be great if you could do this!

Thx

kindly regards

Draketornado
Logged
Former Dev. (senate)
*****
OS: Linux
Type: Home user
Gameservers: BFBC2
Posts: 37
Offline Offline
« Reply #8 on: November 14, 2010, 06:27:52 PM »

This should be a pretty easy change to kill instead of kick.

on line 100 of weaponrestrict.py change:

Code:
player.kick(warningmsg)

to look like:

Code:
self.console.write(('admin.killPlayer', player.cid))
« Last Edit: November 14, 2010, 06:43:33 PM by Courgette » Logged

Newbie
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BFBC2
Posts: 2
Offline Offline
« Reply #9 on: May 14, 2011, 09:06:38 AM »

Hi  Smiley

Thanks for this plugin, great job

I use kill instead of kick as you said before but how i can kick a guy who use 3 times an unallowed weapon please?

Sincerely
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2629
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #10 on: May 14, 2011, 08:22:56 PM »

Instead of using kill, use warning?
Just a idea...
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Newbie
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BFBC2
Posts: 2
Offline Offline
« Reply #11 on: May 16, 2011, 09:56:30 AM »

I found another admin prog (guardian), and i have disabled weapons unallowed at the beginning

It's not the better solution, because lot of weapons are not listed (specact, m1, p xm8 ....)
(i have tested also procon and bc2cc, it's the same), and i can't let the server in autoadmin mode

that's why i think only B3 can help me, with kicking people who use 3 times an unallowed weapon

Someone may help me please ?
« Last Edit: May 17, 2011, 09:54:50 AM by spotbeen » Logged
Tags: bfbc2  restrict weapons 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal