
Spectre 是一款 Minecraft 插件,允许玩家控制附近玩家的可见性。
测试版本:1.21, 1.20.6, 1.20, 1.19.4, 1.18.2
本插件仍在开发中,可能包含错误。请自行承担使用风险。该插件在大量玩家同时在线时的性能影响尚不明确。
本插件依赖 PacketEvents v2.4 来拦截数据包并修改玩家的可见性。
功能
- 三种可见性模式:消失 (Vanish)、幽灵 (Ghost) 和 隐形 (Invisible)
- 三种盔甲可见性模式:可见、隐藏 和 仅靴子 (Boots)
- 为每个玩家自定义隐藏半径
- 切换附近玩家的可见性
- 绕过可见性限制
- 管理员命令可设置其他玩家的可见性模式、盔甲可见性和隐藏半径
- 每个命令和功能都有权限控制访问
- 可自定义消息
演示
可见性模式:幽灵 (Ghost),盔甲:仅靴子 (Boots)

可见性模式:幽灵 (Ghost),盔甲:可见

可见性模式:幽灵 (Ghost),盔甲:隐藏

可见性模式:隐形 (Invisible),盔甲:仅靴子 (Boots)

命令
| 命令 |
描述 |
权限 |
/spectre [help] |
显示帮助信息 |
spectre.use |
/spectre set mode <vanish|ghost|invisible> |
更改可见性模式 |
spectre.mode |
/spectre set armor <visible|hidden|boots> |
更改盔甲可见性 |
spectre.armor |
/spectre set radius <radius> |
设置隐藏半径 |
spectre.radius |
/spectre set <mode|armor|radius> <value> [player] |
为自己或其他玩家设置值 |
spectre.admin |
/spectre version |
显示插件版本并检查更新 |
spectre.admin |
/spectre info [player] |
显示玩家配置信息 |
spectre.admin |
权限
| 权限 |
描述 |
spectre.use |
允许玩家使用 spectre 命令 |
spectre.toggle |
允许玩家切换附近玩家的可见性 |
spectre.mode |
允许玩家更改可见性模式 |
spectre.armor |
允许玩家更改盔甲可见性 |
spectre.radius |
允许玩家更改隐藏半径 |
spectre.bypass |
允许玩家绕过可见性限制 |
spectre.admin |
允许使用管理员命令 |
安装
要安装此插件,请从 发布页面 下载最新版本,并将其放入服务器的 plugins 文件夹中。此外,请确保将 PacketEvents 也安装在 plugins 文件夹中。
配置
所有消息均可在 config.yml 文件中进行自定义。默认配置文件可在 此处 找到。
bStats
本插件使用 bStats 收集服务器的匿名数据,以帮助改进开发过程。您可以在 plugins/bStats/config.yml 文件中禁用此功能,或在 config.yml 文件中将 enabled 设置为 false。

Spectre is a Minecraft plugin that allows the player to control the visibility of nearby players.
Tested on: 1.21, 1.20.6, 1.20, 1.19.4, 1.18.2
This plugin is still in development and may contain bugs. Use at your own risk. The performance impact of this plugin when used with a large number of players is still unknown.
This plugin is dependent on PacketEvents v2.4 to intercept packets and modify the player's visibility.
Features
- Three visibility modes: Vanish, Ghost, and Invisible
- Three armor visibility modes: Visible, Hidden, and Boots
- Custom hiding radius per player
- Toggle the visibility of nearby players
- Bypass the visibility restrictions
- Admin commands to set the visibility mode, armor visibility, and hiding radius for other players
- Permissions for each command and feature to control access
- Customizable messages
Demo
Visibility mode: Ghost, Armor: Boots

Visibility mode: Ghost, Armor: Visible

Visibility mode: Ghost, Armor: Hidden

Visibility mode: Invisible, Armor: Boots

Commands
| Command |
Description |
Permission |
/spectre [help] |
Display the help message |
spectre.use |
/spectre set mode <vanish|ghost|invisible> |
Change the visibility mode |
spectre.mode |
/spectre set armor <visible|hidden|boots> |
Change the visibility of armor |
spectre.armor |
/spectre set radius <radius> |
Set the hiding radius |
spectre.radius |
/spectre set <mode|armor|radius> <value> [player] |
Set a value for yourself or another player |
spectre.admin |
/spectre version |
Display the plugin version and check for updates |
spectre.admin |
/spectre info [player] |
Display information about the players configuration |
spectre.admin |
Permissions
| Permission |
Description |
spectre.use |
Allows the player to use spectre command |
spectre.toggle |
Allows the player to toggle the visibility of nearby players |
spectre.mode |
Allows the player to change the visibility mode |
spectre.armor |
Allows the player to change the visibility of armor |
spectre.radius |
Allows the player to change the hiding radius |
spectre.bypass |
Allows the player to bypass the visibility restrictions |
spectre.admin |
Allows the to use admin commands |
Installation
To install the plugin, download the latest release from the releases page and place it in the plugins folder of your server. Also, make sure to install PacketEvents in the plugins folder.
Configuration
All messages can be customized in the config.yml file. The default configuration can be found here.
bStats
This plugin uses bStats to collect anonymous data about the server to help the development process. You can disable this feature in the plugins/bStats/config.yml file or by setting enabled to false in the config.yml file.
评论 0
登录后参与评分
还没有评论,来抢沙发吧