In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

Pages: [1]   Go Down
  Print  
Author Topic: censor plugin  (Read 1671 times) Bookmark and Share
Newbie
*
Posts: 6
Offline Offline
« on: December 17, 2009, 09:09:00 AM »

i looked thru the xml files for admin, and censor, and the B3 manual, and cant seem to find the settings for the duration of temp ban for using bad language.  i have seen ppl banned for 7 hours, and up to 12 hours for using bad language.  This is a great feature to keep the server somewhat clean of language, however, the duration seems a bit extreme.  

the only duration i can find is 1d in the censor xml.  But i do not see 7 or 12 h....

can you help direct me to the correct area to change this duration to something more like 5m.  

thanks
Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #1 on: December 17, 2009, 10:46:48 AM »

The warning system works like this:

The player gets warnings, which expire after a certain amount of time (say 1 day)

If they get a warning which means they have over 3 active, they are kicked and tempbanned. This is for the total length of the warnings / 30.

So, it would be 3 days / 30, meaning a ban of 144 minutes for swearing.

On the other hand, the censor plugin warns for the 'cuss' reason in plugin_admin.xml. The default setting for this is 3d, meaning that your bans are for 7.2 hours. If you want to change it, the admin plugin is where you should do it.
Logged

Newbie
*
Posts: 6
Offline Offline
« Reply #2 on: December 18, 2009, 10:24:17 AM »

thanks for the info...ill modify the admin plug-in and play around with it a bit...much appreciated

but just to be sure since im a newbe at this....would i modify this part of the admin xml


<set name="rule8">^3Rule #8: No profanity or offensive language (in any language)</set>

<set name="rule8">3d, /spam#rule8</set>
  <set name="rule9">3h, /spam#rule9</set>
  <set name="rule10">3d, /spam#rule10</set>
  <set name="stack">1d, /spam#stack</set>
  <set name="lang">/rule8</set>
  <set name="language">/rule8</set>
  <set name="cuss">/rule8</set>
  <set name="profanity">/rule8</set>
« Last Edit: December 18, 2009, 10:39:22 AM by zapata » Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal