
OreToggle
Server-side Fabric mod to dynamically enable, disable and restore ores in real-time.
About this Mod
OreToggle is a server-side Fabric mod that allows you to dynamically control ore availability in your world.
You can disable specific ores, causing nearby matching blocks to be automatically replaced in real-time. The system prioritizes blocks closest to the player, making it fast and responsive during gameplay.
All replaced blocks are tracked and can be safely restored later using commands. The mod includes JSON persistence, autosave, and a configurable system to control performance and behavior.
Key features:
- Toggle ores on/off at runtime
- Automatic ore replacement near players
- Restore previously replaced ores
- Distance-based scanning system (optimized)
- Configurable performance settings
- Server-side only (clients do not need the mod)
Commands (require permission level 2+):
- /toggleore
on|off — enable or disable a specific ore - /restoreore
— restore previously replaced blocks for that ore - /oretoggle status — show currently disabled ores and tracking info
- /oretoggle save — manually save current state and tracked data
Originally based on a Paper/Spigot plugin, now fully rewritten for Fabric.
Available Versions
How to Install OreToggle on Your Server
Order Server
Order a Minecraft Java server with at least 4 GB RAM (6 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "OreToggle". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11
Server-side
✓ RequiredRecommended RAM
6 GB(min. 4 GB)Frequently Asked Questions
OreToggle server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 4 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is OreToggle compatible with fabric?
OreToggle officially supports fabric for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with OreToggle – how to optimize performance?
Recommended RAM: 6 GB (per 5 players). Use /spark profiler to check if OreToggle consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install OreToggle with just one click on your server.