[MySql] Plugin help

Joshua

Banned
Feedback score
1
Posts
116
Reactions
13
Resources
0
Hello, I am very new to MySql storage and search functions and I am trying to create a simple block logger plugin but when I place the stone it causes a lot of lag.
Everything is working though just drops the TPS by a lot with each use... Any tips on what I am doing wrong?

https://hastebin.com/akatizazud.csharp
 
Type
Requesting
Provided by
Individual
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Galsk

Plugin Developer or something idk
Premium
Feedback score
1
Posts
123
Reactions
14
Resources
0
Hello, I am very new to MySql storage and search functions and I am trying to create a simple block logger plugin but when I place the stone it causes a lot of lag.
Everything is working though just drops the TPS by a lot with each use... Any tips on what I am doing wrong?

https://hastebin.com/akatizazud.csharp
Async, also any persistent storage of player logging should be done with UUIDs and not player names as they can change with different sessions.
 
Top