ViperX
ViperX 是一款简单的 Minecraft 服务器插件,用于在被封禁时清除玩家物品栏。
概述
ViperX 帮助服务器在封禁时自动清除某些 NBT 数据,例如通过不公平手段获得的物品或自定义 NBT 标签,其处理由 NBTAPI 提供支持。
功能
- 在应用封禁时清除玩家物品栏数据
- 支持 AdvancedBan、LiteBans 以及原版封禁系统
- 从玩家数据中移除自定义 NBT 标签
- 支持自定义封禁时长和时长预设
- 跟踪待处理的清除操作
- 提供仅限管理员的配置菜单
命令
| 命令 | 描述 |
|---|---|
/viperx |
打开管理员主菜单;非管理员将被引导至公共链接菜单 |
/vx |
/viperx 的别名 |
权限
| 权限 | 描述 | 默认值 |
|---|---|---|
viperx.menu.* |
授予访问所有 ViperX 菜单的权限 | op |
viperx.mainMenu |
打开主菜单 | op |
viperx.settings |
打开设置菜单 | op |
viperx.pending |
打开待处理清除菜单 | op |
viperx.links |
打开公共链接菜单 | true |
viperx.banMenu |
打开封禁时长菜单 | op |
依赖
- Bukkit/Spigot/Paper 服务器
NBTAPI
安装
- 下载最新的 ViperX 发布版 JAR 文件。
- 将其放入服务器的
plugins/文件夹中。 - 如果尚未安装
NBTAPI,请进行安装。 - 启动或重启服务器。
配置
首次启动后,ViperX 会生成其配置文件。当前的默认配置包括离线模式警告、封禁时长预设、玩家数据路径以及需要清除的 NBT 标签。
# False: 如果服务器处于离线模式,不会警告当前登录的管理员
# True: 如果服务器处于离线模式,会警告当前登录的管理员
offline-mode-warning: true
global:
ban-durations:
# 允许的封禁时长偏差量(毫秒)
grace-period: 100
# 可用于匹配物品栏清除的确切时长
duration:
- "1s"
- "1h"
- "1d"
- "1w"
- "1y"
# 每个世界目录内玩家数据文件夹的相对路径
playerdata-path:
- "playerdata"
- "players/data"
# 从玩家数据中移除的 NBT 标签
NBT-Tags:
- "Inventory"
- "EnderItems"
更新日志
请参阅 CHANGELOG.md 以获取发行说明和历史版本记录。


作者
ViperX
ViperX is a Simple Minecraft Server Plugin for Clearing Player Inventory When Banned.
Overview
ViperX helps server automatically clear certain NBT data when banned such as goods in the inventory obtained via unfair means or a custom NBT tag, handling of which is powered by NBTAPI.
Features
- Clears player inventory data when a ban is applied
- Supports AdvancedBan and LiteBans as well as Vanilla ban system
- Removes custom NBT tags from player data
- Supports custom ban durations and duration presets
- Tracks pending clears
- Provides operator-only configuration menus
Commands
| Command | Description |
|---|---|
/viperx |
Opens the main menu for operators; non-operators are sent to the public links menu |
/vx |
Alias for /viperx |
Permissions
| Permission | Description | Default |
|---|---|---|
viperx.menu.* |
Grants access to all ViperX menus | op |
viperx.mainMenu |
Opens the main menu | op |
viperx.settings |
Opens the settings menu | op |
viperx.pending |
Opens the pending clears menu | op |
viperx.links |
Opens the public links menu | true |
viperx.banMenu |
Opens the ban duration menu | op |
Requirements
- Bukkit/Spigot/Paper server
NBTAPI
Installation
- Download the latest ViperX release JAR.
- Place it in your server's
plugins/folder. - Install
NBTAPIif it is not already present. - Start or restart the server.
Configuration
After the first startup, ViperX generates its config files. The current default config includes offline-mode warnings, ban duration presets, playerdata paths, and NBT tags to clear.
# False: Does not warn the currently logged-in admin if the server is in offline mode
# True: Warns the currently logged-in admin if the server is in offline mode
offline-mode-warning: true
global:
ban-durations:
# The amount of time the ban duration is allowed to be off by in milliseconds
grace-period: 100
# Exact durations that can be matched for inventory clearing
duration:
- "1s"
- "1h"
- "1d"
- "1w"
- "1y"
# Relative paths to playerdata folders inside each world directory
playerdata-path:
- "playerdata"
- "players/data"
# NBT tags that are removed from player data
NBT-Tags:
- "Inventory"
- "EnderItems"
Changelog
See CHANGELOG.md for release notes and version history.


Authors
下载 ViperX
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ViperX
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ViperX
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ViperX
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ViperX
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
此版本添加了 NBTAPI 作为依赖
- 为配置文件增加了更多文档说明
- 切换至使用 NBTAPI
- 新增从玩家 NBT 数据中移除 NBT 标签的功能,该功能同样适用于任何自定义 NBT 标签
- 限制了对主 ViperX 菜单的访问权限,以确保仅操作者(operator)可执行相关操作。
- 允许非操作者通过
/viperx命令访问公开的viperx.links菜单。 - 保持
viperx.links对所有玩家开放,而 ViperX 的其他菜单仍仅限操作者使用。
注意事项
/viperx和/vx命令现在对操作者打开主菜单,对其他玩家则打开链接菜单。- 命令流程已更新,以匹配预期的公开/私有菜单分离机制。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧