#(ikuria) question about groups / luckperms on offline players

7 messages · Page 1 of 1 (latest)

silent forge
#
17:17:19 [Server]: - Queue 'EXCOMMAND_37852434_JumpsplatOptional' Executing: (line 1) narrate <server.match_offline_player[SirMikado].groups> ---------
17:17:19 [Server]: ERROR in queue 'EXCOMMAND_37852434_JumpsplatOptional' while executing command 'NARRATE' with player 'Ikuria'!
Error Message: Internal exception was thrown!
[Error Continued] me.lucko.luckperms.bukkit.vault.ServerThreadLookupException: A Vault API request has been made on the main server thread that LuckPerms cannot safely respond to.
This is NOT a bug - please do not report it to LuckPerms.
Instead, please carefully read the information given below.
LuckPerms cannot respond to the request because to do so:
- it needs to lookup user data for '99ca3842-b056-4fd0-8bbf-b8b7bb0a4ad5' (an offline player) from the database
Performing this lookup on the main server thread would cause your server to lag.
There are two solutions to this problem:
a) Ask the author of the plugin making the request to perform Vault calls for
offline players "asynchronously" (using the scheduler). Additionally, prefer
using the methods that accept 'Player' or 'OfflinePlayer' instead of usernames.
You should be able to identify the plugin making the request in the trace below.
b) As a server admin, you can disable this exception by setting 'vault-unsafe-lookups'
to true in the LuckPerms configuration file. However, please use this only as
a last resort.

how to get the group for offline players?

potent relicBOT
#

(ikuria) question about groups / luckperms on offline players

potent relicBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

paper sapphire
#

The short answer is: You don't.

#

While you can use the last resort option, you're better off flagging a person when they disconnect with their groups so you can pull hat instead.

silent forge
#

okay, thanks