HomeJavaModsCommand Whitelist - DonutSMP like
ModsJava

Command Whitelist - DonutSMP like

by andrey5650 · on Modrinth

Hide and block all commands except the ones you explicitly allow. Removes blocked commands from tab completion, command lists, and execution.

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 26.1.2–26.2 · Folia⬇ Download for 26.1–26.1.1 · Folia⬇ Download for 1.21.2–1.21.11 · Folia⬇ Download for 26.1.2–26.2 · Paper⬇ Download for 26.1–26.1.1 · Paper⬇ Download for 1.21.2–1.21.11 · Paper⬇ Download for 1.21.3–26.1.2 · Purpur
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Command Whitelist gives server administrators complete control over which commands players can access. Instead of merely denying execution, blocked commands are completely hidden from players:

Removed from tab completion - Removed from the client's command list - Silently blocked when executed - Optional action bar feedback message - Optional sound effect

This makes it ideal for:

Minigame servers - SMPs with restricted command access - Network hubs

✅ Whitelist only the commands you want players to use

✅ Hidden from tab completion

✅ Hidden from the client's command list

✅ Configurable action bar message

✅ Configurable sound effect

✅ Permission-based bypass

✅ Lightweight and simple configuration

✅ Supports namespaced commands automatically

Commands

Command - /commandwhitelist reload (Reload the plugin) Permission - commandwhitelist.reload

Players with commandwhitelist.bypass are completely exempt from the whitelist.

Requirements

Java 25+

Support

Found a bug or have a feature request?

Host your server for cheap!

⛈ STORMNODES | Cheap & reliable Minecraft hosting! ⚡ High performance • 24/7 uptime • &7DDoS protection • instant setup 🎁 Use code FIRENETWORK for 5% OFF at STORMNODES 🚀

Check out my minecraft survival server: FireNetwork.sbs (1.21+)

Discord: andrey565_0 (you can buy the same plugin on Built By Bit to support me)

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more