AuthMe / AuthMeReloaded

The best authentication plugin for the Bukkit/Spigot API!
https://www.spigotmc.org/resources/authmereloaded.6269/
GNU General Public License v3.0
641 stars 513 forks source link

PlayerQuitEvent laggy on bungeecord #1612

Open RussianHacker69 opened 6 years ago

RussianHacker69 commented 6 years ago

When a player leaves the login server, server begins to be laggy (17 tps). This is also happening when a player wants to register or login on the server.

On my timings report, i see this: https://gyazo.com/3ddea0b27fdcf6395a903b1d5aba161d

(Authme on top of the list)

AuthMe::Event: f.x.a.l.PlayerListener (PlayerQuitEvent) is causing lag...

Plugins: https://gyazo.com/897f17cb616ddbdfae9384696f9210bc

I'm using bungeecord network (login only at hub) and SQlite database.

AuthMe build number: v5.5.0 snapshot (build 2100)

Config: https://hastebin.com/ajapireyuz.bash

Other things: I'm running bungee / servers in offline mode, now i have a small database (because of server wipe).

DNx5 commented 6 years ago

that's the downside of not using async task useAsyncTasks: false the tps will drop if the database process is slow.

RussianHacker69 commented 6 years ago

Same thing if useAsyncTasks: true. Also i configured some things on the VDS and now it's better when players login / register, but it's laggy when they are joining other servers through the compass.

Also i have a 2nd problem, login from last session don't works... (i disabled it when i pasted the config)