Banned Commands

Banned Commands

Server mod to prohibit configured commands based on dimension

by
66 Downloads
fabricmanagementutility
Rent Server with this Mod

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

Banned Commands 1.0.0release
MC 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
February 27, 2026

How to Install Banned Commands on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

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

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+8 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install Banned Commands with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 or later
Server-side
Required

Supported Versions

1.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.2+1 more