Add logic to work with OfflinePlayers
778b opened this issue ยท 2 comments
Description
Hello, today im transfered my permissionEX configs to LuckPerms db, and I have a problem with setups permission for users which didnt join to server after LuckPerms was add, because LuckPerms just didnt see them. If we will have this improvement it can be accelerate work with LuckPerms.
Proposed Behaviour
When using command:
/lp user permission set
Where is name of player which didnt join to server after added LuckPerms.
We just added this player to db
Extra Details
its all
LP stores data under a user's UUID. If a player hasn't joined since LP has been installed, it can't know their UUID, and thus can't set data on them using just their name. However, all user
commands will also take a UUID instead of a username, so you can still manage them that way. Additionally, if the users have data saved, they will be visible in the web editor, although again, under their UUID.
I suppose an option could be added to pull usernames from Mojang and cache them, but it would need to at least be able to be turned off, if not defaulting to off, to accommodate offline mode servers and those using Geyser.
Such a setting already exists to make that possible
LuckPerms/bukkit/src/main/resources/config.yml
Lines 36 to 44 in ce6031a