Anti Illegals: Remove Illegal Items on Your Minecraft Server

Understanding the Anti Illegals Mod for Minecraft Every server administrator knows the headache of dealing with players who somehow acquire items they should never have. Whether it is bedrock in a survival world, overenchanted swords with Sharpness level 32767, or stacks of 64 end portal frames, ...

Download AntiIllegals for Minecraft 1.20.4

Original name: AntiIllegals

Minecraft: 1.20.4

FileVersionLoaderSize
AntiIllegals-1.1.1.jar1.20.4—18 КБDownload

Understanding the Anti Illegals Mod for Minecraft

Every server administrator knows the headache of dealing with players who somehow acquire items they should never have. Whether it is bedrock in a survival world, overenchanted swords with Sharpness level 32767, or stacks of 64 end portal frames, these illegal items can break game balance and even crash a server. The Anti Illegals mod steps in as a silent guardian, automatically scanning inventories and wiping out anything that does not belong. It works across a wide range of Minecraft versions, making it a staple for survival, factions, and anarchy servers that need to keep gameplay fair without constant manual intervention.

What Exactly Does Anti Illegals Do?

At its core, Anti Illegals is a lightweight server-side plugin or mod that enforces item and block legitimacy. It does not just rely on a simple blacklist; it actively checks player inventories on join, during world interactions, and at configurable intervals. The moment a player opens their inventory or places a restricted block, the mod evaluates the item against a set of rules and removes it instantly if it violates any. This proactive approach stops duped items, hacked-in blocks, and creative-only materials from ever affecting the survival experience.

Key Features That Keep Your Server Clean

The mod packs a surprising amount of functionality into a small footprint. Here are the main pillars of its protection system:

  • Block placement restrictions: Prevents players from placing blocks like bedrock, barriers, and end portal frames in survival mode, even if they somehow obtained them.
  • Inventory sanitization: Scans all player inventories, ender chests, and even armor slots to remove illegal items automatically.
  • Enchantment capping: Strips any enchantment that exceeds a configurable maximum level, typically set to the vanilla limit, eliminating Sharpness C and Protection XX gear.
  • Stack size correction: Reduces overstacked items—like 128 diamonds in a single slot—down to the normal maximum stack size.
  • Unbreakable item removal: Detects and deletes items with the Unbreakable tag that should not have it, such as ordinary tools or armor.
  • Performance improvements: Uses efficient scanning algorithms to avoid lag, making it suitable even for large servers with hundreds of players online.

Configurable Illegal Blocks and Items

One of the strongest aspects of Anti Illegals is its fully customizable configuration file. Server owners can decide exactly which blocks and items count as illegal. The default list already covers the most notorious offenders, but you can add or remove entries to match your server’s specific ruleset. The default illegal blocks include:

  • ENDER_PORTAL_FRAME
  • BARRIER
  • BEDROCK
  • MONSTER_EGG (the block, not spawn eggs)
  • COMMAND
  • STRUCTURE_BLOCK
  • STRUCTURE_VOID
  • SPAWN_EGGS (all types)
  • MOB_SPAWNER

Beyond blocks, the mod also targets illegal items in a broader sense. Overenchanted items, unbreakable items, and overstacked items are flagged regardless of the specific material. This means a player cannot bypass the system by using a renamed item or a less obvious block variant. The configuration file lets you tweak the maximum lore enchantment level, the stack size threshold, and even the check frequency to balance security with performance.

Installation and Day-to-Day Use

Getting the mod onto your server is straightforward. Since it is a server-side only mod, players do not need to install anything on their clients. Simply drop the jar file into your server's mods or plugins folder, restart, and the protection activates immediately. For those looking for a hassle-free setup, the mod can be easily installed via the foxygame.net launcher, a convenient and modern Minecraft launcher that allows you to download and manage mods directly from its built-in menu. Once running, you can tweak the configuration file to fine-tune which items get removed and whether the mod sends warning messages to players. Most server owners set it to silently delete illegals and log the event for staff review, keeping the chat clean while maintaining a full audit trail.

Performance and Compatibility

A common worry with inventory scanning mods is the potential for TPS drops. Anti Illegals has been designed with efficiency in mind. It uses asynchronous checks where possible and only scans inventories when a player logs in, changes worlds, or interacts with a container. You can also set a cooldown between scans to prevent repeated checks in a short timeframe. The mod has been tested extensively on Minecraft versions ranging from 1.8.X all the way to 1.20.X, covering almost every major release in between. Whether you run an old-school 1.8 PvP server or a modern 1.20 survival world, the same jar often works without compatibility issues. The lightweight nature of the mod means it plays nicely alongside other popular server tools like WorldGuard, GriefPrevention, and economy plugins.

Why Every Serious Server Needs Anti Illegals

Illegal items are not just a nuisance; they can undermine the entire economy and player trust. A single player with an unbreakable god sword can ruin the fun for dozens of others. Manual moderation is slow and prone to human error, but an automated system like Anti Illegals catches problems the moment they appear. It also acts as a deterrent. When players realize that any hacked item disappears instantly, the incentive to cheat drops dramatically. The mod’s ability to handle overstacked items alone saves server admins countless hours of cleaning up after duplication glitches.

Final Thoughts

The Anti Illegals mod fills a critical gap in server management by providing an automatic, customizable, and performance-friendly solution to item and block illegitimacy. Its support for a vast range of Minecraft versions and its straightforward configuration make it accessible to both new server owners and seasoned network administrators. By stripping away overenchanted gear, removing forbidden blocks, and capping stack sizes, it preserves the vanilla survival challenge and keeps the playing field level. If you have ever lost sleep over a player placing bedrock in the spawn area, this mod is the answer you have been looking for. Set it up once, adjust the config to your liking, and let it quietly maintain order while you focus on building a great community.