
Banned Commands
Server mod to prohibit configured commands based on dimension
About this Mod
This is a simple mod that prevents commands from being run based on what dimension the player is in, regardless if the player has access to the command through a different permission management mod. Players with a permission level of 2 or more (ops) are exempt from restrictions.
This example config prevents /warp and /rtp from being used in the overworld, as well as any added parameters, such as /warp spawn. This also prevents /spawn from being used in all dimensions by default except for the overworld. The config is read from /config/bannedcommands.json and is automatically created if it does not exist.
{
"default": {
"denyMessage": "&cYou cannot use that command here.",
"commands": [
"spawn"
]
},
"minecraft:overworld": {
"denyMessage": "&cNo teleports in the overworld.",
"commands": [
"warp",
"rtp"
]
}
}
Commands (level 2/op only):
- /bannedcommands reload : Reloads the config
- /bannedcommands status : Displays the dimension id and commands listed for that dimension, for debugging purposes
This mod is open source and was created for the Cherry Cobblemon server: https://discord.gg/95mxCabJWf
Available Versions
How to Install Banned Commands on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 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 "Banned Commands". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+8 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Banned Commands 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 3 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 Banned Commands compatible with fabric?
Banned Commands officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Banned Commands – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Banned Commands 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 Banned Commands with just one click on your server.