OreToggle
Server-side Fabric mod to dynamically enable, disable and restore ores in real-time.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
OreToggle
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 <ore> on|off — enable or disable a specific ore * /restoreore <ore> — 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.