mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 03:49:29 +01:00
docs/AntiAbuse: update automatic join-flood enforcement section
This commit is contained in:
parent
9b1435c411
commit
ef03b6c090
@ -57,12 +57,10 @@ ChanServ can op and deop PBot as necessary, unless the channel `permop` metadata
|
|||||||
## Setting up automatic join-flood enforcement
|
## Setting up automatic join-flood enforcement
|
||||||
PBot performs its join-flood enforcement in a separate channel to reduce noise in the main channel.
|
PBot performs its join-flood enforcement in a separate channel to reduce noise in the main channel.
|
||||||
|
|
||||||
Let's say you want to set up join-flood enforcement for your channel, let's call it `#chan`. Here are all of the steps required to do that.
|
Let's say you want to set up join-flood enforcement for your channel, let's call it `#chan`. Here are all of the steps required to do that. Be sure to replace all occurences of `#chan` with your actual channel, including within `#chan-floodbans`.
|
||||||
|
|
||||||
* Create and register the `#stop-join-flood` channel. This is where PBot will forward join-flooders. Give it a sensible `/topic` like "You have been forwarded here due to join-flooding. If your IRC client or network issues have been resolved, you may `/msg PBot unbanme` to remove the ban-forward." If the channel already exists, you may configure the `antiflood.join_flood_channel` registry entry to point at a different channel (see [regset](Registry.md#regset)).
|
* Create and register the `#stop-join-flood` channel. This is where PBot will forward join-flooders. Give it a sensible `/topic` like "You have been forwarded here due to join-flooding. If your IRC client or network issues have been resolved, you may `/msg PBot unbanme` to remove the ban-forward." If the channel already exists, you may configure the `antiflood.join_flood_channel` registry entry to point at a different channel (see [regset](Registry.md#regset)).
|
||||||
* Create and register the `#chan-floodbans` channel. This is where PBot do the banning/unbanning. Give your instance of PBot channel OPs here.
|
* Create and register the `#chan-floodbans` channel. This is where your instance of PBot will do the banning/unbanning; give it channel OPs here (`chanadd #chan-floodbans`, `chanset #chan-floodbans chanop 1` and optionally `chanset #chan-floodbans permop 1`). Be sure add PBot to the channel's access list for +o via ChanServ or equivalent.
|
||||||
* Set an extended-ban in `#chan`: `/mode #chan +b $j:#chan-floodbans$#stop-join-flood`. This will retrieve the bans from `#chan-floodbans` for use in `#chan`.
|
* Set an extended-ban in `#chan`: `/mode #chan +b $j:#chan-floodbans$#stop-join-flood`. This will retrieve the bans from `#chan-floodbans` for use in `#chan`.
|
||||||
* Join PBot to both `#chan` and `#chan-floodbans` so it can monitor `#chan` and set/remove the bans in `#chan-floodbans`.
|
* Join PBot to both `#chan` and `#chan-floodbans` so it can monitor `#chan` and set/remove the bans in `#chan-floodbans`.
|
||||||
* Optionally, configure the `#chan.join_flood_threshold` and `#chan.join_flood_time_threshold` registry entries if the defaults are not desirable.
|
* Optionally, configure the `#chan.join_flood_threshold` and `#chan.join_flood_time_threshold` registry entries if the defaults are not desirable (see [regset](Registry.md#regset)).
|
||||||
|
|
||||||
When someone is banned for join-flooding, they will be forwarded to `#stop-join-flood`. That channel should have a sensible `/topic` and ChanServ `on-join` message that clearly explains the channel's purpose and how to /msg PBot to remove the join-flood ban. PBot's `unbanme` command can be used twice per day. Each time it is used, PBot will send the user a message explaining how many more uses they have that day and why their uses are limited.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user