LuckPerms

LuckPerms

41.4k Downloads

Users only in default group not appearing in / being deleted from editor

Laarryy opened this issue ยท 4 comments

commented

A user brought to my attention that not all players that had joined the game since LP was installed were appearing in the editor - these users being those that were only in the default group. As we investigated, a new editor session was run, and the new one included one less user than the previous, again someone only in default group.

lp user <user> info for the players not appearing in the editor shows them as having logged in before and being only in default group, with mojang-assigned UUIDs (the server is online-mode: true)

This is their lp info output:

And this is surprising bit:

First Editor

Second Editor (Moments Later)

Turbo thought maybe it has something to do with the anti-duplicates editor change recently made (commit 918ea75 fix for issue 235 in LPWeb repo) and I honestly have no clue, just thought I'd let ya know!

commented

This seems like normal behaviour.

The editor user list will always include online players. It is then "topped up" (to a limit of 1000) with other offline players with permissions already set.

Therefore, offline players, with no permissions/parents defined beyond the default group will not be shown.

If you think this ^ could be useful, then I'm happy to consider adding it - but it's not a bug. :)

I have the same issue and can not add a permission to a user when they are only in the default group and they are offline from the web editor since they are not shown.
I can only add permission(s) via the command line and until they login again they still will not show up in the users list on the web editor.

commented

This seems like normal behaviour.

The editor user list will always include online players. It is then "topped up" (to a limit of 1000) with other offline players with permissions already set.

Therefore, offline players, with no permissions/parents defined beyond the default group will not be shown.

If you think this ^ could be useful, then I'm happy to consider adding it - but it's not a bug. :)

commented

Oh, interesting! Figured it might be like the default group members not all listing if offline etc. Perhaps add it so that if there are less than 1000 players in the editor, start to list default players? Up to you, but seems it could help small servers and their owners configure individual players.

commented

Would it be possible for the editor to show offline players using the usercache.json (or an option to show these players in the editor)?