LuckPerms

LuckPerms

1M Downloads

Add option to disable warning about other UUIDs present for username

Closed this issue ยท 3 comments

commented

Description

I'd like to be able to disable the warning about other UUIDs present for a username using
a configuration option or a system property, since I'm changing player UUIDs on login on my custom server.

I'm happy to PR this myself if there is a chance the PR is accepted.

Proposed Behaviour

A new boolean configuration option supress-other-ids-for-username-warning is added, which is false by default. This option being false is added as an additional condition to this existing condition, which means that if the new configuration option is configured to be true, the warning isn't sent.

Extra Details

No response

commented

changing the uuid is not exactly supported itself

commented

changing the uuid is not exactly supported itself

I don't think it should be supported either, but I don't see the harm in adding the option if it's explicitly marked as unsupported, similarly to how Paper handles their unsupported settings.

commented

I'm going to close this as unlikely to be added, though @lucko may override me in the future. It's very unlikely this will be added because UUIDs are the foundation of LP's ability to distinguish users - if users with one name have different UUIDs, LP will not function as it should, ever. Hence the warning! If it's critical to you that this warning is gone ASAP, it would probably be best to fork the project and change it in your copy.