Issue Details#968 onPlayerJoin(PlayerJoinEvent)

  • Priority: Normal
  • Number: 968
  • Type: Bug
  • Status: New
  • Age: 151 Days



I have noticed that this event is causing a lot of CPU usage in the timings found here:

In the config, I have player-join: false

However, whilst it is not logging a:join data, it still appears to be hogging CPU resources causing performance issues.

Could you take a look at this and get back to me please.

Many thanks on your great project!


champ May 30, 2020 9:36 AM

Issue reported.

botsko Gravatar

botsko May 30, 2020 5:16 PM

The event still has to run because we need to properly lookup and store played by their Mojang ID. This is done on the main thread because we need to ensure the data is read before Prism begins tracking data for the player.

Prism 3 (for sponge) will try to handle this differently. It's normally not an issue, but it's not good to have this on the main thread.

Update Issue

Add your comments to this issue!

Creating a free account will let you immediately report issues on this project, as well as comment on existing issues, save your filters, and more!!