Hide Commands

A simple plugin for Minecraft that hides commands for players who do not have privileges to use those commands.

291

Hide Commands

Introduction

Hide Commands is a simple and lightweight Hide Commands plugin designed to enhance server security and privacy by hiding commands from players who lack the necessary permissions to use them. With this plugin, commands are concealed in such a way that unauthorized players cannot determine whether a specific command exists or not.

An example of how it works

If a player who does not have privileges to use the `/op` command, uses this command then instead of the information about the lack of privileges to execute this command, a message will be displayed saying that the `/op` command does not exist.

On the other hand, if the player uses a command that does not exist (for example, `/unexists-command`) he will also receive the same message informing that the command does not exist.

Receiving two identical messages in the case of an existing and non-existing command will result in the player not being able to determine whether the command actually exists or not, and if the player knows the plugin-specific commands he will also not be able to determine whether the plugin exists on the server or not.

Installation

Requirements

- Others<sup id="r-1">[[1]](#n-1)</sup>: Versions 1.7.2 through 1.16.5 - Others: Others 1.7.2+ or %%MD1%%/%%MD2%% 1.7.2+ - Others<sup id="r-2">[[2]](#n-2)</sup>: Version 8 (1.8) or higher - Others: %%MD3%%<sup id="r-3">[[3]](#n-3)</sup> plugin

Step by step

1. Download the plugin: * Go to the Download the plugin: section on GitHub. * Download the latest version of the `.jar` plugin file ( e.g. `hide-commands-v0.1.0.jar`)

2. Prepare the server: * Make sure you have a working Prepare the server: game server based on the platform %%MD1%%, %%MD2%% or %%MD3%%

3. Place the file on the server: * Open your Place the file on the server: game server directory. * Go to the `plugins`<sup id="r-4">[[4]](#n-4)</sup> directory. * Copy the downloaded `.jar` file to the `plugins` directory.

4. Start the server: * Start or restart the Start the server: game server, to load the plugin. * Check the server console to make sure the plugin was loaded without errors.

5. Configuration (optional): * After starting the server, find the `plugins/hide-commands` directory in your server directory. * Edit the `settings.properties` configuration file to customize the plugin settings to your individual needs.

Now you are ready to use the HideCommands plugin. If you have any problems, check the support sections or contact us.

License

This project is licensed under the MIT License. This means you are free to use, modify, and distribute the code in both private and commercial projects, as long as you include the original license in any substantial portions of the code.

For more details, please refer to the full license text in the LICENSE file.

Footnotes

1. ↑ <span id="n-1">The plugin has been tested from version 1. 7.2 up to version 1.16.5, but this does not prove that the plugin will malfunction on versions below 1.7.2 or above 1.16.5.</span>

2. ↑ <span id="n-2">The plugin was compiled in Java version 8 (1.8) this means that it will work on any newer version of Java but may (not necessarily) not work in older versions of Java.</span>

3. ↑ <span id="n-3">The plugin uses the ProtocolLib library to ensure compatibility between different versions of Minecraft.</span>

4. ↑ <span id="n-4">Depending on your settings, the `plugins` directory may be named differently, the `plugins` directory name is the default directory name that stores all plugins on the server.</span>

ADS