Knowledgebase

Minecraft

a minecraft icon

Minecraft

208 Articles
Dive into our Minecraft knowledgebase articles, where you'll learn everything about Minecraft server hosting! Whether you're a beginner or an experienced player, our guides will teach you how to set up, optimize, and manage your server.

How to Reduce Entity Lag on a Minecraft Server

Entities play a large role in Minecraft gameplay, but they are known for causing lag on servers, regardless of their type. Entity lag occurs when a large number of entities gather in a relatively small space. If left unattended, this abundance of entities can adversely impact server performance and potentially result in chunk corruption. ::ProseNote{title="Please Note" description="This guide only covers unmodded Minecraft Java Edition servers." appearance="default"} :: What are Entities? In Minecraft, an entity refers to any object that can move, interact with players, store values, or have a non-cuboid shape. When troubleshooting entity lag, it's important to know the difference between the two main types of entities: regular entities and tile entities. --- Tile Entities vs Normal Entities Regular entities are generally living, humanoid, or simply an item on the ground. Some examples include mobs, items, projectiles, vehicles, and falling blocks. On the other hand, a tile entity is a simplified entity bound to a physical block placed in the world with unique associated data. Some examples of tile entities include a chest's inventory, redstone's power level, or a furnace's smelting logic. Normal entities tend to cause more lag due to their mobility, involving additional physics like gravity, collisions, and AI. Tile entities, being static blocks, have fewer features and lower lag potential. As a result, a single hopper minecart (Normal entity) can have a greater impact on entity lag than a row of hoppers (Tile entities). --- Reducing Entities to Lessen Entity Lag Removing excess entities is the simplest and most effective way to reduce entity lag on your server. This can easily be done using a plugin or mod that can automatically handle a large number of entities for you. There are some ways to manually remove entities in Vanilla, although they are far less precise and cannot be automated easily. You can determine if your server is experiencing entity lag by generating and reviewing a Spark report by following this guide. Using Plugins If your Minecraft server uses a server type capable of running plugins like Spigot, Paper, or Purpur, you will have a variety of public plugins available capable of remedying entity lag. ClearLagg - ClearLagg is a great option for helping entity lag, as it has many automated tools specializing in just that. Most notably, ClearLagg will remove configured entities on a schedule. For example, you could configure it to remove all dropped items and hostile monsters every 10 minutes. StackMob - StackMob is a great option for servers experiencing a lot of normal entity lag. StackMob will automatically stack configured mobs of the same type nearby each other into one single entity. This reduces the number of entities the server has to keep track of, improving performance issues caused by entities. Without Plugins If you aren't running a server that can use plugins, like Vanilla, you can remove entities by using some vanilla commands. You can use these vanilla commands to set up your own custom scheduled task. - Executing this command will only delete dropped items. - Replace REGISTRY\NAME with the registry name for the entity you wish to delete. You can schedule multiple instances of this task to delete hostile mobs. - Executing this command will delete every entity except players. If you are still experiencing entity lag on your server, we recommend taking a Spark report to identify problematic entities or other potential sources of lag.

Kobe Plane
September 11, 2024

How to Purchase a Dedicated IP (Default Port)

A Dedicated IP is a server address that uses the default port for Minecraft. The default port varies between the editions of Minecraft you have. - Default Java Edition port - Default Bedrock Edition port Because the Dedicated IP lets your server run on the default port, your IP automatically points to the port assigned to your server. This means that if your full server address is , you can join your server just by using the IP which without the port. ::ProseNote{title="Custom IP" description="If you'd like a completely custom IP like , you'll need to use a domain or subdomain instead. We have a guide on this here." appearance="default"} :: --- Purchasing a Dedicated IP If you don't have one already, you will need to purchase the dedicated IP for an extra fee. This is because dedicated IPs are far more limited since only one can exist per address. 1. Open your server panel, then click the Ports tab on the left-hand sidebar. 2. Click the Get Dedicated IP button. 3. Click Purchase Dedicated IP. 4. Complete the additional authorization and checkout process. After authorizing the transaction, your dedicated IP will be automatically applied to your server. If you have any issues, please feel free to contact us at any time.

Kobe Plane
September 11, 2024

How to Protect your Modded Minecraft Client/Server from the 'Bleeding Pipe' Vulnerability

BleedingPipe is a current (as of July 2023) exploit malware that has been spreading quietly around the Minecraft community. The vulnerability has been discovered in many popular mods, spreading to Minecraft servers and clients running Forge. BleedingPipe uses a vulnerability found in mods that use an unsafe deserialization code, which then gives the malware full remote code execution on clients and servers. However, not all hope is lost, as there is a Patcher that has been released called serializationisbad which resolves the issue and keeps players & servers protected. This patcher can be installed client-side to protect players from any server they join. Alternatively, it can be installed server-side to protect any players that connect to your server. When using a Shockbyte server, all servers that use our Modpack Installer are protected as they have this patcher pre-installed. If you have any concerns or think your server may be infected, don't hesitate to get in touch with our dedicated support staff, who can scan your server to ensure it hasn't been compromised! --- Installing serializationisbad to your Server/Client This patcher's JAR file should be added to your mods folder in either your server or client. 1. Download the latest version of serializationisbad. 2. Upload to your mods folder, in either your client or server. What if you may have already been affected? If you're worried that the malware has already reached your PC or server, then you can use a JAR malware detection tool to check for you. To do this, we would suggest using jNeedle. jNeedle requires you to specify a folder, and it will search the JAR files to detect any malware existing in that folder. There are various ways to use jNeedle to detect malware, but we would suggest using the GUI mode. 1. Download jneedle-gui-xxx.jar. 2. Double-click the JAR file to run the software. 3. Specify the folder you wish to scan for vulnerabilities. 4. Once the scan is complete, you will see the complete message in the console with the number of files scanned and the malicious file(s) found.

Jay Miller
September 11, 2024

How to Pre-Generate your Minecraft World using the WorldBorder Plugin

Using the WorldBorder plugin for Spigot or Paper, you can pre-generate worlds on your Minecraft server so that they are ready for players using . ::ProseNote{title="Specific Versions" description="This article is specifically for Minecraft Java Edition 1.13.x - 1.16.x servers, and depends on Spigot or Paper plugins to work." appearance="danger"} :: If you don’t already have WorldBorder installed on your server, you’ll need to install the plugin specific to your server version to follow the steps in this tutorial. You can download the WorldBorder plugin from the links below, then follow our tutorial on installing plugins. Server Version 1.13.x - 1.14.x: https://www.spigotmc.org/resources/worldborder.60905 Server Version 1.15.x - 1.16.x: https://www.spigotmc.org/resources/worldborder-1-15.80466/ ::ProseNote{title="Important" description="The plugin used for server version 1.13.x - 1.14.x is no longer maintained by the developers, so there will be no future releases." appearance="danger"} :: You will need a world already imported, ready to be pre-generated. You can follow our guide on How to Upload a World if you would like to use this on a custom world. The command to trim a world is: . You can replace with the name of the world you want to trim. If you don’t specify a world name, the current world you are in will be used. Replace with the number of chunks per second WorldBorder will try to check for and generate a chunk. For optimal performance, set this number to 5 or lower. A lower number will take longer but will reduce lag on your server. You should always leave at 208 as it will be suitable for most servers. Replace with “true” if you want to force WorldBorder to load all chunks instead of skipping chunks that are already generated. You can also use the command to generate missing chunks of your world that are within the border.

Jay Miller
September 11, 2024

How to Optimize your Paper Configuration to Reduce Lag

One of the main strengths of running a Paper server over a Vanilla one is the sheer amount of customisability offered from the Paper configuration files. As a Paper server owner, this gives you the ability to seriously fine-tune your server performance, usually by cutting corners off of bloated gameplay features. ::ProseNote{title="Please Note" description="The configuration options discussed in this guide only apply to servers using the Paper Minecraft server type or a PaperMC fork, like Purpur." appearance="danger"} :: Paper Options and their Optimizations Below is a list of configuration options that can be found in the configuration file. These options will be applied to each world individually when they are first generated on Paper. If a world already has a settings file generated, changing the defaults file will not affect it. You can locate this config file at | Option | Description | Default | Optimized / Recommended | |------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|--------------------------| | max-auto-save-chunks-per-tick | Slows down how often chunks are saved during world save. Don’t go below 8 to avoid data loss. | 24 | 8 | | optimize-explosions | Uses Paper’s efficient explosion handling. Less important after 1.15, but still beneficial. | false | true | | tick-rates: mob-spawner | Increases time between mob spawner ticks. Only increase if experiencing lag. | 1 | 2 | | tick-rates: container-update | Controls how often container GUIs (like chests) update. Higher values reduce server load, but avoid going above 3–4. | 1 | 3 | | max-entity-collisions | Limits how many entities can collide at once. Helps with performance in crammed mob areas. | 8 | 2 | | tick-rates: grass-spread | Increases time between grass spreading ticks to reduce load. | 1 | 4 | | non-player-arrow-despawn-rate | Time in ticks before non-player arrows despawn. Useful to reduce entity lag. | default | 60 | | creative-arrow-despawn-rate | Same as above, but for arrows shot in creative mode. | default | 60 | | hopper.disable-move-event | Prevents hoppers from checking every slot each tick. Improves performance significantly. | false | true | | prevent-moving-into-unloaded-chunks| Stops players from entering unloaded chunks, preventing potential lag spikes. | false | true | | entities: armor-stands: tick | Disables ticking for armour stands (only needed for water interaction). Frees up performance. | true | false | | per-player-mob-spawns | Uses per-player mob spawns to balance mob farms and prevent griefing of server-wide spawns. | false | true | | anti-xray | Paper's built-in anti-xray system. More efficient than plugins. | false | true | While running a Paper Minecraft server, you will also have access to some additional configuration files, which can also be optimized. Feel free to refer to the following guides for more resources on how to further optimize your Paper Minecraft server: How to Optimize your Bukkit Configuration to Reduce Lag How to Optimize your Spigot Configuration to Reduce Lag Minecraft Server Optimization Guide (By: YouHaveTrouble)

Kobe Plane
September 11, 2024

How to Modify Spigot Configuration (Spigot.yml)

The Spigot Config file has many options and settings that can be modified to change the behaviour of your Minecraft server running the Spigot server type. You may directly modify the spigot.yml file that's in your server directory. However, through the Shockbyte Panel, this can easily be found under the Config menu, labelled as Spigot Settings. The file works in conjunction with the Bukkit configuration file (bukkit.yml). ::ProseNote{title="Changing Configuration" description="You should only change configuration options for your server if you know what you are doing; if you are not sure what something does, it is best to leave it at its default setting." appearance="danger"} :: In this guide, we will discuss how to locate and configure your server's Spigot Settings, without needing to directly and manually modify the spigot.yml file. --- How to Access Spigot.yml You can access your spigot.yml configuration file from the Config section of your server's control panel. 1. Access your Control Panel. 2. Navigate to Config Spigot Settings. Now that you have accessed your server's Spigot config, you may modify this to your preference. There are a large number of options available. To learn about each of the options, we recommend reading up on them in the Spigot Config Paper documentation.

Jay Miller
September 11, 2024

How to Modify Minecraft Paper Configuration

When running a PaperMC Minecraft server, there are a variety of customizable options in the configuration files: paper-global.yml and paper-world-defaults.yml. These files generally work in conjunction with the Bukkit configuration file and the Spigot configuration file. ::ProseNote{title="Changing Configuration" description="You should only change configuration options for your server if you know what you are doing; if you are not sure what something does, it is best to leave it at its default setting." appearance="danger"} :: In this guide, we will discuss how to configure your server's Paper Config and some of the configuration options available to you in the server control panel, without needing to directly and manually modify the paper-global.yml file. --- How to Access Configuration Files You can access your Paper configuration files from the Config section of your server's control panel. 1. Access your Control Panel. 2. Click Config, and you will find both & . Now that you have accessed your server's Paper Config, you may modify these to your preference. There are a large number of options available. To learn about each of the options, we recommend reading up on them in the Paper Configuration documentation.

Jay Miller
September 11, 2024
Tham gia Discord