DonutVanish 已停止更新 - 在此查看高级版以获取持续支持和高级功能(API、更多自定义等)-
问题与建议
访问我们的 Discord 反馈任何问题或提出建议!
本插件包含多个实用的切换选项,如果启用,将允许管理员根据不同的情况个性化他们在隐身模式下的体验。
功能
- 玩家独立设置(见下文)
- 通过 MySQL 数据库实现跨服务器支持
- 伪造加入/离开消息
- 在隐身时隐藏容器打开动画
- 在隐身时隐藏鞘翅火箭推进效果
- 可自定义的消息
- 等等!
设置
| 设置项 | 描述 |
|---|---|
| DISABLE_JOIN_MESSAGES | 禁用 Minecraft 的加入/离开消息 |
| DISABLE_ITEM_PICKUP | 防止拾取物品或经验球 |
| DISABLE_ITEM_DROP | 防止丢弃物品 |
| DISABLE_BLOCK_BREAK | 防止自己在隐身状态下破坏方块 |
| DISABLE_BLOCK_DETECTION | 防止被绊线钩、压力板等检测 |
| VANISH_STATUS | 如果启用,隐身时将显示操作栏消息 |
| LOGIN_VANISH | 启用后登录时始终处于隐身状态 |
| PERSIST_VANISH | 如果你在隐身状态下登出,下次登录时仍将保持隐身 |
| FAKE_JOIN_MESSAGE | 隐身时发送伪造的加入/离开消息 |
| DISABLE_ATTACK | 防止自己在隐身状态下攻击生物或玩家 |
| DISABLE_CHAT | 防止自己发送消息 |
如果你的服务器使用自定义消息系统,可以在配置文件中更改伪造的加入/离开消息。大多数其他消息也可以进行配置。
命令
| 命令 | 描述 |
|---|---|
| /v, /v enable, /v disable | 切换隐身状态 |
| /v settings <setting> | 更改个人设置 |
| /vadmin enable <player> | 为其他玩家启用隐身,忽略权限检查 |
| /vadmin disable <player> | 为其他玩家禁用隐身 |
| /vadmin setting <player> <setting> | 查看/更改其他玩家的设置 |
| /vadmin reset <player> | 重置某玩家的所有设置及其隐身状态 |
| /vadmin reload | 重新加载插件配置和消息 |
权限
| 权限 | 描述 |
|---|---|
| donutvanish.use | 使用 /v 命令的权限 |
| donutvanish.setting.<setting> | 授予玩家编辑特定设置的权限 |
| donutvanish.setting.* | 授予玩家编辑所有设置的权限 |
| donutvanish.see.<weight> | 允许某人看到权重比自己低的隐身玩家,并在其隐身时收到通知 |
| donutvanish.see.messages.<weight> | 允许某人在权重比自己低的玩家隐身时收到通知 |
如果你不希望你的管理人员能够更改设置,要么不给他们相关权限,要么在配置文件中禁用玩家独立设置。
PlaceholderAPI
PAPI 可用于所有消息中。 内置了一个 PAPI 扩展,目前仅提供 %donutvanish_isvanished%
配置文件
vanish-settings:
per-player-settings: true # 允许管理员更改个别设置
defaults:
# 隐身玩家的默认设置。
# 如果禁用了玩家独立设置,这些将是全局隐身设置
fake-join-messages: true # 隐身时发送伪造的加入/离开消息
persist-vanish: true # 如果隐身登出,下次登录时将保持隐身
login-vanish: false # 登录时始终隐身
disable-join-messages: true # 实际登录或登出时禁用加入/离开消息
disable-item-pickup: false # 防止拾取物品/经验
disable-item-drop: false # 防止丢弃物品
disable-block-break: false # 防止隐身玩家破坏方块
disable-block-detection: true # 防止压力板、绊线和水下监听器检测到隐身玩家
disable-attack: true # 防止在隐身状态下攻击任何东西
action-bar: true # 在隐身时显示操作栏提醒
actionbar:
enabled: true
interval: 3 # 每次操作栏消息之间的间隔秒数
format: "<gray>You are currently vanished." # 支持 MiniMessage 和 PlaceholderAPI
storage:
# 选项:
# "pdc" - 直接将数据存储在玩家身上(无需设置,仅限单服务器)
# "sqlite" - 在本地文件数据库中存储数据(仅限单服务器)
# "mysql" - 在 MySQL 数据库中存储数据(将所有服务器指向同一实例以实现跨服务器支持)
storage-type: sqlite
sqlite:
file-name: database.db
mysql:
host: localhost
port: 3306
database: donutvanish
username: root
password: ""
use-ssl: false
pool-size: 8
hooks:
essentialsx:
# 功能:防止玩家被标记为 AFK,对拥有权限的玩家在 /list 命令中将隐身玩家标记为隐藏
enabled: true
updater:
check-updates: true # 检查更新?
join-message: true # 当有可用更新时,向聊天中的管理员发送消息
messages:
prefix: "&e[&6DonutVanish&e] "
vanish_enabled: "%prefix%<green>隐身已启用!"
vanish_disabled: "%prefix%<green>隐身已禁用!"
no_permission: "%prefix%<red>你没有权限"
fake_join: "{name} 加入了游戏"
fake_leave: "{name} 离开了游戏"
reload: "%prefix%<green>DonutVanish 已重新加载!"
# 针对拥有 vanishplugin.see 权限的玩家
staff_join_notif: "%prefix%<yellow>{name} <gold>已隐身加入"
staff_leave_notif: "%prefix%<yellow>{name} <gold>已隐身离开"
staff_vanish_fake_notif: "%prefix%<yellow>{name} <gold>使用虚假离开消息进行隐身"
staff_unvanish_fake_notif: "%prefix%<yellow>{name} <gold>使用虚假加入消息解除隐身"
staff_vanish_notif: "%prefix%<yellow>{name} <gold>已隐身"
staff_unvanish_notif: "%prefix%<yellow>{name} <gold>已解除隐身"
compatibility:
join-listener-priority: "HIGHEST" # 除非您清楚自己在做什么,否则请勿修改。
DonutVanish is no longer receiving updates - View the premium version here for continued support and premium features (API, More customization, etc.) -
Issues & Suggestions
Visit our Discord for any issues or suggestions!
This plugin has several useful toggles that (if enabled) will allow staff members to personalize their experience in vanish for each situation.
Features
- Per-player settings (see below)
- Cross-server support via MySQL database
- Fake join/leave messages
- Hide container opening while vanished
- Hide elytra rocket boosts while vanished
- Customizable messages
- much more!
Settings
| Setting | Description |
|---|---|
| DISABLE_JOIN_MESSAGES | Disable minecraft messages from joining/leaving while in vanish |
| DISABLE_ITEM_PICKUP | Prevents items or exp orbs from being picked up |
| DISABLE_ITEM_DROP | Prevents items from being dropped |
| DISABLE_BLOCK_BREAK | Prevent yourself from breaking blocks in vanish |
| DISABLE_BLOCK_DETECTION | Prevent being detected by tripwire hooks, pressure plates, etc. |
| VANISH_STATUS | If enabled, an actionbar message will appear while in vanish |
| LOGIN_VANISH | Enable to ALWAYS be vanished on login |
| PERSIST_VANISH | If you log out while vanished, you will log in vanished |
| FAKE_JOIN_MESSAGE | Send fake join/leave messages when vanishing |
| DISABLE_ATTACK | Prevent yourself from attacking mobs or players while in vanish |
| DISABLE_CHAT | Prevent yourself from sending messages |
The fake join/leave messages can be changed in the config if your server uses custom messaging. Most other messages can also be configured
Commands
| Command | Description |
|---|---|
| /v, /v enable, /v disable | Change vanish state |
| /v settings <setting> | Change personal settings |
| /vadmin enable <player> | Enable vanish for another player, ignoring permissions |
| /vadmin disable <player> | Disable vanish for another player |
| /vadmin setting <player> <setting> | View/change settings for another player |
| /vadmin reset <player> | Resets all of a player's settings and their vanish state |
| /vadmin reload | Reload plugin config and messages |
Permissions
| Permission | Description |
|---|---|
| donutvanish.use | Permission to use /v command |
| donutvanish.setting.<setting> | Give players permission to edit a setting |
| donutvanish.setting.* | Give players permission to edit all settings |
| donutvanish.see.<weight> | Allow someone to see vanished players with a lower weight than themselves, as well as be notified of when they vanish |
| donutvanish.see.messages.<weight> | Allow someone to be notified of when a player with a lower weight vanishes |
If you don't want to give your staff members access to change settings, either dont give them permissions or disable per-player-settings in config.
PlaceholderAPI
PAPI can be used in all messages. A PAPI extension is also built in, currently only providing %donutvanish_isvanished%
Config
vanish-settings:
per-player-settings: true # Allow staff to change individual settings
defaults:
# Default settings for vanished players.
# If per-player settings are disabled, these are the global vanish settings
fake-join-messages: true # Send fake join/leave messages when vanishing
persist-vanish: true # If you log out vanished, you stay vanished next login
login-vanish: false # Always vanish on login
disable-join-messages: true # Disable join/leave messages when actually logging in or out
disable-item-pickup: false # Prevent picking up items/exp
disable-item-drop: false # Prevent dropping items
disable-block-break: false # Prevent vanished players from breaking blocks
disable-block-detection: true # Prevent pressure plates, tripwires, and sculk sensors from detecting vanished players
disable-attack: true # Prevent attacking things in vanish
action-bar: true # Show the actionbar reminder while vanished
actionbar:
enabled: true
interval: 3 # Seconds between each actionbar message
format: "<gray>You are currently vanished." # Supports MiniMessage and PlaceholderAPI
storage:
# Options:
# "pdc" - Store data directly on the player (no setup required, single server only)
# "sqlite" - Store data in a local file-based database (single server only)
# "mysql" - Store data in a MySQL database (point every server at the same instance for cross-server support)
storage-type: sqlite
sqlite:
file-name: database.db
mysql:
host: localhost
port: 3306
database: donutvanish
username: root
password: ""
use-ssl: false
pool-size: 8
hooks:
essentialsx:
# Features: Prevent players from being marked afk, mark vanished players as hidden on /list command for those w/ permission
enabled: true
updater:
check-updates: true # Check for updates?
join-message: true # Send a message to admins in chat when an update is available
messages:
prefix: "&e[&6DonutVanish&e] "
vanish_enabled: "%prefix%<green>Vanish enabled!"
vanish_disabled: "%prefix%<green>Vanish disabled!"
no_permission: "%prefix%<red>You do not have permission"
fake_join: "{name} has joined the game"
fake_leave: "{name} has left the game"
reload: "%prefix%<green>DonutVanish reloaded!"
# For players with vanishplugin.see permission
staff_join_notif: "%prefix%<yellow>{name} <gold>has joined while vanished"
staff_leave_notif: "%prefix%<yellow>{name} <gold>has left while vanished"
staff_vanish_fake_notif: "%prefix%<yellow>{name} <gold>has vanished with a fake leave message"
staff_unvanish_fake_notif: "%prefix%<yellow>{name} <gold>has unvanished with a fake join message"
staff_vanish_notif: "%prefix%<yellow>{name} <gold>has vanished"
staff_unvanish_notif: "%prefix%<yellow>{name} <gold>has unvanished"
compatibility:
join-listener-priority: "HIGHEST" # Do not touch unless you know what you're doing.
下载 DonutVanish
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DonutVanish
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DonutVanish
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DonutVanish
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DonutVanish
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DonutVanish
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DonutVanish
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DonutVanish
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DonutVanish
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DonutVanish
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
新功能:
DISABLE_CHAT设置。在隐身状态下阻止发送聊天消息- 可以通过使用前缀
!(可在配置文件中自定义)快速绕过,例如 "this isnt sent"、"!this is sent" - 将前缀设置为空或空格将禁用此绕过功能
- 可以通过使用前缀
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧