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.
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
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.
- When a Silverfish attempts to spawn...
- The plugin checks if there is a nearby entity that has the Infested effect.
- If that nearby entity's type is listed in your config file...
- The Silverfish spawn is cancelled.
Features ⚙️
- Fully Configurable: You decide which entities are protected! Add any mob type to the blocked-entities list in the config.
- Extremely Lightweight: The plugin only acts during the EntitySpawnEvent for Silverfish, meaning it has virtually zero impact on your server's performance.
- Does Not Block Damage: Mobs can still be damaged and killed by players and the environment, preserving vanilla gameplay.
- Reload Command: Instantly apply your config changes with a simple command. No restart required!
- Permissions Ready: Control who can reload the plugin.
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
- /asfreload - Reloads the configuration file.
- Permission: antisf.reload
- Default: OP
- Permission: antisf.reload
Installation
- Stop your server.
- Place the Anti-Silverfish-Farm.jar file into your /plugins folder.
- Start your server.
- Modify the config.yml to your liking and run /asfreload. Done!
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.