AuthMe Reloaded

AuthMe Reloaded

3M Downloads

Purge doesn't work

Dok-dev opened this issue ยท 0 comments

commented

What behaviour is observed:

Every second there is a message in the console:
[12:04:28 INFO]: [AuthMe] Finished lookup of offlinePlayers. Begin looking purging player names only
[12:04:28 WARN]: [AuthMe] Task #54 for AuthMe v5.6.0-SNAPSHOT-b2396 generated an exception
java.lang.RuntimeException: The operation to lookup a UUID for 'karrywase' was cancelled by LuckPerms. This is NOT a bug.
The lookup request was made on the main server thread. It is not safe to execute a request to load username data from the database in this context.
If you are a plugin author, please either make your request asynchronously, or provide an 'OfflinePlayer' object with the UUID already populated.
Alternatively, server admins can disable this catch by setting 'vault-unsafe-lookups' to true in the LP config, but should consider the consequences (lag) before doing so.
at me.lucko.luckperms.bukkit.vault.LuckPermsVaultPermission.lookupUuid(LuckPermsVaultPermission.java:114) ~[?:?]
at me.lucko.luckperms.bukkit.vault.AbstractVaultPermission.has(AbstractVaultPermission.java:114) ~[?:?]
at fr.xephi.authme.permission.handlers.VaultHandler.hasPermissionOffline(VaultHandler.java:65) ~[?:?]
at fr.xephi.authme.permission.PermissionsManager.hasPermissionOffline(PermissionsManager.java:268) ~[?:?]
at fr.xephi.authme.task.purge.PurgeTask.run(PurgeTask.java:94) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.15.2.jar:git-Paper-234]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:461) ~[patched_1.15.2.jar:git-Paper-234]
at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1240) ~[patched_1.15.2.jar:git-Paper-234]
at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430) ~[patched_1.15.2.jar:git-Paper-234]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1157) ~[patched_1.15.2.jar:git-Paper-234]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:946) ~[patched_1.15.2.jar:git-Paper-234]
at java.lang.Thread.run(Thread.java:834) [?:?]

What behaviour is expected:

Purge work

Steps/models to reproduce:

Enable useAutoPurge and all other purge functions in in AuthMe config. And reload the server.

Plugin list:

AncientGates, AntiCheatReloaded, AuthMe, BossShopPro, ChestCommands, CommandSync*, Essentials, EssentialsProtect, EssentialsSpawn, GHolo, ItemJoin, LuckPerms, MobArena, Multiverse-Core, MyPet, MysqlPlayerDataBridge, PlaceholderAPI, PluginConstructorAPI, ProtocolLib, SimpleSit*, SkinsRestorer, SuperLobby, TAB, TheNewEconomy, Vault, VentureChat, ViaVersion, WorldEdit, WorldGuard

Environment description

Bungeecord network, MySql.

AuthMe build number:

AuthMeReloaded v5.6.0-SNAPSHOT (build: 2396)
Paper version git-Paper-234 (MC: 1.15.2)

Configuration:

https://pastebin.com/zKtyLaru