Home›Java›Mods›SunshineCommandGuard
SunshineCommandGuard
ModsJava

SunshineCommandGuard

Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

SunshineCommandGuard Command Visibility & Security for Paper & Folia Servers Hide commands from tab-complete, block unauthorized execution, and keep your…

⬇ Download on Spigot
SunshineCommandGuard
Command Visibility & Security for Paper & Folia Servers
Hide commands from tab-complete, block unauthorized execution, and keep your server's plugin stack private — all with per-group rules and tools that explain exactly why a command is visible, hidden, allowed, or blocked.
Minecraft servers often expose far more command information than players actually need. Plugin commands, administrative tools, aliases, and namespaced commands can appear through tab-complete or commands such as /plugins and /version.
SunshineCommandGuard gives server owners direct control over that visibility without requiring you to redesign your existing permission setup.
Features
Screenshots
All screenshots below were taken on a live production server.
Allowed — a whitelisted command completes normally.
[​IMG]
Hidden — the command does not appear in the player's normal tab-complete suggestions while remaining runnable when your rules allow it.
[​IMG]
Blocked — a command outside the player's allowed rules is rejected as an unknown command.
[​IMG]
Server privacy — /plugins returns your configured response instead of exposing the real plugin list.
[​IMG]
Requirements
Players with the bypass permission or OP status skip filtering, so always test your setup with a non-OP account.
Installation
  1. Download SunshineCommandGuard-2.0.1.jar.
  2. Place it inside your server's plugins/ folder.
  3. Start the server once to generate the default configuration.
  4. Configure your rules using one of the following:
    • Run /cmdguard editor to configure commands visually in the Live Web Studio and apply with /cmdguard apply <code>
    • Run /cmdguard setup in-game for the interactive setup wizard
    • Run /cmdguard import commandwhitelist if migrating from CommandWhitelist
    • Or edit plugins/SunshineCommandGuard/config.yml directly
  5. Test your rules before enabling them:
    Code (Text):
    /cmdguard test <player> <command>
  6. Then enable the plugin in config.yml:
    Code (Text):
    enabled: true
  7. And reload:
    Code (Text):
    /cmdguard reload
Important
A badly configured command filter can leave players with few or no visible commands. For this reason, SunshineCommandGuard ships with:
Code (Text):
enabled: false
Always verify your default group with a non-OP test account before enabling filtering.
Configuration Example
Code (Text):
enabled: true
bypass-permission: "sunshine.cmdguard.bypass"
permission-sync: false
privacy:
  plugins-command:
    enabled: true
    message: "<red>Unknown command. Type <white>/help <red>for help."
    aliases: [plugins, pl, "bukkit:pl", "bukkit:plugins", ver, version, about, icanhasbukkit]
  help-command:
    enabled: true
    message: "<yellow>Type <white>/help <yellow>for a list of commands."
    aliases: ["?", "bukkit:help", "minecraft:help"]
anti-enumeration:
  enabled: true
  hide-namespaced-commands: true
  block-namespaced-execution: true
  block-completion-probes: true
  namespace-allowlist: []
groups:
  default:
    priority: 0
    blocked-message: "<red>Unknown command."
    commands:
      - help
      - spawn
      - msg
      - "regex:^(msg|tell|w|r|reply)$"
      - "!op"
      - "!stop"
    hidden: []
    args: {}
    worlds: []
Update Notifications
By default, CommandGuard can check the official GitHub Releases page for newer versions:
Code (Text):
updates:
  enabled: true
  notify-console: true
  notify-admins: true
When a newer release is available, the console and authorized administrators receive a notification.
SunshineCommandGuard never automatically downloads, replaces, or installs plugin updates. Disabling updates.enabled disables the external update check entirely.
More Information
License
GPL-3.0
Derivative works must remain open source under the terms of the license.
Issues and pull requests are welcome.

Commands

Plugin details

Read from the plugin's own plugin.yml.

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.

SunshineCommandGuard is a free Minecraft Java mod. Compatible with Minecraft 1.21, 26.2. Downloaded 142 times (via Spigot). Download it and open it directly in the game.

Explore more