2025-05-30 20:19:36 +00:00
|
|
|
|
<ng-container>
|
|
|
|
|
|
<app-header [current_page]="'lag'" height="460px" background_image="/public/img/backgrounds/trees.jpg"
|
|
|
|
|
|
[overlay_gradient]="0.5">
|
|
|
|
|
|
<div class="title" header-content>
|
|
|
|
|
|
<h1>Reducing Server Lag</h1>
|
|
|
|
|
|
<h2>How can we minimize lag on the server? Together we can create a lag-free survival server, but it takes
|
|
|
|
|
|
everyone's help!</h2>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</app-header>
|
|
|
|
|
|
|
|
|
|
|
|
<main>
|
|
|
|
|
|
<section class="darkmodeSection">
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
<div class="paragraph">
|
|
|
|
|
|
<h2>Introduction</h2>
|
|
|
|
|
|
<p>Lag is not caused by one person, it is caused by all of us. Some of us cause more than others, but we can
|
|
|
|
|
|
all do small things to reduce the amount of lag we cause. Remember: do not ever accuse anyone else of being
|
|
|
|
|
|
the problem. If you believe someone’s build or behavior is a large contributor to the lag, please privately
|
|
|
|
|
|
tell a staff member so we can look into it. If you have any specific questions, staff are always here to
|
|
|
|
|
|
help. This is especially true if you want to make a redstone contraption, but are unsure how to have it
|
|
|
|
|
|
automatically shut off when not needed or to make it less taxing on the server.</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
<section class="darkmodeSectionThree">
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
<div class="paragraph">
|
|
|
|
|
|
<h2>Mobs</h2>
|
|
|
|
|
|
<p style="margin-bottom: 0;">Mobs are the #1 cause of lag on a survival Minecraft server. They can be
|
|
|
|
|
|
surprisingly hard on the server and are a cause of lag that everyone contributes to. Because of this, never
|
|
|
|
|
|
keep more than you need of any given mob.</p>
|
|
|
|
|
|
<p>FarmLimiter is a plugin that introduces hard limits to mobs. The plugin groups mobs by chaining mobs
|
|
|
|
|
|
together that are within a minimum radius of each other. Please refer to the example image for a better idea
|
|
|
|
|
|
of how mob chaining works. We've provided the settings of this plugin below for your reference, but please
|
|
|
|
|
|
do not try to circumvent this system - it is in place for a reason!</p>
|
|
|
|
|
|
<ul class="full-page-list" style="margin-bottom: 0;">
|
|
|
|
|
|
<li>Villagers should not be allowed to build up from a breeder, and you should cull undesirables as needed
|
|
|
|
|
|
to keep your numbers as low as possible. Also think carefully about which villagers you really need and if
|
|
|
|
|
|
you can make dual use of some. Only use “infinite” villager breeder designs if you limit their breeding by
|
|
|
|
|
|
limiting their food.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Villagers used for trading should be put on emerald blocks, emerald ore or smooth stone. This will
|
|
|
|
|
|
disable their AI for anything other than trading. This helps server performance a lot and any villagers
|
|
|
|
|
|
used for trading found without their AI disabled could be removed by staff if they are causing lag.
|
|
|
|
|
|
Villagers placed on these blocks will refresh their trades faster than normal. The following example
|
|
|
|
|
|
visualizes the 20 passive mobs within 5 blocks FarmLimiter restriction. <a style="cursor: pointer;"
|
|
|
|
|
|
(click)="toggleExceptions()">Show
|
|
|
|
|
|
example...</a></li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
<div id="exceptions" [ngClass]="{'hide': !showExceptions}"
|
|
|
|
|
|
style="display: flex; justify-content: center; padding-bottom: 30px;">
|
|
|
|
|
|
<img ngSrc="/public/img/random/farm_limiter_darker.png" alt="Visualization of the farm limiter"
|
2025-07-14 20:49:22 +00:00
|
|
|
|
class="visLagLimiter" style="width: 70%; padding-top: 7px;" height="375" width="715">
|
2025-05-30 20:19:36 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
<ul class="full-page-list">
|
|
|
|
|
|
<li>Turtles only need one breeding pair. The breeding mechanic of turtles allows you to breed one pair over
|
|
|
|
|
|
and over, as they become fertile immediately upon laying their eggs. Consider keeping only two adult
|
|
|
|
|
|
turtles in your farm.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Consider not raising pigs at all, as their meat is exactly the same as beef and they have no secondary
|
|
|
|
|
|
drops
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Do not fill your base with more vanilla pets than you need</li>
|
|
|
|
|
|
<li>Never circumvent entity cramming. It is there because a lot of entities crammed into a small space is
|
|
|
|
|
|
hard on the server.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>FarmLimiter is a plugin that introduces hard limits to mobs. We've provided the settings of this plugin
|
|
|
|
|
|
below for your reference, but please do not try to circumvent this system - it is in place for a reason!
|
|
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
<div class="highlightedContent">
|
|
|
|
|
|
<h3>Farm Limiter Plugin</h3>
|
|
|
|
|
|
<p>No more than 25 mobs (of all types) within a radius of 3 blocks (this gets the chickens).</p>
|
|
|
|
|
|
<p>No more than 20 passive mobs within a radius of 5 blocks (limits farms - including villagers and
|
|
|
|
|
|
excluding chickens).</p>
|
|
|
|
|
|
<p>No more than 10 hostile mobs within a single block (limits grinders).</p>
|
|
|
|
|
|
<p>No more than 10 turtles within a radius of 5 blocks (turtles cause a LOT of lag).</p>
|
|
|
|
|
|
<p>No more than 70 villagers within a radius of 50 blocks.</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
<section class="darkmodeSection">
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
<div class="paragraph">
|
|
|
|
|
|
<h2>Minecarts</h2>
|
|
|
|
|
|
<p>Minecarts are another type of entity that cause a lot of lag. They are harder on the server than you might
|
|
|
|
|
|
think.</p>
|
|
|
|
|
|
<ul class="full-page-list">
|
|
|
|
|
|
<li>Do not store villagers or other mobs long-term in minecarts. Use them for transportation and drop them
|
|
|
|
|
|
off in an enclosed location on the other end.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Do not use farm designs that rely on many hopper minecarts. They are convenient because they pick up
|
|
|
|
|
|
items through blocks and have a faster throughput than hoppers, but they are unnecessarily hard on the
|
|
|
|
|
|
server.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Avoid using minecarts for entity cramming purposes when possible and try to design your farm to only
|
|
|
|
|
|
have one such killing chamber if it is necessary.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
<section class="darkmodeSectionThree">
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
<div class="paragraph">
|
|
|
|
|
|
<h2>Hoppers</h2>
|
|
|
|
|
|
<p>Hoppers cause lag because they are constantly checking for items, even when nothing is in them, so you
|
|
|
|
|
|
should minimize your use of them.</p>
|
|
|
|
|
|
<ul class="full-page-list">
|
|
|
|
|
|
<li>When bringing items down through a vertical line of hoppers, try alternating them with single chests.
|
|
|
|
|
|
This saves you iron and saves the server a bit of lag.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Bulk storage systems where random items are dropped in and sent into chests should be avoided because
|
|
|
|
|
|
they are likely to cause a situation that is especially taxing. More specifically: A hopper pushing items
|
|
|
|
|
|
into a full chest that are not in the chest OR A hopper trying to pull items from a chest to complete
|
|
|
|
|
|
stacks but none of the items in the chest match.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Myth: Droppers/Furnaces on top of hoppers reduces lag. Droppers on top of hoppers do not reduce lag, and
|
|
|
|
|
|
furnaces are a slightly laggy object in their own right, so do not use them unnecessarily.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>When moving items long distances use water streams. Also try to use water to gather newly farmed items
|
|
|
|
|
|
rather than an array of hoppers. However, be aware that water streams have their own downfalls: First, the
|
|
|
|
|
|
item entity is at risk to be picked up by a pet with /petpickup turned on. So, do not use them near public
|
|
|
|
|
|
areas of your base or for high value items. Second, do not make water streams so long that they flow into
|
|
|
|
|
|
unloaded chunks, as the items can back up where chunks unload and create a ticking lag bomb of item
|
|
|
|
|
|
entities. Finally, set things up so that, if the storage system at the other end fills up, the extra items
|
|
|
|
|
|
get automatically destroyed rather than sitting on full hoppers to despawn.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
<section class="darkmodeSection">
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
<div class="paragraph">
|
|
|
|
|
|
<h2>Redstone Farms</h2>
|
|
|
|
|
|
<p>Redstone contraptions are, by their nature, going to contribute some lag. But you can do things to reduce
|
|
|
|
|
|
their impact.</p>
|
|
|
|
|
|
<ul class="full-page-list">
|
|
|
|
|
|
<li>Biggers is not better. Try to make farms a reasonable size for what you need and no larger. Think about
|
|
|
|
|
|
how much of a resource you actually need.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Think about the design you use. If you have a farm with a lot of pistons to break crops automatically,
|
|
|
|
|
|
can you set it up so that the pistons fire in sequence instead of all at once? Can you use a slimeblock
|
|
|
|
|
|
push bar so that you only need one piston and one observer for every 12 plants instead of one per each?
|
|
|
|
|
|
Minimize how much redstone is running at once.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Set up your machines to shut off when not in use.</li>
|
|
|
|
|
|
<li>If you use a minecart hopper/chest to transport items, make sure it automatically docks when there are
|
|
|
|
|
|
no items to move. You can set up the minecart pickup to only run after a harvest and an auto-smelter that
|
|
|
|
|
|
uses minecarts to fill the furnaces does not need to have the minecart running all the time, only when
|
|
|
|
|
|
it’s dropping off items.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Redstone clocks rarely need to run all the time. For example, an item disposal dropper can be set up to
|
|
|
|
|
|
automatically trigger the clock when there are items in the dropper and to shut off the clock when the
|
|
|
|
|
|
dropper is empty.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
<section class="darkmodeSectionThree">
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
<div class="paragraph">
|
|
|
|
|
|
<h2>Other Entities</h2>
|
|
|
|
|
|
<p>You may have noticed a theme in this list. Everything we've listed is an <span
|
|
|
|
|
|
style="font-family: 'opensans-bold', sans-serif;">entity</span>. Entities are the biggest cause of lag on
|
|
|
|
|
|
Altitude, and anything we can do to reduce the number of entities on the server will help!</p>
|
|
|
|
|
|
<ul class="full-page-list">
|
|
|
|
|
|
<li>Block Entities. Any block entity causes more lag than a normal block, but some cause more than others.
|
|
|
|
|
|
<a href="https://minecraft.gamepedia.com/Block_entity">minecraft.gamepedia.com/Block_entity</a></li>
|
|
|
|
|
|
<li>Signs with text on them are laggier than empty signs, so consider if you need to write that sign. Also,
|
|
|
|
|
|
be sure to not write anything on signs used for technical reasons, like to hold back lava or water.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Item frames also are a small contributor to lag, but can add up, so please do not use a lot of them for
|
|
|
|
|
|
no reason.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Brewing Stands cause more lag than you might think, so please do not have more placed than you need.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Item Entities. Please pick up item entities when mining, even if you don’t actually want them. You can
|
|
|
|
|
|
dispose of them by throwing them in lava or on a cactus. But leaving mass amounts of items to despawn puts
|
|
|
|
|
|
an unnecessary strain on the server.
|
|
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
</main>
|
|
|
|
|
|
</ng-container>
|