Blacks NightVision
Blacks NightVision 是一款轻量且简单的 Minecraft 插件,旨在为玩家提供一种通过命令轻松切换夜视效果的方法。管理员拥有额外的控制权限,可以管理并为所有玩家禁用此功能。
如果您发现与其他插件存在不兼容的情况,请加入我的 Discord 告知我。
功能
- 使用
/nv 为自己切换夜视效果
- 管理员可以使用
/nvfulltoggle 为所有玩家禁用/启用夜视功能
命令
| 命令 |
权限 |
描述 |
/nv |
none |
切换使用该命令玩家的夜视效果。 |
/nvfulltoggle |
nv.fulltoggle |
全局切换玩家使用 /nv 的能力。 |
待办事项:
- toggle 命令:已完成
- fulltoggle 命令:已完成
- 针对每个玩家的禁用命令:开发中
权限
nv.fulltoggle — 允许玩家使用管理员命令 /nvfulltoggle。
安装
- 从 Modrinth 下载该插件的最新发布版本。
- 将下载的
.jar 文件放入服务器的 plugins 文件夹中。
- 重启服务器。
配置
该插件没有额外的配置文件,保持简单和轻量。但是,请确保玩家被分配了正确的权限以使用这些命令。
用法
- 玩家:要切换夜视效果,只需使用命令
/nv。
- 管理员:要全局切换所有玩家使用
/nv 的能力,请使用命令 /nvfulltoggle。
示例
-
启用夜视效果:
/nv
此命令启用或禁用使用该命令玩家的夜视效果。
-
禁止所有玩家使用夜视切换(管理员命令):
/nvfulltoggle
此命令阻止所有玩家使用 /nv 命令,全局禁用夜视功能。再次执行它将重新启用该功能。
权限设置(推荐)
permissions:
nv.fulltoggle:
description: 允许管理员全局切换 /nv 的使用。
default: op
支持与问题反馈
如果您发现任何问题或错误,或者有任何建议,欢迎在 Discord 上提交 Issue。
Blacks NightVision
Blacks NightVision is a lightweight and simple Minecraft plugin designed to provide players with an easy way to toggle Night Vision using commands. Admins have additional controls to manage and disable this feature for all players.
if you find any incompatibility with another plugin please let me know by joining my Discord.
Features
- Toggle Night Vision for yourself using
/nv
- Admins can disable/enable the night vision feature for all players using
/nvfulltoggle
Commands
| Command |
Permission |
Description |
/nv |
none |
Toggles Night Vision for the player who uses the command. |
/nvfulltoggle |
nv.fulltoggle |
Toggles the ability of players to use /nv globally. |
TODO:
- toggle command: done
- fulltoggle command: done
- disable command for every player: working
Permissions
nv.fulltoggle — Allows the player to use the admin command /nvfulltoggle.
Installation
- Download the plugin's latest release from Modrinth.
- Place the downloaded
.jar file into your server's plugins folder.
- Restart the server.
Configuration
The plugin has no additional configuration files, keeping it simple and lightweight. However, ensure players are assigned the correct permissions to use the commands.
Usage
- Players: To toggle Night Vision, simply use the command
/nv.
- Admins: To globally toggle the ability for all players to use
/nv, use the command /nvfulltoggle.
Examples
-
Enabling Night Vision:
/nv
This command enables or disables Night Vision for the player who uses it.
-
Disabling Night Vision Toggle for All (Admin Command):
/nvfulltoggle
This command prevents all players from using the /nv command, globally disabling the Night Vision feature. Executing it again will re-enable the feature.
Permissions Setup (Recommended)
permissions:
nv.fulltoggle:
description: Allows admins to globally toggle the use of /nv.
default: op
Support & Issues
If you find any issues or bugs, or if you have suggestions, feel free to open an issue on the Discord.
评论 0
登录后参与评分
还没有评论,来抢沙发吧