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 Automatically Restart Your Minecraft Server

When your Minecraft server has been running for an extended period of time, sometimes processes and other server data end up overusing its RAM. When your server runs out of RAM, you may start experiencing lag frequently, or this can even crash the server. However, this can easily be resolved by restarting your server regularly. Restarting your server once in a while allows the RAM used by Minecraft to clear out useless and old data from when your players disconnect, chunks, entities, etc. (Tip: How often you should restart your Minecraft server) You can use your Shockbyte Panel to restart your server automatically. This is made possible through the Quick Actions feature available on the panel. --- How to Set Up Automatic Scheduled Restarts 1. Navigate to the Shockbyte Panel and open up your server. 2. Navigate to the Tasks tab on the left menu. 3. Locate the Send Restart quick action, and click Configure. 4. Create a name for your quick action, and click Save. The name that you set for the task does not matter, as it is entirely cosmetic; however, we will name it Automatic Restarts for the purpose of this tutorial. 5. Navigate to the My Tasks tab and click the clock icon next to your new task. 6. There are no arguments for this quick action, so click Next Step. 7. Set the schedule to whatever works best for your server and click Schedule. You're done! Your server will automatically restart on your specified schedule.

Zach Lowery
September 11, 2024

How to Automatically Backup your Minecraft Server

It is important to frequently backup your server in case something irreversible happens, such as a world corruption, grief or loss of files. With Shockbyte, it is possible to automatically configure backups so you don't have to do this yourself. --- Configuring an Automated Backup Schedule The Shockbyte Panel makes it quick and easy to configure automated backups on your Minecraft server. Keep in mind, though, you can only store up to 3 backups at a time, so you might want to consider using a longer interval during setup. 1. Navigate to the Shockbyte Panel and open your server panel. 2. On the left-hand sidebar, click the Backups tab. 3. Choose which Instance or Database you would like to schedule backups on. 4. (Optional) Schedule the time you would like the first backup to generate. 5. Enable and set your desired repeating interval duration. ::ProseNote{title="Note:" description="It is recommended to enable Auto-replace old backups to ensure that backups are still able to be made when you run out of available backup slots." appearance="default"} :: 6. Click the confirmation button to Schedule or Start your first backup interval. 7. View, edit, or delete your existing schedules in the Scheduled Backups section. That's it! Your server will now automatically back up according to the schedule you have defined.

Kobe Plane
September 11, 2024

How to Analyze any Timings Report

Are you experiencing lag on your Minecraft server? Lag can be eliminated by first finding the source of the lag and attempting to resolve it. You can at least locate the source of lag by creating a timings report. --- What is a timings report? Timings reports provide you with in-depth information about server processes, server information, server performance, and many other pieces of information, therefore making them a very effective tool for analyzing lag. They allow you to identify what is causing lag on your server, so you can take action and prevent it from causing further issues. --- How do I create a Timings report? You may create a timings report by following this guide. --- How to analyze a Timings report? You can analyze the Timings report on the following guides: How to Analyze a Timings v1 Report How to Analyse a Timings v2 Report In both guides, you will be able to determine which type of timings report you have (v1 or v2) and will be able to read complete instructions for analyzing them.

Jay Miller
September 11, 2024

How to Analyze a Timings v2 Report

A timings report is a diagnostic tool used on Paper servers, that provides a detailed breakdown of server performance. Often, these are used to help server owners diagnose where server lag may be occurring and can be utilized to help manage your server. ::ProseNote{title="Creating a Report" description="To learn how to create a timings report, click here to follow our guide. Once you have done this, you can follow the steps below to analyze the report." appearance="default"} :: How to Read a Timings Report Once a report has been generated, you may open it, Upon doing so, you will be presented with one of 2 variants. This guide describes how to analyze Timings report v2, which is generated from PaperMC server types. If your report doesn't look similar to the one below, it means you most likely have timings report v1 which is generated by Spigot. If you have generated a Timings v1 Report, you are required to follow this analyzation guide. --- Reading a Timings Report v2 1. Check Server Ticks per Second (TPS) Navigate to the Avg tab under results bar and select it. Then check the value named Minecraft::Full Server Tick. If it's above 18 TPS (make sure to check the value in "()"), your server isn't experiencing consistent tick-related lag. The lag may be caused by latency issues. To fix latency lag, consider changing your server location. 2. Check Entity Count Too many entities may take a lot of your server’s processing power. Therefore, to check it navigate to Regions Count and expand the world option. There you will be able to find the total number of entities per region. If there are more than 2000+ entities present on your server at the same time, this may result in poor server performance. In this instance, we recommend checking our guide on How to Reduce Entity Lag on your Server. 3. Check Average Player Count Players as entities take valuable resources to process their actions on the server. Therefore having too many players online at the same time may negatively impact your server’s performance. This is more common in cases where your server may not have enough RAM. If more than 20 players are connected to your server per GB of RAM, we suggest upgrading your server to reduce player-related lag (this may vary depending on your Server Type). To check the number of players in the selected region, navigate to Regions Count and search for the Player value. 4. Attempt to Resolve Alerts PaperMC Timings reports alert you if some settings are not optimized or are beyond their normal values. In the example below, we can see that the report alerted us that the server is not using Aikar flags and it also provides a resolution. The errors may vary, but they always contain a cause and suggestion on how to resolve the issue. In rare cases, it may happen that you won’t be able to find any conclusive evidence of what is causing lag on your server. --- There are a few ways you may resolve lag that is not appearing on your timings report. We would recommend checking the following documentation: Optimize bukkit.yml to Reduce Lag Optimizing spigot.yml to Reduce Lag How to Fix Lag By Reducing View Distance on a Minecraft Server Use Plugins to Reduce Lag on Your Minecraft Server You may also simply upgrade your server to a higher plan, which may instantly solve your issues. If your server is still lagging, you may contact our 24/7 support team, providing your timings report in a ticket. We will be happy to take a look and assist you in finding a resolution for your lag problems.

Jay Miller
September 11, 2024

How to Analyze a Timings v1 Report

A timings report is a diagnostic tool used on Spigot servers, that provides a detailed breakdown of server performance. Often, these are used to help server owners diagnose where server lag may be occurring and can be utilized to help manage your server. ::ProseNote{title="Creating a Report" description="To learn how to create a timings report, click here to follow our guide. Once you have done this, you can follow the steps below to analyze the report." appearance="default"} :: How to Read a Timings Report Once a report has been generated, you may open it, Upon doing so, you will be presented with one of 2 variants. This guide is focused on Timings v1 Reports, which are generated from Spigot server types. If your report doesn't look similar to the one below this means you most likely have a v2 timings report which is generated by PaperMC server types. If you have generated a Timings v2 Report, you should follow this analyzation guide instead. Reading a Timings Report V1 1. Check Server Ticks per Second (TPS) Check the Average TPS value. If it's above 18 TPS, your server isn't experiencing consistent tick-related lag. The lag may be caused by latency issues. To fix latency lag, consider changing your server location. 2. Check Entity Count Too many entities may take a lot of your server’s processing power. Check the Entity count value on your Timings report. 3. Check Average Player Count Players as entities take valuable resources to process their actions on the server. Therefore having too many players online at the same time may negatively impact your server’s performance. This is more common in cases where your server may not have enough RAM. If more than 20 players are connected to your server per GB of RAM, we suggest upgrading your server to reduce player-related lag (this may vary depending on your Server Type). To see this value, check the Average Players value on your Timings report. 4. Attempt to Resolve Alerts Spigot Timings reports will alert you if some settings are not optimized or are beyond their normal values. In the example below, we can see that server is overloaded and the report also provides a resolution. The errors may vary, but they always contain a cause and suggestion on how to resolve the issue. In rare cases, you may not be able to find any conclusive evidence of what is causing lag on your server. There are a few ways you may resolve lag that is not appearing on your timings report. You may switch to PaperMC in an effort to improve server performance. We would also recommend checking the following documentation: Optimize bukkit.yml to Reduce Lag Optimizing spigot.yml to Reduce Lag How to Fix Lag By Reducing View Distance on a Minecraft Server Use Plugins to Reduce Lag on Your Minecraft Server You may also simply upgrade your server to a higher plan, with more RAM, which may help solve your issues. If your server is still lagging, you can always contact our 24/7 support team, providing your timings report in a ticket. We will be happy to take a look and assist you in finding a resolution for your lag problems.

Jay Miller
September 11, 2024

How to Allocate More Memory to your Minecraft Client (Technic Launcher)

When your server is running a large amount of plugins or mods, there are instances where your client may face memory limitations when trying to keep up with everything. This becomes especially apparent when introducing mods into the equation, as the default allocation of 2GB RAM is insufficient. Fortunately, you have the flexibility to adjust the allocated memory for your client, this often results in performance improvements and becomes essential when managing a big pack of mods or plugins. ::ProseNote{title="Please Note" description="Following this guide will only adjust the RAM allocated to your local game client, NOT your server." appearance="danger"} :: What does Increasing Memory Allocation do? Boosting your launcher's memory gives Minecraft the power to manage more demanding tasks efficiently. To put it simply, this enables smoother operations when downloading mods and interacting with servers and worlds loaded with numerous plugins, mods, or other custom features. --- Locating Available Computer RAM Increasing your game memory means dedicating more of your computer's hardware resources specifically to Minecraft. It's very important to verify that your computer has enough available memory before making any adjustments as it could result in game or even computer crashes. 1. Press Win + R to open a Windows Run window 2. Enter 'dxdiag' to open a DirectX Diagnostic tool window 3. Locate and take note of your available memory Your system will most likely show you your available memory in MB or Megabytes. One GB (Gigabyte) is 1024MB, so you may need to use a calculator or use a website like this to calculate how much GB you have available. --- How Much Memory Should I Allocate? Ideally, you want to leave some RAM for your operating system and other potential background processes. Allocating all of your RAM to Minecraft may lead to instability, crashes, or even corruption. Finding the right balance for your specific setup may require some experimentation, however, feel free to reference the chart below for some rough examples. | Available Memory | Best Amount | Maximum Amount | | ----- | ----- | ----- | | 4GB | 2GB | 3GB | | 6GB | 3GB | 5GB | | 8GB | 4GB | 7GB | | 12GB | 6GB | 11GB | | 16GB | 8GB | 15GB | | 32GB | 16GB | 31GB | | 64GB | 32GB | 63GB | Increasing RAM - Technic Launcher 1. Open the Technic Launcher 2. Click the Launcher Options button 3. Click the Java Settings tab, then set the Memory field to your desired amount

Kobe Plane
September 11, 2024

How to Allocate More Memory to your Minecraft Client (FTB App)

When your server is running a large amount of plugins or mods, there are instances where your client may face memory limitations when trying to keep up with everything. This becomes especially apparent when introducing mods into the equation, as the default allocation of 2GB RAM is insufficient. Fortunately, you have the flexibility to adjust the allocated memory for your client, this often results in performance improvements and becomes essential when managing a big pack of mods or plugins. ::ProseNote{title="Please Note" description="Following this guide will only adjust the RAM allocated to your local game client, NOT your server." appearance="danger"} :: What does Increasing Memory Allocation do? Boosting your launcher's memory gives Minecraft the power to manage more demanding tasks efficiently. To put it simply, this enables smoother operations when downloading mods and interacting with servers and worlds loaded with numerous plugins, mods, or other custom features. --- Locating Available Computer RAM Increasing your game memory means dedicating more of your computer's hardware resources specifically to Minecraft. It's very important to verify that your computer has enough available memory before making any adjustments as it could result in game or even computer crashes. 1. Press Win + R to open a Windows Run window 2. Enter 'dxdiag' to open a DirectX Diagnostic tool window 3. Locate and take note of your available memory Your system will most likely show you your available memory in MB or Megabytes. One GB (Gigabyte) is 1024MB, so you may need to use a calculator or use a website like this to calculate how much GB you have available. --- How Much Memory Should I Allocate? Ideally, you want to leave some RAM for your operating system and other potential background processes. Allocating all of your RAM to Minecraft may lead to instability, crashes, or even corruption. Finding the right balance for your specific setup may require some experimentation, however, feel free to reference the chart below for some rough examples. | Available Memory | Best Amount | Maximum Amount | | ----- | ----- | ----- | | 4GB | 2GB | 3GB | | 6GB | 3GB | 5GB | | 8GB | 4GB | 7GB | | 12GB | 6GB | 11GB | | 16GB | 8GB | 15GB | | 32GB | 16GB | 31GB | | 64GB | 32GB | 63GB | Increasing RAM - FTB App / Launcher 1. Launch the FTB app, and open your Library page 2. Select the profile you wish to allocate more memory to 3. Click the Settings button 4. Set the RAM Allocation setting to your desired amount, it will automatically save your changes

Kobe Plane
September 11, 2024
انضم إلى ديسكورد