Knowledgebase

Minecraft

a minecraft icon

Minecraft

211 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 Use a MySQL Database on Your Minecraft Server

MySQL Databases are one of the many ways to store server data, commonly available for plugins. Your Shockbyte server comes with a free MySQL database that can be used to store new or existing data. If you do not have one yet, you can create a MySQL Database by following this tutorial: Creating a Database for Your Server. Once you've created a MySQL database, to use it, you simply need to provide your database information in the configuration file of a plugin that supports storing data in a MySQL database. Generally, the information required is the host, username, password, and the name of the database. ::ProseNote{title="Note" description="The example below assumes your server is running Spigot or Paper. The steps may be different when used in other server types." appearance="default"} :: --- Using a MySQL Database As an example, let's configure the plugin LuckPerms to store permissions data into your newly created MySQL database. This is a very popular plugin for managing player permissions. 1. Navigate to the Files Tab. 2. Head into the plugins folder, and then the LuckPerms folder. 3. Click the file to edit it. 4. Locate the Storage Method option and change it to . 5. Under the data section, change the values to your MySQL database information. ::ProseNote{title="Note" description="For this tutorial, we will be using sample information as an example, which you can find on your panel under Databases and then clicking on your desired database." appearance="default"} :: If you have successfully set up LuckPerms to use a MySQL database, it should begin storing all plugin data into the database. Each plugin that supports MySQL database storage will have similar steps to configure the plugin to use your database. If not, feel free to let our support team know, and we can help you out.

Zach Lowery
September 11, 2024

How to Use a Custom World Seed for Your Minecraft Server

A seed or world seed is a combination of letters and numbers used to specify how terrain is generated when creating a new world in Minecraft. Since a seed is the basis for how a world is generated, using the same seed will generate the same terrain. You can use the command /seed to display your current world seed. Do note that this may not work for servers for which you do not have permission to use commands. --- Important Notes - Generated worlds using the same seed on different versions of Minecraft may not be identical, especially with versions that feature new biomes or a different world generation, just like Minecraft 1.13 (Update Aquatic). - World seeds are a feature on all editions/platforms for Minecraft (Java, Bedrock/MCPE, etc.). However, a seed can only be used on the same platform it was from. When used on a different platform or edition of Minecraft, the terrain will not be identical. A seed for a Minecraft Java Edition world will not yield the same one when used in Minecraft Bedrock/Pocket Edition. - Seeds can be used in both single-player and multiplayer (servers). Using a custom seed allows you to customize the generation of your world. You can get a seed from a friend, or you can get a seed online from forums like MinecraftForum.net and other websites for sharing world seeds. --- How to Use a Custom Seed on Your Server You can easily use a custom seed for your server's world generation by simply changing an option in your server settings file. 1. Access your Control Panel and Shut Down your server. 2. Navigate to the Files Tab 3. Open up . 4. Locate the Level Seed option and enter the seed you would like to use. 5. Save your changes at the bottom of the page and start your server. ::ProseNote{title="Existing World" description="If you have an existing world, you will need to reset/delete this before starting your server (How to Reset your Minecraft World) for a new world to be generated using your custom seed." appearance="default"} :: After that, that's it! You have successfully used a custom seed for your server's world generation.

Zach Lowery
September 11, 2024

How to Update Modpacks Installed on Your Server

Modpacks are quite complicated bits of software, usually with lots of different mods all interacting with one another. This means that there are occasional updates to the modpacks to ensure that you are receiving the mods' up-to-date gameplay on your server. Unfortunately, there is currently no way for us to update the mod packs on your server automatically. As such, this guide will explain how you can do it manually so you can get back to playing with your friends as quickly as possible! --- Getting Started The first step to updating your mod pack is checking whether it needs an update. The best way to do this would be to simply Google the modpack and check whether the version you have installed on your server is the latest version. To update your server in the safest and easiest way, we will need to first reset/delete all of your server files. Make sure to download a copy of your world to your PC first. ::ProseNote{title="Warning" description="There is a chance that the world will become corrupt when you re-upload it to your server. When this happens, you may have to start again with a new world. We recommend that you frequently make backups of your world in case this happens." appearance="error"} :: Resetting your Server You can reset your server within your Files Manager on your control panel. 1. Login to your control panel and Stop your server. 2. Navigate to the Backups tab on the left side menu and create a backup. 3. After creating the backup, download it to access and reupload your world file later. 4. Once you have created and downloaded the backup, go to the Files tab. 5. Click on the Checkbox next to File Manager and then click Delete. 6. A window will appear; click on Delete if you wish to proceed with deleting your server files. 7. Start your server to redownload the default server files. --- Reinstalling the Modpack To reinstall the modpack on your server, simply follow our guides on installing a modpack on your server, and then upload your previous world. Congratulations, your server will now be updated to the latest version of your chosen modpack! If, for some reason, updating your server's modpack corrupts your world, you can restore your backup by reverting your server modpack version and following this guide.

Zach Lowery
September 11, 2024

How to Uninstall Plugins on a Minecraft Server

You may need to uninstall plugins if you find they are causing errors or crashes, conflict with other plugins you have installed, or don't function in the way that you expected. Luckily, removing plugins only requires stopping the server, deleting the plugin files, and starting your server again. --- Uninstalling Plugins Manually uninstalling plugins is as simple as stopping your server, navigating to your plugins folder, and deleting the plugin jar file you no longer want. You can save plugin data by not deleting the plugin's folder. However, if you would like to fully remove the plugin and its data, you will need to delete its folder along with the jar file. If you installed your plugin from the Shockbyte Panel Plugins page, you can uninstall it there as well. 1. Open your server's Control Panel and Stop your server. 2. Open the Files tab. 3. Select the folder. 4. Tick the plugin file(s) you want to remove, then click Delete. To delete a plugin, you will need to delete the plugin's jar file. If you would like to remove the plugin's data too, delete its plugin folder as well. 5. Start or Restart your server if it is already running. That's it! After the server boots up, the plugin will be removed from your server.

Kobe Plane
September 11, 2024

How to Uninstall Mods on a Minecraft Server

Sometimes you may need to remove a specific mod from your server due to errors it generates. A common reason to remove a mod is due to incompatibilities with other mods on your server. If you are using an official modpack, we highly recommend contacting the modpack creator for support instead of deleting mods you believe cause the issue. This can cause unintended corruption as modpack setups are generally very complex and combined with other mods. ::ProseNote{title="Please Note" description="We highly recommend generating a new backup for your server before following the steps in this guide. Please refer to this article for more information." appearance="danger"} :: Manually Uninstalling Mods 1. Access your server's Control Panel and navigate to the Files tab. 2. Click the folder to open it 3. Tick the box of the mods you wish to remove, then click the Delete button. 4. Restart your server. That's it! When your server next boots up, the mods will be removed.

Kobe Plane
September 11, 2024

How to Trim your World Using MCA Selector

If you have a large Minecraft world, there may come a point when you wish to trim your world. Trimming your world will allow new chunks to be generated in the affected area. This helps trim the world size if it's too big. Also, this is a great way to remove corrupted chunks. Regardless of the reason why you want to trim your world, the MCA Selector tool is a great way to accomplish world trimming. --- Installing the MCA Selector Tool 1. Navigate to the MCA Selector GitHub page 2. Click the Download Version X.X (Windows Installer) link 3. Once the installer finishes downloading, right-click it and click Run as Administrator 4. Click Run Anyway, then follow the setup steps from the installation wizard --- Trimming a World Using the MCA Selector Before you load your world into the tool and start trimming, we highly recommend you generate a backup of your world first! 1. Navigate to the File tab and click Open World, then locate and select your desired world folder 2. Hold left-click to drag and select the chunks you would like to keep in your world 3. Navigate to the Selection tab, then click Invert 4. Go back to the Selection tab, then click Delete Selected Chunks This will delete all the chunks highlighted in orange. After it processes, you have successfully trimmed your world. Next time you load into this world, it will start regenerating the affected chunks using the MCA world generator version of the world.

Kobe Plane
September 11, 2024

How to Trim your Minecraft World (using WorldBorder Plugin)

Using the WorldBorder plugin for Spigot or Paper, you can trim out chunks of your Minecraft server world that are outside of your configured border using commands. If you don’t already have WorldBorder installed on your server, you’ll need to install it in order to follow the steps in this tutorial. You can download the WorldBorder plugin from the SpigotMC website, then follow our tutorial on installing Minecraft plugins. --- Trimming your World As an operator (OP), you can use commands to trim your 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 trim off. For optimal performance, set this number to 20 or lower. A lower number will take longer, but will reduce lag on your server. Replace with a number representing the buffer to add beyond your border. The default is 208 and is suitable for most servers. You can use the command to generate missing chunks of your world that are within the border. To learn more, check out our article on pre-generating your world using WorldBorder.

Jay Miller
September 11, 2024
Discord'a katılın