? TextWhitelist
受够了管理繁琐的 whitelist.json 文件?TextWhitelist 是一款功能强大且轻量级的白名单插件,专为基于 Spigot 的服务器(Paper、Purpur 等)设计,具有广泛的兼容性(1.8 - 1.21+)。
它是离线模式服务器或任何需要快速管理玩家访问权限的社区的理想解决方案,使用简单的文本文件即可,无需处理 UUID。
该插件超越了简单的白名单功能,成为一个完整的访问管理工具,允许你直接通过游戏内命令控制各个方面,而无需重启服务器。
✨ 特性
- 完整的游戏内管理: 使用全面的命令套件控制插件的每个方面。
- 全局开启/关闭开关: 通过
/wltxt enable|disable 随时全局启用或禁用插件功能。
- 双白名单模式:
- PLAYERS 模式: 标准操作。允许
players.txt 中列出的玩家加入。
- ADMINS 模式: 维护模式。仅允许
admins.txt 中列出的工作人员加入。
- 上下文感知命令: 插件很智能!它会根据不同场景提供不同的踢出消息,并且仅在必要时踢出玩家。
- 即时重载: 使用
/wltxt reload 立即应用对 .txt 文件的更改,无需重启服务器。
- 重载时强制执行: 重载时,插件会自动踢出任何不再位于活跃白名单中的在线玩家。
- 广泛的版本兼容性: 适用于从 1.8 到 1.21 及更高版本的绝大多数基于 Spigot 的服务器。
- 高优先级登录拦截: 设计用于与其他插件(如 AuthMe)共存,通过使用最高事件优先级确保其规则具有最终决定权。
? 安装
- 从 Versions 选项卡下载最新的
.jar 文件。
- 将
TextWhitelist.jar 文件放入服务器的 plugins 目录中。
- 重启服务器。插件将在
plugins 目录中自动生成一个 TextWhitelist 文件夹,其中包含 config.yml、players.txt 和 admins.txt。
? 命令与用法
基础命令为 /whitelistxt(别名:/wltxt)。所有子命令都需要 textwhitelist.admin 权限。
| 命令 |
描述 |
/wltxt |
显示当前状态(已启用/已禁用)和激活模式。 |
/wltxt help |
显示所有可用命令列表。 |
/wltxt enable |
启用白名单检查。 |
/wltxt disable |
禁用白名单检查。 |
/wltxt change <players|admins> |
切换活动模式。 |
/wltxt reload |
从磁盘重载两个 .txt 文件。 |
/wltxt add <player|admin> <name> |
将玩家添加到指定列表。 |
/wltxt remove <player|admin> <name> |
从指定列表中移除玩家。 |
⚙️ 权限
textwhitelist.admin:授予对所有 /wltxt 命令的访问权限。此权限默认授予服务器操作员(OP)。
? TextWhitelist
Tired of managing a cumbersome whitelist.json file? TextWhitelist is a powerful, lightweight whitelist plugin for Spigot-based servers (Paper, Purpur, etc.) designed for wide compatibility (1.8 - 1.21+).
It's the perfect solution for offline-mode servers or any community that needs to quickly manage player access using simple text files instead of dealing with UUIDs.
This plugin evolves beyond a simple whitelist into a full-fledged access management tool, allowing you to control every aspect directly from in-game commands without ever needing a server restart.
✨ Features
- Full In-Game Management: Control every aspect of the plugin with a comprehensive command suite.
- Master On/Off Switch: Globally enable or disable the plugin's functionality on the fly with
/wltxt enable|disable.
- Dual Whitelist Modes:
- PLAYERS Mode: Standard operation. Allows players listed in
players.txt.
- ADMINS Mode: Maintenance mode. Only allows staff listed in
admins.txt.
- Context-Aware Commands: The plugin is smart! It provides different kick messages for different scenarios and only kicks players when it makes sense.
- Instant Reloading: Use
/wltxt reload to apply changes to your .txt files instantly without a server restart.
- Enforce on Reload: When reloaded, the plugin automatically kicks any online players who are no longer on the active whitelist.
- Wide Version Compatibility: Works on most Spigot-based servers from version 1.8 to 1.21 and newer.
- High-Priority Login-Blocking: Built to coexist with other plugins like AuthMe by using the highest event priority, ensuring its rules are final.
? Installation
- Download the latest
.jar file from the Versions tab.
- Place the
TextWhitelist.jar file into your server's plugins directory.
- Restart your server. The plugin will automatically generate a
TextWhitelist folder inside your plugins directory, containing config.yml, players.txt, and admins.txt.
? Commands & Usage
The base command is /whitelistxt (alias: /wltxt). All subcommands require the textwhitelist.admin permission.
| Command |
Description |
/wltxt |
Shows the current status (enabled/disabled) and active mode. |
/wltxt help |
Displays a list of all available commands. |
/wltxt enable |
Enables the whitelist checks. |
/wltxt disable |
Disables the whitelist checks. |
/wltxt change <players|admins> |
Switches the active mode. |
/wltxt reload |
Reloads both .txt files from the disk. |
/wltxt add <player|admin> <name> |
Adds a player to the specified list. |
/wltxt remove <player|admin> <name> |
Removes a player from the specified list. |
⚙️ Permissions
textwhitelist.admin: Grants access to all /wltxt commands. This permission is given to server operators (OPs) by default.
评论 0
登录后参与评分
还没有评论,来抢沙发吧