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": "Action reverted successfully!",
"luckperms_presets": "Presets",
"luckperms_no_parent_groups": "No parent groups assigned",
"luckperms_no_reply": "The server returned no parseable data — some LuckPerms versions do not reply over RCON, so the group/permission lists below may be incomplete. Grants and revocations still take effect.",
"luckperms_no_output": "(the server returned no output)",
"luckperms_global": "global",
"luckperms_no_perms": "No explicit permission nodes assigned",
"luckperms_rcon_output": "RCON Console Output",