robingrether / iDisguise

Plugin for CraftBukkit and Spigot
https://www.spigotmc.org/resources/idisguise.5509/
Creative Commons Attribution Share Alike 4.0 International
20 stars 28 forks source link

iDisguise lagging my server #4

Closed Fonzee9 closed 7 years ago

Fonzee9 commented 7 years ago

iDisguise::Command: iDisguise:disguisecount(1) total(52.60% 2.097s, 279.55% of tick) avg(2,096.61ms per - 139.77ms/0.07 per tick)

Timings: https://timings.aikar.co/v2/?id=0321a99eaaf8453697ea01b03e06d8db&section=lag

I went to Lag tree view and then clicked Minecraft Scheduler and iDisguise was first..

robingrether commented 7 years ago

Disguise as a player causes this issue: Whenever a user attempts to disguise as a player, the player's skin (and some more information) is loaded from a Mojang server. This causes some lag, as it is done synchronously.

I will fix this lag in an update quite soon.

robingrether commented 7 years ago

An update which fixes the lag is available now. Download it over here: https://www.spigotmc.org/resources/idisguise.5509/