?️ PlayerAccessList (PAL)
PlayerAccessList 是一款功能强大且灵活的 Minecraft 服务器访问管理系统,提供白名单和黑名单功能。

✨ 特性
- MySQL 支持 — 插件可以连接到外部数据库。
- MiniMessage 支持 — 使用 Adventure API 的现代格式化系统。
- 异步检查 — 大多数访问检查均在异步执行。
- 数据迁移 — 允许将原版白名单的数据复制到插件数据库中。
- 日志记录 — 能够将所有操作记录到控制台或管理员聊天中。
- 覆盖系统 — 使用 Overrides 配置自定义访问场景。
- 多语言支持 — 内置多种本地化文件。
在我们的 Discord 服务器上建议翻译 - 开发者 API — 前往 GitHub
? 命令
| 命令 | 别名 | 描述 | 权限 |
|---|---|---|---|
/whitelist |
/wl, /whl |
管理白名单 | pal.whitelist |
/blacklist |
/bl, /bll |
管理黑名单 | pal.blacklist |
/pal |
/playeraccess, /playeraccesslist |
插件主命令(重载、迁移) | pal.admin |
? bStats 数据分析
配置文件
主配置文件:# █████▄ ██ ▄████▄ ▄█████ ▄█████ ██ ██ ▄█████ ██████
# ██▄▄█▀ ██ ██▄▄██ ██ ██ ██ ██ ▀▀▀▄▄▄ ██
# ██ ██████ ██ ██ ▀█████ ▀█████ ██████ ██ █████▀ ██
#
# » Support: https://dsc.gg/bytepl
#
# ⚠ Found a bug? Please contact support before leaving a low rating.
# We value your trust and will help you quickly!
# ❤ Like the plugin? Leave a review, it's the best motivation.
# Plugin prefix in messages. (placeholders: %prefix%)
prefix: 'EADFF&lPAL &8»&7'
# Color code and text formatting mode.
# All methods support HEX colors.
#
# Options:
# » LEGACY (Classic: &6, &#aabbcc)
# » LEGACY_UPDATED (Extended: &6, &#aabbcc, <#aabbcc>)
# » MINIMESSAGE (Tags: <red>, <gradient>)
serializer: "legacy"
# Plugin localization (the corresponding file must be in the /lang/ folder)
#
# Available localizations:
# » ru (Russian) [By SuperCHIROK1]
# » en (English) [By SuperCHIROK1]
#
# Help us improve!
# If you've made a high-quality translation into another language,
# suggest it on our Discord server: https://dsc.gg/bytepl
language: en
# Player data storage settings
database:
# Database type.
# It is recommended to change this while the server is offline.
#
# Types:
# sqlite - local file (recommended for small servers)
# mysql - remote DB (recommended for server networks/BungeeCord)
type: "sqlite"
# SQLite file name/path (will be created in the plugin folder)
sqlite_path: 'data.db'
# MySQL connection parameters (used if type: mysql)
mysql:
host: "0.0.0.0" # Database IP address
port: 3306 # MySQL port
username: "pal_user" # Database username
password: "password" # User password
database: "pal_db" # Created database name
# Connection parameters string.
# (if you are not sure what this is, we recommend leaving it as is)
args: "?useSSL=false&autoReconnect=true&characterEncoding=utf8"
# Synchronization section for multiple servers (MySQL only)
polling:
# Should the automatic cache update be enabled?
# If you have multiple servers connected to the same DB,
# this allows them to see changes made on other servers.
enabled: false
# Update check interval (in seconds).
# Lower values mean players can join faster after being added,
# but the plugin will "query" the database more frequently.
# Recommended: 30-60 seconds.
delay: 60
access.yml:
# █████▄ ██ ▄████▄ ▄█████ ▄█████ ██ ██ ▄█████ ██████
# ██▄▄█▀ ██ ██▄▄██ ██ ██ ██ ██ ▀▀▀▄▄▄ ██
# ██ ██████ ██ ██ ▀█████ ▀█████ ██████ ██ █████▀ ██
#
# » Support: https://dsc.gg/bytepl
#
# ⚠ Found a bug? Please contact support before leaving a low rating.
# We value your trust and will help you quickly!
# ❤ Like the plugin? Leave a review, it's the best motivation.
whitelist:
# Enable whitelist?
enabled: false
# Kick message shown to the player.
kick_message:
- '&cYou are not whitelisted on this server!'
- '&7yourserver.net'
# List of players who cannot be added to the whitelist.
cannot_be_added:
- TestPlayer
- player1234
blacklist:
# Enable blacklist?
enabled: false
# Kick message shown to the player.
kick_message:
- '&cYou are blacklisted from this server!'
- '&7yourserver.net'
# List of players who cannot be added to the blacklist.
cannot_be_added:
- TestPlayer
- player1234
overrides:
# Enable overrides system?
enabled: true
# Override files. Must be located in the plugin folder.
# You can add your own files here.
files:
- 'overrides/overrides.yml'
nickname_check:
# Enable nickname validation?
enabled: true
# Kick message if the player's name doesn't match the standards.
kick_message:
- '&cYour nickname does not meet the server standards!'
# Regex pattern for nickname validation.
regex: '^[a-zA-Z0-9_]{3,16}$'
logging.yml:
# █████▄ ██ ▄████▄ ▄█████ ▄█████ ██ ██ ▄█████ ██████
# ██▄▄█▀ ██ ██▄▄██ ██ ██ ██ ██ ▀▀▀▄▄▄ ██
# ██ ██████ ██ ██ ▀█████ ▀█████ ██████ ██ █████▀ ██
#
# » 支持: https://dsc.gg/bytepl
#
# ⚠ 发现 Bug?请在留下低评分前联系技术支持。
# 我们重视您的信任,并将尽快协助您解决!
# ❤ 喜欢该插件?请留下评价,这是最大的动力。
moderator_log: true
console_log: true
# 发送给管理员的消息类型。
# 选项:
# CHAT_MESSAGE - 聊天消息
# ACTIONBAR - 动作栏消息
message_type: CHAT_MESSAGE
# 播放给管理员的声音。
# 格式:'sound_id volume pitch'
sound: 'entity.item.pickup 1 0.2'
messages:
whitelist: '玩家 &f%player% (%ip%) &7尝试加入,但未被列入白名单。'
blacklist: '玩家 &f%player% (%ip%) &7尝试加入,但已被列入黑名单。'
kick: '玩家 &f%player% (%ip%) &7尝试加入。'
overrides/overrides.yml:
##
## overrides:
## <name>: (名称可自定义,不影响功能)
## enabled: <true|false> <- 是否启用?
## conditions: <- 玩家将被踢出服务器的条件。(用法和列表见下方)
## - "条件列表.."
## kick: <- 踢出消息
## - '&c你已被踢出服务器'
##
# 条件及其描述列表:
## 1. nickname: <昵称> - 检查玩家名称。
## 示例:- 'nickname: Notch'(踢出该昵称的玩家)
## 2. uuid: <ID> - 检查玩家的唯一 ID。
## 示例:- 'uuid: 069a79f4-44e9-4726-a5be-fca90e38aaf5'
## 3. ip: <地址> - 检查玩家的 IP 地址。
## 示例:- 'ip: 127.0.0.1'
## 4. permission: <permission> - 检查是否存在某个权限节点。
## 示例:- 'permission: group.guest'(会踢出拥有此权限的玩家)
## 5. world: <world> - 检查玩家所在的维度/世界。
## 示例:- 'world: world_nether'(如果玩家在末地,则会将其踢出)
# 使用 ! 运算符(取反):
## 如果在条件前加上 !,则会对不符合该条件的玩家触发。
## 示例:`!permission: server.vip`(将踢出所有没有 VIP 状态的玩家)
# 示例配置:(默认全部禁用)
overrides:
# 通过玩家昵称进行检查。
nickname_check:
enabled: false
conditions:
- 'nickname: BadPlayer' # 踢出昵称为 BadPlayer 的玩家
kick:
- '&c不允许坏玩家进入!'
- '&6server.net'
# 检查是否存在某项权限。(如果有则放行,否则踢出)
# 此处的“否定”运算符可用。
permission_check:
enabled: false
conditions:
- '!permission: techwork.work' # 踢出没有 "techwork.work" 权限的玩家
kick:
- '&c服务器正在维护中。'
- '&6server.net'
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包事件PacketEvents
retrooper
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
前置科技
27
ExyliaLib
ExyliaServices
ExyliaPlugins 的库。
前置实用
26
ProAuthMeLogin
3623813757
通过对话框或铁砧界面帮助你的 Anthme
实用
16
Vessel
muhdfdeen
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
生物存储
13
Vivecraft Spigot Extension
fayer3
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
前置实用
12
旅行地图
mysticdrew
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
冒险实用
12
评论 0
登录后参与评分
还没有评论,来抢沙发吧