
NeoForge Command Blocker
A mod that blocks selected commands from being used on a world/server (even for OP's and server console)
About this Mod
Neoforge Command Blocker
Have you ever ran a server where you wanted to block commands from being used, whether it's from stopping players from using /seed or stopping OP's abusing commands like /tp or perhaps it's to prevent yourself from reaching into the temptation of going into creative mode. Well fret no more. This mod allows you to do just that.
How to use
On a server you can ban commands in the mod's config commandlocker-common.toml by typing into the square brackets the command you want to block (remember to use "") ie ["tp"]
or if you want to block multiple commands just add a ',' ie ["tp", "gamemode"].
Sub commands can be blocked instead of banning the full command for example ["tp", "teleport", "gamemode creative", "ban User"]
This mod can be used in a singleplayer world too with an in game config screen accessed via Mods → Command Locker → Config.
You do not need to restart your server for the config to be updated.
The commands will be blocked on saving the config file
Available Versions
How to Install NeoForge Command Blocker on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set neoforge Loader
In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "NeoForge Command Blocker". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
NeoForge Command Blocker server crashes on startup – what to do?
Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is NeoForge Command Blocker compatible with neoforge?
NeoForge Command Blocker officially supports neoforge for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with NeoForge Command Blocker – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if NeoForge Command Blocker 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 NeoForge Command Blocker with just one click on your server.