Improving Performance

From Project Eden
Jump to navigation Jump to search

Sometimes the server will lag, it's pretty much impossible to avoid. However, using some of the tips and tricks below, server lag can be reduced drastically.

Server Performance

One of the ways to increase overall performance is by helping the server itself not lag. Listed below are a few different ways to help the server performance improve.

Villagers

Villagers are by far the worst offender when it comes to entities, but it is easy to mitigate their affect on the server. Just make sure that every villager has a bed and a workstation, so the server doesn't spend any time looking for one.

Hoppers

Hoppers can cause quite a lot of lag on the server if they're actively being used. Part of this is because hoppers check the area above them for different items, and it defaults to checking for numerous spaces. Of course, just one hopper won't do much, but when you've got dozens of hoppers in the same spot all working at once.

If the top part of the hopper has no container above it, or if it's just a normal block that can be removed, try putting a Composter on top of the hopper instead! Because of how hoppers are coded to look for items, Composters make it way easier for the server to process the requests that the hopper is sending out and, subsequently, create less lag.

Redstone

Redstone can generate a ton of block updates, which can lag the server if it's in excessive amounts. To help reduce this lag, make sure your redstone circuitry isn't activating more often than needed. For example, instead of using a clock (a bunch of repeaters in a row), use a daylight sensor to trigger redstone periodically.

Additionally, please always make sure to have a switch to turn off your redstone quickly in case the server is lagging and needs a break.

Client-side FPS Performance

One of the biggest issues that most players run into on servers is low FPS, which is never fun. Below are a few simple tips and tricks to help get that client-side performance running as best as it can!

Barrels

In Minecraft, most people's go-to storage block is the Chest. More specifically, a double chest. After all, it has the most amount of storage slots. But on Project Eden, Barrels are the size of double chests! While they don't impact server performance, chests are considered tile entities, and can drastically impact your FPS if there's a lot of them in one place. Barrels on the other hand, are just considered blocks! They also only take up one block instead of two, and the recipe even costs less than a chest! We even have a custom recipe to turn chests into barrels, to help make the transition from chests to barrels smoother.

General Entities

Having lots of different entities in the same area can make your FPS drop drastically when you're in that area. Whether it be mobs, item frames, armor stands, or even signs, try to reduce the amount you have in that area if you notice your framerate dropping a little too low.