All versions
1.0.0
Release
Anti-Illegals 1.0.03 months ago 114
Compatibility
Minecraft: Java Edition
26.1.x
1.21.x
Platforms
Folia
Paper
Changes
Initial release of AntiIllegals, a configurable Paper/Folia plugin for detecting and removing illegal items.
Added
- Config-driven rule system for illegal item detection
- Paper 1.21+ support
- Folia support
- Per-world rule sets
- Automatic inventory scans on:
- Player join
- Inventory click
- Inventory drag
- Item pickup
- Inventory open
- Crafting
- Scheduled automatic player inventory scans
- Optional ground-item spawn scanning
- Manual ground-item purging with /antiillegal purgeground
Detection Features
- Banned material checks for creative/admin blocks
- Stack size limits
- Total item amount limits per inventory
- Enchantment level caps
- Maximum total enchantment count checks
- Display name regex checks
- Lore regex checks
- CustomModelData allowlists
- NBT signature checks
- Attribute modifier limits
- Optional Unbreakable item blocking
- Custom potion payload validation
- Potion effect count, amplifier, and duration limits
- Banned potion effect checks
- Written book filtering
- Book page count, page length, and total character limits
- Book title, author, and page regex checks
- Click/hover event detection in books
- Shulker box deep-scanning
- Nested shulker depth limits
- Illegal item scrubbing inside shulker boxes
- Enforcement
- Configurable rule actions:
- Remove item
- Warn player
- Log to console
- Kick player
- Clear inventory
- Run console command
- Staff notifications with cooldown
- Console logging
- Bypass permission for trusted users
- Configurable messages
Commands
- /antiillegal reload
- /antiillegal scan <player|all>
- /antiillegal inspect <player>
- /antiillegal list
- /antiillegal toggle <rule> <true|false>
- /antiillegal purgeground [radius]
Permissions
- antiillegals.admin
- antiillegals.notify
- antiillegals.bypass
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:WxHjGw8u:SMB3b6dM"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:WxHjGw8u:SMB3b6dM"
}

