FastAsync error
Distolfix opened this issue ยท 1 comments
Server Implementation
Paper
Server Version
1.19.3
Describe the bug
Error on console when first player join on my server
To Reproduce
When the first player join i have this error
Expected behaviour
Error on console
Screenshots / Videos
No response
Error log (if applicable)
[00:01:47 ERROR]: Could not pass event PlayerGameModeChangeEvent to FastAsyncWorldEdit v2.6.0-SNAPSHOT-399;da4d966 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 '53e4631b-80b9-4e63-9197-6c668d019ddc' (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. at me.lucko.luckperms.bukkit.vault.LuckPermsVaultPermission.lookupUser(LuckPermsVaultPermission.java:156) ~[?:?] at me.lucko.luckperms.bukkit.vault.LuckPermsVaultPermission.userHasPermission(LuckPermsVaultPermission.java:175) ~[?:?] at me.lucko.luckperms.bukkit.vault.AbstractVaultPermission.playerHas(AbstractVaultPermission.java:151) ~[?:?] at com.sk89q.wepif.VaultResolver.hasPermission(VaultResolver.java:102) ~[FastAsyncWorldEdit-Bukkit-2.6.0-SNAPSHOT-399.jar:?] at com.sk89q.wepif.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:171) ~[FastAsyncWorldEdit-Bukkit-2.6.0-SNAPSHOT-399.jar:?] at com.sk89q.worldedit.bukkit.BukkitPlayer.hasPermission(BukkitPlayer.java:276) ~[FastAsyncWorldEdit-Bukkit-2.6.0-SNAPSHOT-399.jar:?] at com.sk89q.worldedit.command.tool.NavigationWand.canUse(NavigationWand.java:74) ~[FastAsyncWorldEdit-Bukkit-2.6.0-SNAPSHOT-399.jar:?] at com.sk89q.worldedit.LocalSession.loadDefaults(LocalSession.java:1181) ~[FastAsyncWorldEdit-Bukkit-2.6.0-SNAPSHOT-399.jar:?] at com.sk89q.worldedit.bukkit.WorldEditListener.onGamemode(WorldEditListener.java:80) ~[FastAsyncWorldEdit-Bukkit-2.6.0-SNAPSHOT-399.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor24.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:git-Paper-448] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.19.3.jar:git-Paper-448] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.19.3.jar:git-Paper-448] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?] at net.minecraft.server.level.ServerPlayerGameMode.changeGameModeForPlayer(ServerPlayerGameMode.java:89) ~[?:?] at net.minecraft.server.level.ServerPlayer.setGameMode(ServerPlayer.java:1880) ~[?:?] at org.bukkit.craftbukkit.v1_19_R2.entity.CraftPlayer.setGameMode(CraftPlayer.java:1617) ~[paper-1.19.3.jar:git-Paper-448] at net.citizensnpcs.trait.GameModeTrait.run(GameModeTrait.java:31) ~[Citizens-2.0.30-b2960 (1).jar:?] at net.citizensnpcs.api.npc.AbstractNPC.update(AbstractNPC.java:575) ~[Citizens-2.0.30-b2960 (1).jar:?] at net.citizensnpcs.npc.CitizensNPC.update(CitizensNPC.java:469) ~[Citizens-2.0.30-b2960 (1).jar:?] at net.citizensnpcs.nms.v1_19_R2.entity.EntityHumanNPC.l(EntityHumanNPC.java:462) ~[Citizens-2.0.30-b2960 (1).jar:?] at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1211) ~[?:?] at net.minecraft.world.level.Level.guardEntityTick(Level.java:920) ~[?:?] at net.minecraft.server.level.ServerLevel.lambda$tick$6(ServerLevel.java:731) ~[?:?] at net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:42) ~[paper-1.19.3.jar:git-Paper-448] at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:711) ~[?:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1535) ~[paper-1.19.3.jar:git-Paper-448] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.19.3.jar:git-Paper-448] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.3.jar:git-Paper-448] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.3.jar:git-Paper-448] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.19.3.jar:git-Paper-448] at java.lang.Thread.run(Thread.java:833) ~[?:?]
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/e17c39fdeb4f44c58aaa04a9961964b7
Fawe Version
FastAsyncWorldEdit-Bukkit-2.6.0-SNAPSHOT-399.jar
Checklist
- I have included a Fawe debugpaste.
- I am using the newest build from https://ci.athion.net/job/FastAsyncWorldEdit/ and the issue still persists.
Anything else?
No response