๐ŸšจRaid Protection

Raid protection automatically activates when an abnormal number of players join in a short time window, helping protect against bot raids and mass-join attacks. Configuration is in moderation/raidprotection.yml.

Commands

Command
Aliases
Description
Permission

/raidmode

/raid, /raidprotection

Toggle raid mode

lpcpro.raidmode

/raidmode on

โ€”

Enable raid mode

lpcpro.raidmode

/raidmode off

โ€”

Disable raid mode

lpcpro.raidmode

/raidmode status

โ€”

Show current status

lpcpro.raidmode

/raidmode trust <player>

โ€”

Add player to trusted list

lpcpro.raidmode

/raidmode untrust <player>

โ€”

Remove from trusted list

lpcpro.raidmode

/raidmode trusted

โ€”

List trusted players

lpcpro.raidmode

How It Works

  1. LPC Pro monitors the join rate and message patterns

  2. When thresholds are exceeded, raid mode activates automatically

  3. During raid mode, new players are restricted and slowmode is applied

  4. Raid mode deactivates automatically after the configured duration

  5. Staff can also toggle raid mode manually

Configuration

Auto-Detection Triggers

Raid mode activates automatically when any of these conditions are met:

Trigger
Config Keys
Description

Rapid joins

join-threshold + join-time-window

Too many players joining in a short window

Message flood

message-threshold + message-time-window

High message volume from new accounts

Similar messages

similarity-threshold + similar-message-count

Multiple new players sending similar messages

During Raid Mode

  • New players are auto-muted (cannot chat)

  • Slowmode is applied to all players (configurable delay)

  • Staff are notified of the detection

  • All new joins are logged

  • Trusted players bypass restrictions

Permissions

Permission
Description

lpcpro.raidmode

Toggle raid protection and manage trusted list

lpcpro.raidmode.bypass

Bypass raid mode restrictions

Last updated