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.
config/permbridge.json.(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. ---
By default, when the server starts for the first time, the mod automatically blocks the following commands:
/tp (teleport)/gamemode/give/timeYou can edit the initial list or add/remove players by directly modifying the config/permbridge.json file.