Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for SKStudio

Hide Tab Commands

Report SK-Command-Blocker?

SK Command Blocker

Command Blocker trims the command list a player sees when they type a slash, so tab completion offers only the commands you want players to use instead of every vanilla command, alias and plugin internal. It is an allow-list you can extend per rank, with an optional hard block for everything else.

How it looks in game

The banner above shows it on a real server: the slash list before and after, a hidden command refused above the hotbar, and a hidden command turning red while typing - the client does not even know it exists.

Getting started in three steps

  1. Put the jar into plugins/ and restart. Tab completion is filtered right away with the shipped list.
  2. Open plugins/SKCommands/visible.yml and add the commands of your other plugins - one name per line, without the slash.
  3. Run /skcommands reload. Every online player gets the new list at once, no rejoin needed.

What it does

  • Removes everything that is not on your allow-list from the command list the client receives when it joins. The list is the file visible.yml: names without the slash, aliases as separate entries, one name also covers its namespaced form.
  • Hides namespaced copies such as minecraft:me or luckperms:lp (hide-namespaced, on by default).
  • visible.yml ships with 146 names: help, me, msg, tell, w, trigger and the commands of the SK Studio plugin line. It is a starting point - add the commands of your other plugins.
  • Hiding is not blocking: by default a player who knows a hidden command can still type it. Set block-hidden: true (off by default) to also refuse commands that are not on the list. The refusal shows above the hotbar, in chat or both (hidden-display, default actionbar) and reads like an unknown command. The console and command blocks are never affected.
  • Players with skcommands.see-all see and run everything, so a gap in the list cannot lock your staff out. Set enabled: false to switch the filter off while you look for the cause of a missing command.

Extra commands per rank

  • Under groups: in visible.yml, give a rank more commands (for example /live for media, /mute for helpers). Each group has a permission (default skcommands.group.<name>, or any node such as a LuckPerms group.<rank>), a commands list and include-default (true adds to the main list, false shows only the group's commands).
  • A player in several groups gets all of them. With block-hidden on, a player can run exactly what they see.
  • LuckPerms re-sends the command list after a rank change by itself. With another permissions plugin use /skcommands refresh.

Commands and permissions

  • /skcommands reload - re-reads settings.yml and visible.yml and sends every online player a fresh list; warns if a file has a YAML error. Permission skcommands.admin, default: op.
  • /skcommands refresh <player|all> - re-sends the list without reading files. Permission skcommands.admin.
  • skcommands.see-all (default: op) and skcommands.group.<name> (default: nobody, operators included). The admin and see-all permission names can be changed in settings.yml.

Placeholders (PlaceholderAPI)

  • For an online player: %skcommands_filtered%, %skcommands_sees_all%, %skcommands_blocked%, %skcommands_status% and %skcommands_groups% (the groups they hold).
  • For the server: %skcommands_visible% (names on the list), %skcommands_enabled% and %skcommands_block_hidden%. Handy for the support question "why can I not see /shop".

Setup and compatibility

  • No required dependencies; PlaceholderAPI and LuckPerms are optional. If visible.yml has a YAML error, the shipped list is used until you fix it and the console says so.
  • Languages: English and German. visible.yml is not translated, so switching the language keeps your list.
  • Spigot, Paper and Folia, Minecraft 1.21 to 26.x.

No licence key, no phone-home. If it works for you, following the project means a lot.

Information

Category
Admin Tools
Published
December 3, 2026
License
All Rights Reserved
0Downloads
0Stars
Supports Folia

Pinned Versions

Members

1