rodel77 / MiniBoardGames

A Minecraft + Spigot premium plugin to play board games!
https://www.spigotmc.org/resources/30066/
GNU General Public License v3.0
1 stars 0 forks source link

High timings on Minesweeper and a few on Hearthstone #15

Closed Malachiel87 closed 7 years ago

Malachiel87 commented 7 years ago

I just taked the timings for some hours and these are the result, i got some low lag on my hub but i think MBG is the cause, exact the minesweeper game and hearthstone game https://timings.spigotmc.org/?url=dibunahojo

rodel77 commented 7 years ago

Hearthstone: That timer is the timer for sounds, only is executed 4 times (4 sounds) i will try to optimize it, use delay instead timer

Minesweeper: The only tasks minesweeper has is delay for end the game, and other to broadcast the winner, i optimize some things but i dont think this remove the problem (If you have too much players playing it is normal, minesweeper has a slow generate code, but is the only way i found to make it good and real)