ViperX
作者:rebot | 分类:模组
Minecraft 版本: 1.8.8 1.8.9 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.10 1.10.1 1.10.2 1.11 1.11.1 1.11.2 1.12 1.12.1 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2
平台: bukkit paper purpur spigot
标签: game-mechanics management utility
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
请登录后举报
暂无评论,抢个沙发吧~