HomeJavaModsAnti Silverfish Farm
Title: Anti-Silverfish-Farm | Fully Configurable Infested Effect Control [1.21+]




Overview


Are you concerned about the new Infested effect from Minecraft 1.21 being used for easy, overpowered XP and item farms? Anti-Silverfish-Farm is the simple, lightweight, and highly effective solution you need.

This plugin gives you complete control, allowing you to disable silverfish spawns from specific mobs affected by the Infested status effect, all through a simple configuration file. It does not block damage, allowing for normal gameplay while surgically removing the farm exploit.



How It Works


Instead of crudely blocking all damage to infested mobs, this plugin intelligently monitors for new entity spawns.

  1. When a Silverfish attempts to spawn...

  2. The plugin checks if there is a nearby entity that has the Infested effect.

  3. If that nearby entity's type is listed in your config file...

  4. The Silverfish spawn is cancelled.
The result? Players can still damage and kill mobs, but the exploitable farm mechanic is completely neutralized. ✅



Features ⚙️




Configuration


The config.yml is designed to be simple and easy to understand.

YAML
# Anti-Silverfish-Farm Configuration

# List of entities that will be blocked from spawning silverfish when they have the 'Infested' effect.
# You must use the official Bukkit EntityType names in UPPERCASE.
# Find all names here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
blocked-entities:
- "ALLAY"
- "ARMADILLO"
# - "IRON_GOLEM" # Example: Uncomment to block Iron Golems
# - "VILLAGER" # Example: Uncomment to block Villagers

messages:
reload-success: "&aAnti-Silverfish-Farm configuration has been reloaded!"
no-permission: "&cYou do not have permission to use this command."



Commands & Permissions




Installation


  1. Stop your server.

  2. Place the Anti-Silverfish-Farm.jar file into your /plugins folder.

  3. Start your server.

  4. Modify the config.yml to your liking and run /asfreload. Done!
Protect your server's economy and gameplay balance. Download Anti-Silverfish-Farm today!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Anti Silverfish Farm is a free Minecraft Java mod. Downloaded 30 times (via Spigot). Download it and open it directly in the game.

Explore more