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 ]

You are here: Big Brother Bot ForumSupport ForumsGeneral Usage Support (Moderator: MordyT)Tempban from warnings
Pages: [1]   Go Down
  Print  
Author Topic: Tempban from warnings  (Read 402 times) Bookmark and Share
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« on: December 01, 2011, 05:42:56 PM »

I am using the default plugin_admin.xml because I've been too lazy to go through and make changes on it, and I was just looking at it and I'm a little confused.

!warn x3 = tempban with message
!warn x5 = tempban without message
!warn x6 = tempban for "tempban_duration" (default 1d)

When someone is "tempbanned" for 3 or 5 warnings, how long are they tempbanned for?

For reference, here's the default warn section in plugin_admin.xml:

Code:
<settings name="warn">
<!-- pm_global determines whether the warning is sent to the the whole server, or just the player and admin, to reduce chatbox spam.
0 is whole server, 1 is private.
-->
<set name="pm_global">0</set>
<!-- alert_kick_num : if a player reach this number of active warnings he will be notified by with message then tempbanned -->
<set name="alert_kick_num">3</set>
<!-- alert_kick_num : if a player reach this number of active warnings he will be tempbanned right away -->
<set name="instant_kick_num">5</set>
<!-- tempban_num : when the number of warnings goes over this limit, the player is tempban for tempban_duration -->
<set name="tempban_num">6</set>
<!-- tempban_duration : for how long to tempban a players whose number of warning exceeded tempban_num -->
<set name="tempban_duration">1d</set>
<!-- max_duration : when the bot decides to tempban (warning exceeding alert_kick_num) the ban duration is
computed from the duration of each of the active warnings but will never exceed max_duration -->
<set name="max_duration">1d</set>
<!-- message : template for building warning messages -->
<set name="message">^1WARNING^7 [^3$warnings^7]: $reason</set>
<!-- warn_delay : an given player cannot only be given one warning every warn_delay seconds -->
<set name="warn_delay">15</set>
<!-- reason : template for building warning message when a player exceeds the tolerated number of warnings -->
<set name="reason">^7too many warnings: $reason</set>
<!-- duration_divider : tempbanned duration is computed from the sum of all active warnings durations divided by duration_divider -->
<set name="duration_divider">30</set>
<!-- alert : when a player receives his last warning tolerated warning, this message is broadcasted so an admin can decide to clear it and
this teaches other players too -->
<set name="alert">^1ALERT^7: $name^7 auto-kick from warnings if not cleared [^3$warnings^7] $reason</set>
    <!-- warn_command_abusers will make the bot warn players who try to use command they don't have suffisent rights to use or warn
    players who try invalid commands  -->
    <set name="warn_command_abusers">yes</set>
</settings>
Logged

Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #1 on: December 01, 2011, 06:47:42 PM »

These 2 topics may help:
http://forum.bigbrotherbot.net/general-usage-support/admin-plugin-configuration-help/

http://forum.bigbrotherbot.net/general-usage-support/re-admin-plugin/

Wiki example: http://wiki.bigbrotherbot.net/doku.php/usage:example_situation#situation
« Last Edit: December 01, 2011, 06:50:46 PM by MordyT » 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
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #2 on: December 02, 2011, 12:52:39 AM »

Thanks Mordy, this page helped, linked from the first post you linked me to: http://wiki.bigbrotherbot.net/usage:example_situation#situation
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal