CommandBlocker (Forge)

A lightweight server mod that allows blocking specific commands (such as /gamemode, /tp, /give)—even for operators (OP)—with an in-game bypass whitelist.

RestrictiveCommands (Forge)

RestrictiveCommands is a lightweight mod designed specifically for dedicated server administrators on Minecraft Forge 1.20.1.

Do you have issues with operators (OPs) abusing commands like /gamemode or /give, or do you simply want to restrict the /tp command? This mod allows you to block commands globally (for both regular users and admins/OPs) and manage an exception list (allowed users) so that only the people you choose can use them.


APOYO

      Apoyar en Buy Me a Coffee  

🚀 Features

  • Total blocking: When you block a command, no one can use it (not even level 4 OPs) unless they are on the exception list.
  • Dynamic configuration: Block, unblock, and manage allowed players in real-time, directly from the in-game chat or the console.
  • Persistence: Automatically saves all configuration to config/permbridge.json.
  • Lightweight and compatible: Non-intrusively implemented using native Mixin injections to avoid incompatibilities with other command mods.

🛠️ Admin Commands

(Requires OP level 3 or higher, or server console access)

  • /permbridge block
      Blocks the use of a command (e.g., /permbridge block gamemode or /permbridge block give).

  • /permbridge unblock
      Unblocks the command and restores its original (vanilla) behavior.

  • /permbridge allow
      Adds a player to the exception list (bypass) so they can use blocked commands.

  • /permbridge deny
      Removes a player from the exception list.

  • /permbridge list
      Displays the list of blocked commands and allowed players in the chat. ---

⚙️ Initial Configuration

By default, when the server starts for the first time, the mod automatically blocks the following commands:

  • /tp (teleport)
  • /gamemode
  • /give
  • /time

You can edit the initial list or add/remove players by directly modifying the config/permbridge.json file.

The CommandBlocker (Forge) Team

profile avatar
  • 1
    Projects
  • 18
    Downloads
Donate