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)Anti Noob Plugin not working correctly
Pages: [1]   Go Down
  Print  
Author Topic: Anti Noob Plugin not working correctly  (Read 1786 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, MW2 (alterIW), Black Ops
Posts: 37
Offline Offline
WWW
« on: April 03, 2011, 09:11:38 PM »

Hi all,

Our Black Ops Clan has decided to completely ban the use of the knife_mp (melee knife).  It
doesn't seem to work with my setup.  Can you take a look at correct my mistakes please?

I have the antinoob.py and compiled version in the extplugins folder.
I also have this in my b3.xml file:
Code:
<plugin name="antinoob" config="@b3/extplugins/conf/antinoob.xml"/> 


I have some sections commented out because I am trying to ban only the melee knife now.


Code:
<configuration plugin="antinoob">
<settings name="settings">
<!-- It's a default for all maps within people will be warned for using defined weapons -->
<set name="warn_duration">15</set>
<!-- Rules that will be used to warn a player -->
<set name="warning_rule">rule8</set>
<set name="banned_warning_rule">rule8</set>
<!-- Message announcing unlocking weapons - MUST contain %s which will be replaced by number of seconds -->
<set name="unlock_message">^3 %s seconds passed - ^3all weapons unlocked!!!</set>
<!-- Message informing about duration of weapons restriction. MUST contain %s which will be replaced by number of seconds -->
<!-- set name="info_message">^3 No nades, airstrike, tubes or heli ^5first %s seconds of the round!!!</set -->
<set name="info_message">^3No melee knife. It is banned from this server!!</set>

<set name="bannedonly_info_message">^3 Please, No melee knife!!!</set>
</settings>

<!-- Use this section to define map-specific warn_duration -->
<!--
<maps>
<map name="mp_citystreets">15</map>
</maps>
-->

<weapon_timed_warn>
<weapon mod="MOD_GRENADE_SPLASH"></weapon>
</weapon_timed_warn>

<!--
<weapon_timed_kick>
</weapon_timed_kick>

    <weapon_banned_kick>
knife_mp
</weapon_banned_kick>
-->

<!-- <weapon_banned_warn>
<weapon mod="MOD_FALLING"></weapon>
<weapon mod="">frag_grenade_short_mp</weapon>
<weapon mod="">gl_ak47_mp</weapon>
<weapon mod="">gl_g3_mp</weapon>
<weapon mod="">gl_g36c_mp</weapon>
<weapon mod="">gl_m4_mp</weapon>
<weapon mod="">gl_m14_mp</weapon>
<weapon mod="">gl_m16_mp</weapon>
<weapon mod="">gl_mp</weapon>
<weapon mod="">rpg_mp</weapon>
</weapon_banned_warn>
-->
</configuration>


Thanks,
Kelso
Logged

If you can't play with the big dogs, stay on the porch.

Beta Testers
*
OS: Windows
Type: Renting Server, no B3
Gameservers: COD4 | COD2 | COD BO (Ranked and Unranked) | MOH 2010
Posts: 129
Offline Offline
« Reply #1 on: April 05, 2011, 09:42:30 AM »

the knife_mp needs to be in this format

      <weapon mod="">knife_mp</weapon>

Martin
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal