简介
Hide Commands 是一款简单轻量级的 Minecraft 插件,旨在通过向没有相应权限的玩家隐藏命令来增强服务器的安全性和隐私性。使用该插件后,命令将被隐藏,使得未经授权的玩家无法确定某个特定命令是否存在。
工作原理示例
如果一名没有使用 /op 命令权限的玩家尝试执行该命令,系统将不会显示“缺乏执行此命令的权限”的信息,而是提示 /op 命令不存在。
另一方面,如果玩家输入了一个不存在的命令(例如 /unexists-command),他也会收到相同的提示,告知该命令不存在。
在面对存在与不存在的命令时,由于收到的提示信息完全相同,玩家将无法判断该命令是否真正存在。此外,即使玩家知晓该插件特有的命令,也无法确定服务器上是否安装了该插件。
安装
要求
逐步指南
-
下载插件:
- 前往 GitHub 上的 release 页面。
- 下载最新版本的
.jar 插件文件(例如 hide-commands-v0.1.0.jar)。
-
准备服务器:
-
将文件放置到服务器中:
- 打开你的 Minecraft 游戏服务器目录。
- 进入
plugins[4] 目录。
- 将下载的
.jar 文件复制到 plugins 目录中。
-
启动服务器:
- 启动或重启 Minecraft 游戏服务器以加载插件。
- 检查服务器控制台,确保插件已无错误地加载。
-
配置(可选):
- 服务器启动后,在你的服务器目录中找到
plugins/hide-commands 目录。
- 编辑
settings.properties 配置文件,根据你的个人需求自定义插件设置。
现在你已经准备好使用 HideCommands 插件了。如果遇到任何问题,请查看支持部分或联系我们。
许可协议
本项目采用 MIT License 许可。这意味着你可以在私人项目和商业项目中自由使用、修改和分发代码,前提是在代码的任何实质性部分中包含原始许可证。
更多详细信息,请参阅 LICENSE 文件中的完整许可文本。
脚注
-
↑ 该插件已在 1.7.2 至 1.16.5 版本之间进行过测试,但这并不证明该插件在低于 1.7.2 或高于 1.16.5 的版本中会出现故障。
-
↑ 该插件使用 Java 版本 8 (1.8) 编译,这意味着它可以在任何更新版本的 Java 上运行,但在旧版本的 Java 上可能(不一定)无法工作。
-
↑ 该插件使用 ProtocolLib 库来确保不同 Minecraft 版本之间的兼容性。
-
↑ 根据你的设置,plugins 目录的名称可能会有所不同,plugins 目录名称是服务器上存储所有插件的默认目录名。
Introduction
Hide Commands is a simple and lightweight
Minecraft 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
Step by step
-
Download the plugin:
- Go to the release
section on GitHub.
- Download the latest version of the
.jar plugin file (
e.g. hide-commands-v0.1.0.jar)
-
Prepare the server:
-
Place the file on the server:
- Open your Minecraft game server directory.
- Go to the
plugins[4] directory.
- Copy the downloaded
.jar file to the plugins directory.
-
Start the server:
- Start or restart the Minecraft game server,
to load the plugin.
- Check the server console to make sure the plugin was loaded without errors.
-
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
-
↑ 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.
-
↑ 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.
-
↑ The plugin uses the ProtocolLib library to
ensure compatibility between different versions of Minecraft.
-
↑ 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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧