Troubleshooting Console Visual

Solving Startup Errors

Don't panic when your server crashes. This guide sorts through the most common exit codes and errors so you can get back online quickly.

1 Understanding Exit Codes

When a Minecraft server fails to start, it returns an Exit Code. Think of these as a shorthand way of telling you what went wrong. Here are the most common ones you'll see:

Exit Code 1

A generic crash. This usually happens when a plugin is incompatible with your server version.

Solution: Check your latest.log for the specific error.

Exit Code 127

A file is missing or you have an incorrect Java version selected.

Solution: Reinstall your server or change Java version in Settings.

Exit Code 137

Your server ran out of RAM! You've used more than what's allocated.

Solution: Delete some plugins or lower your view distance.

Exit Code 143

The server took too long to start or stop and was killed by the panel.

Solution: Check if your server is stuck loading a massive world.

4 Anatomy of a Crash Report

When your server generates a crash-reports/crash-yyyy-mm-dd_hh.mm.ss-server.txt, it’s not just noise, it’s a diagnostic map.

  • The Description: Usually the second line. Look for "Exception in server tick loop" or "Ticking entity." This tells you the *type* of crash.
  • The Stacktrace: A list of code methods that were active. Start from the top and look for plugin names (e.g., com.lucko.luckperms...). The first non-Minecraft class mentioned is almost always the culprit.
  • Server Details: This section list your RAM usage, Java version, and active plugins. Check if "Is Modded" is set to "Definitely; Server brand changed..."

5 JVM and Memory Errors (2026 Standards)

With Java 25, memory management is more efficient, but OutOfMemoryError (OOM) still happens due to memory leaks or oversizing.

Common Memory Killers:

  • Heap Space: Not enough RAM for the game objects. Solution: Optimize -Xmx or remove heavy plugins like Dynmap (during full renders).
  • Metaspace: Too many classes being loaded (usually from having 100+ small plugins).
  • Native Memory: Issues with off-heap tasks like compression or network encryption.

6 The "Binary Search" Troubleshooting Method

If you have many plugins and don't know which one is broken, use the **Divide and Conquer** method:

  1. Create a backup of your plugins/ folder.
  2. Remove **half** of your plugins and start the server.
  3. If it starts, the broken plugin is in the half you removed. If it crashes, it's in the half you kept.
  4. Repeat this process with the "broken" half until only one plugin remains.
  5. This is far faster than testing 50 plugins one by one.

7 World Corruption and Region Errors

Errors like Chunk file at [x,y] is in the wrong location or Failed to create a new region file usually indicate a hard-crash during a save.

The Fix: Use a tool like **MCA Selector** to delete the corrupted chunk, or restore only the world/region folder from your most recent Deduck backup. In 2026, Paper and Folia automatically attempt to "mending" small corruption, but manual intervention is sometimes needed for heavy MOD-based corruption.

8 Hytale (C#) Specific Errors

Hytale servers use C# for scripting, which fails differently than Java.
Script Compilation Error: Your custom .cs files have syntax errors. Check the logs/scripting.log.
Asset Mismatch: The client has the wrong version of a custom model. Ensure your assets/ folder is synced with the server manifest.