mirror of
https://github.com/Elecast2/EntityTrackerFixer.git
synced 2025-02-16 18:41:18 +01:00
remove unused comments, and add README
This commit is contained in:
commit
46f50cb2aa
@ -37,8 +37,6 @@ public class UntrackerTask extends BukkitRunnable {
|
||||
@Override
|
||||
public void run() {
|
||||
if(MinecraftServer.getServer().recentTps[0] > ConfigMain.getMinTps()) {
|
||||
//String tps = String.format("%.2f", MinecraftServer.getServer().recentTps[0]);
|
||||
//EntityTrackerFixer.plugin.getLogger().info("Not untraking because tps = " + tps);
|
||||
return;
|
||||
}
|
||||
running = true;
|
||||
@ -98,15 +96,6 @@ public class UntrackerTask extends BukkitRunnable {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
NMSEntityTracker.untrackEntities(cps, toRemove);
|
||||
}
|
||||
}.runTask(EntityTrackerFixer.plugin);
|
||||
*/
|
||||
|
||||
if(ConfigMain.isLogToConsole()) {
|
||||
EntityTrackerFixer.plugin.getLogger().info("Untracked " + removed + " entities in " + worldName);
|
||||
}
|
||||
|
22
README.md
Normal file
22
README.md
Normal file
@ -0,0 +1,22 @@
|
||||
# EntityTrackerFixer
|
||||
Untrack entities that are not used at all by the server
|
||||
|
||||
Did you try everything to fix the lag on your server 1.14.4 or 1.15 but it is still lagging?
|
||||
Do timings indicate some random entity is causing lag?
|
||||
|
||||
This plugin may help you
|
||||
|
||||
How does it works?
|
||||
Minecraft tracks a lot of entities, even if they are outside the tracking range of the player, that's a normal behavior but is a tps killer for 1.14.4 and 1.15 servers with more than 30 players. So what this plugin do is untrack those entities every configured ticks and track them again if the player is near.
|
||||
|
||||
Report any bug in the issues section.
|
||||
|
||||
________________________________________
|
||||
|
||||
|
||||
Do you like this plugin?
|
||||
feel free to donate buying something
|
||||
on my server store:
|
||||
https://tienda.minemora.net/
|
||||
|
||||
________________________________________
|
Loading…
Reference in New Issue
Block a user