> For the complete documentation index, see [llms.txt](https://quickfire-corp.gitbook.io/ncpf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quickfire-corp.gitbook.io/ncpf/guides/getting-started/configuration/protection.md).

# Protection

Here you can hide your plugins from being sniffed out using some simple tricks.

### No permission

Add commands to have the configured message be sent to players, who try to use this command, but who don't have permission to use it. In order to protect commands that don't have a permission set, NCP will set a filter permission 'nocheatplus.filter.command.lc-command', with lc-command being the lower case command name.

| message  | The message to display, instead of the 'no permission' message.                                                                                                                                                               |
| -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| commands | List of commands. NoCheatPlus tries to detect aliases, but you should test them to be sure, including aliases like 'minecraft:op' and 'otherplugin.chathistory'. Currently sub-commands like 'cs reload' can not be detected. |

### Unknown Command

Add commands to have the configured message be sent to players, who try to use this command, but who don't have permission to use it. In order to protect commands that don't have a permission set, NCP will set a filter permission 'nocheatplus.filter.command.lc-command', with lc-command being the lower case command name.

| message  | The message to display, instead of the 'no permission' message.                                                                                                                                                               |
| -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| commands | List of commands. NoCheatPlus tries to detect aliases, but you should test them to be sure, including aliases like 'minecraft:op' and 'otherplugin.chathistory'. Currently sub-commands like 'cs reload' can not be detected. |

## Commands

### Console only

| message  | Message to display, if a player tries to use this command in-game. This will display, regardless of the player having permissions or not.                                                                                   |
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| commands | <p>Commands to not be run from in-game. NoCheatPlus will attempt to fetch the original command label, but you should test aliases for the commands to be sure, e.g. 'minecraft:op'<br>or 'otherplugin:reload fromhttp'.</p> |

{% hint style="warning" %}
Use the protection bypass permission if you want curtain players/groups to bypass your plugin protection.
{% endhint %}

**References**

* [Permissions](/ncpf/guides/getting-started/configuration/permissions.md)
