Lag spike and OnPlayerInit call hook warningsFixed
Is there any way to reduce this lag?

Do some files build up somewhere that would cause this to take a lot of juice?

Any information would be helpful.

For some reason the title is different than the title I typed in.
Same thing has been happening to me for months.  The trick is to keep your server fps so high that when it does lag spike, it's not too bad.
Good Day

I trust you are well

This plugin causes my server to lag for a full 3 mins, all players freez when a new player joins the server

Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 8175ms

is there any way to optimize it?

i am also interested in a way to optimize it
In response to RazorRamon ():
i am also interested in a way to optimize it
i dont think there are way for it

The plugin is causing a huge lagspike resulting in rollbacks / spikes for players on the server...
It happens everytime somebody joins the server to unlock his blueprints. Please fix the issue or help me resolve it.

(11:59:50) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 5010ms
(12:02:11) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 5268ms
(12:02:27) | Calling 'OnEntityLeave' on 'BlueprintManager v1.0.4' took average 5268ms
(12:02:51) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 5041ms
(12:03:09) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 5235ms
(12:03:09) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took average 5041ms
(12:03:15) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 6093ms
(12:03:45) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 5909ms
(12:03:45) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took average 6093ms
(12:06:30) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 5994ms
(12:06:30) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took average 0ms
(12:16:06) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 5901ms
(12:16:06) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took average 0ms
(12:17:23) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 6142ms
(12:17:23) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took average 0ms
(12:17:44) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 5939ms
(12:18:09) | Calling 'OnPlayerDisconnected' on 'BlueprintManager v1.0.4' took average 5939ms
(12:19:08) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 6043ms
(12:19:08) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took average 0ms
(12:20:31) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 5956ms
(12:20:31) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took average 0ms
(12:22:18) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 5862ms
(12:22:26) | Calling 'OnEntityLeave' on 'BlueprintManager v1.0.4' took average 5862ms
(12:26:41) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 6046ms [GARBAGE COLLECT]
(12:26:41) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took average 0ms [GARBAGE COLLECT]
(12:27:39) | Calling 'OnPlayerInit' on 'BlueprintManager v1.0.4' took 6177ms
This is still an ongoing issue :(
In theory i can make lag free version of that plugin. If somebody interested - my discord is Orange#0900

Merged post

Must be fixed now, all welcome to tests
Locked automatically