ProxyPermGroup
ProxyPermGroup 是一个轻量级的 Velocity 插件,会在玩家连接/断开时自动将其添加/移除到 LuckPerms 权限组中。
功能特性
-
自动分配权限组:在玩家加入代理的瞬间,自动将其添加到可配置的 LuckPerms 权限组中。
-
干净的断开处理:当玩家离开网络时,自动从其权限配置中移除该权限组。
-
启动自修复:如果你的代理意外崩溃或重启,插件会在启动时自动扫描数据库,清除离线玩家遗留的“悬空”权限。
配置
唯一需要配置的是玩家连接时要添加到的权限组名称。如果该权限组不存在,此插件会自动创建它。
permission_group: velocity
使用场景
当你拥有多代理服务器网络时,你可能只想在某些代理上启用特定功能。例如,如果你有一个用于路由优化的远程代理,你可能希望减少连接到该代理的玩家视距以节省带宽,同时保持通过本地代理连接的玩家的视距不变。
ProxyPermGroup
ProxyPermGroup is a lightweight Velocity plugin that automatically add/remove players into a LuckPerms permission group when they connect/disconnect.
Features
-
Automatic Group Assignment: adds players to a configurable LuckPerms group the moment they join the proxy.
-
Clean Disconnects: Automatically removes the group from the player's permission profile the moment they leave the network.
-
Self-Healing Startup: If your proxy crashes or restarts unexpectedly, the plugin automatically scans the database on boot to scrub any "dangling" permissions from offline players.
Configuration
There's only one thing to configure, which is the group you want the player to be added to when connect. If the group does not exist, this plugin will create the group.
permission_group: velocity
Use case
When you have a mult-proxy server network, you may only want to enable certain features on certain proxy. For example, if you have a remote proxy for route optimization, you might want to reduce the view distance of the players connected to that proxy for saving bandwidth, while keeping players connected via the local proxy the same.
评论 0
登录后参与评分
还没有评论,来抢沙发吧