fix(panel): make the LuckPerms page honest about what the server said (#59)

Live with real LuckPerms 5.5.85: every lp command returns an empty RCON body
(list/plugins answer normally; a standalone RCON client sees the same, and
creategroup/permission-set still persist), so the read projection can never
populate and the page asserted "no parent groups / no explicit nodes" for a
state it could not actually read. The raw reply now rides the same disclosure
the rosters carry, a silent entry-less reply shows an explicit notice instead
of the false empty claims, and the write history's placeholder no longer
dresses up a fabricated "[RCON] ..." line as output.
This commit is contained in:
Lemon-miaow committed 2026-09-23 22:43:29 +08:00
1 parent 4d4cdd6ea7
commit a2ff2a1102
4 files changed
+46 -5

No files matched your search

@@ -159,6 +159,8 @@
"luckperms_revert_success": "已成功撤销该操作!",
"luckperms_presets": "预设",
"luckperms_no_parent_groups": "未分配任何父组",
"luckperms_no_reply": "服务器没有返回可解析的数据——部分 LuckPerms 版本不通过 RCON 回包,下面的用户组/权限列表可能不准确;授予与撤销操作仍然会实际生效。",
"luckperms_no_output": "(服务器未返回输出)",
"luckperms_global": "全局",
"luckperms_no_perms": "尚未分配任何权限节点",
"luckperms_rcon_output": "RCON 控制台输出",