Common Issues
You can find common issues listed here
1. Java Issues
Console Message:
or the following message immediatelly after starting the server:
Explanation: This error means that the Minecraft server requires a newer version of Java, typically Java 21 for Minecraft 1.21 and above, but your system is running an older version like Java 8 or Java 11.
Solution (for Windows):
Download Java 21:
Go to the Oracle Java SE Downloads and download the Windows Installer for Java 21.
Install Java:
Run the installer and follow the prompts to install Java 21 on your system.
Verify Java Version:
Open Command Prompt and type:
It should return something like
java version "21.0.x"
.
2. Insufficient Resources
Console Message:
Explanation: This error occurs when the server doesnât have enough RAM to function. By default, the server may allocate only 1GB of RAM, which is insufficient for larger servers, modded worlds, or multiple players.
Solution (for Windows):
Modify the Server Startup Script:
Open the start.bat file (or create one if it doesnât exist) in your server folder.
Edit the file to allocate more memory by changing the
-Xmx
and-Xms
parameters:Here,
-Xmx4G
sets the maximum RAM to 4GB, and-Xms2G
sets the initial allocated RAM to 2GB.
Ensure Sufficient System Memory:
Right-click This PC > Properties and check how much RAM your system has. Make sure the serverâs allocated RAM doesnât exceed your system's total available memory.
Command Line Check:
If the server still crashes, open Command Prompt and run:
This will show how much memory the Minecraft server is using in real time.
3. Port Already in Use
Console Message:
Explanation: This error means that another application (or another Minecraft server instance) is already using the default server port (25565). A port can only be used by one process at a time.
Solution (for Windows):
Check for Other Processes Using the Port:
Open Command Prompt as Administrator and run the following command to see if any process is using port 25565:
This will list any processes using port 25565. The last number is the PID (Process ID).
Terminate the Conflicting Process:
If a process is using the port, find it by running:
Terminate the process by running:
Change the Server Port:
If you cannot free up port 25565, open the
server.properties
file and change:Save the file and restart the server.
4. Firewall or Network Issues
Console Message:
Explanation: This error means that a player was unable to connect to your server. It could be due to your firewall blocking connections or incorrect port forwarding. On a local machine, firewalls sometimes block external traffic from reaching the server.
Solution (for Windows):
Allow Minecraft Server Through Windows Firewall:
Open Control Panel > System and Security > Windows Defender Firewall > Allow an app or feature through Windows Defender Firewall.
Find
javaw.exe
in the list and ensure it's allowed for both Private and Public networks. If it's not there:Click Allow another app > Browse > navigate to your Java installation folder (
C:\Program Files\Java\jdk-21.x.x\bin
) and selectjavaw.exe
.
Port Forwarding (for home routers):
Open your router settings (usually accessed via a browser at
192.168.1.1
).Go to Port Forwarding settings and forward port 25565 (or whichever port your server uses) to your machineâs local IP (e.g.,
192.168.1.101
).Set both TCP and UDP protocols for this port.
Verify Your Public IP:
If you are hosting the server on a home network and allowing external players, provide them with your public IP. You can check your public IP by visiting WhatIsMyIP.
5. Incorrect EULA
Console Message:
Explanation:
The Minecraft server requires you to accept the End User License Agreement (EULA) before it can start. If eula=false
in the eula.txt
file, the server wonât run.
Solution (for Windows):
Open the
eula.txt
file in the server directory using Notepad.Change the line:
to:
Save the file and restart the server.
Sure! Hereâs the updated guide with additional sections covering Minecraft plugin errors and general Minecraft server errors that often occur with plugins or mods.
6. Plugin Errors
6.1. Incompatible Plugin Version
Console Message:
Explanation: This error occurs when a plugin is designed for a different version of Minecraft than the server is running. For example, the server might be running Minecraft 1.18, but the plugin was made for Minecraft 1.20.
Solution (for Windows):
Download the Correct Version:
If an older or newer version of the plugin is available for your Minecraft version, download that version and place it in the
plugins
folder.
Update the Server:
If you prefer to use the newer plugin version, consider updating your server to match the pluginâs version. Always ensure your plugins and server are compatible.
6.2. Missing Dependencies
Console Message:
Explanation: This error occurs when a plugin requires another plugin (known as a dependency) to function, but the dependency is not installed. In this example, the EssentialsX plugin requires Vault to be installed.
Solution (for Windows):
Identify the Missing Dependency:
Check the error log to find out which dependency is missing (e.g., Vault in the above error).
Download the Dependency:
Go to the plugin repository (e.g., Vault) and download the latest compatible version of the missing plugin.
Install the Dependency:
Place the downloaded plugin in the
plugins
folder.Restart your server to load the new dependency.
Check Plugin Documentation:
Some plugins require additional configuration or dependencies. Always review the pluginâs official documentation to ensure all necessary dependencies are installed.
6.3. Plugin Configuration Error
Console Message:
Explanation: This error occurs when a plugin encounters an issue during runtime, often due to an incorrect configuration file, missing settings, or a code issue within the plugin itself.
Solution (for Windows):
Check the Pluginâs Configuration:
Open the plugin's configuration file (usually located in the
plugins/<plugin_name>
folder).Look for any errors, missing fields, or invalid values.
Revert to Default Config:
If youâre unsure about the correct settings, delete the configuration file and restart the server. The plugin will generate a fresh default configuration file.
Check for Plugin Updates:
If the error persists, visit the pluginâs page and check if thereâs an update or patch that fixes the issue.
Report the Issue:
If it seems like a plugin bug, report the error to the plugin developer, providing the error message and steps to reproduce.
7. General Minecraft Errors
7.1. Corrupted World Files
Console Message:
Explanation: This error occurs when one or more chunks in your Minecraft world become corrupted, often due to improper shutdowns, crashes, or disk errors. The server canât read the chunk data properly, which can cause issues when loading the world.
Solution (for Windows):
Backup Your World:
Before trying to fix the issue, make a backup of your world folder by copying it to a safe location.
Use MCEdit to Repair:
Download and install MCEdit (a world editing tool for Minecraft).
Open your world in MCEdit and locate the corrupted chunk. Delete or repair the chunk, and save the world.
Delete the Corrupted Region File:
Minecraft worlds are divided into region files, each containing a large set of chunks. Find the region file corresponding to the corrupted chunk and delete it. The server will regenerate it automatically:
World region files are located in
world/region/
and have names liker.x.z.mca
. Use an online tool like ChunkBase to find the region containing the corrupted chunk.
Restore From Backup:
If repairing doesnât work, restore the world from a previous backup before the corruption occurred.
7.2. Corrupted Server Files
Console Message:
Explanation: This error occurs when the server.properties file is missing or corrupted. This file controls many of the serverâs settings, such as world name, game mode, and server port.
Solution (for Windows):
Recreate the
server.properties
File:If the file is missing, you can manually create a new
server.properties
file in the server folder. Use a basic text editor like Notepad and input the default settings. Alternatively, starting the server without aserver.properties
file should automatically generate a new one.
Verify File Integrity:
If the file is corrupted, open the file and inspect it for any unusual characters or missing lines. You can also compare it with the default
server.properties
configuration from the Minecraft wiki or re-download it from the official Minecraft server files.
7.3. "Internal Server Error" on Player Join
Console Message:
Explanation: This error often occurs when a player tries to join a server that has an issue with plugins, mods, or corrupted player data, resulting in the server disconnecting them due to an internal error.
Solution (for Windows):
Check for Plugin or Mod Conflicts:
Disable any newly installed or recently updated plugins or mods. You can do this by temporarily moving them out of the
plugins
ormods
folder and restarting the server to see if the issue is resolved.
Clear Player Data:
If the issue seems specific to a player, you can reset that playerâs data by deleting their player data file from the
world/playerdata/
folder. Be sure to make a backup of this file before deleting it.
Review Logs:
Check the server logs in the
logs/latest.log
file for more detailed information about what caused the error.
If the issues are not resolved, feel free to contact me on BuiltByBit.
Last updated