Identify a Minecraft Java server crash caused by a client-only mod and remove the incompatible file safely. A client-only mod uses rendering, menus, input, or other code that is unavailable on a dedicated server. If one is uploaded to /mods, the server may stop during startup.
Identify the Incompatible Mod
- Start the server once — Log in to the NolimitHost Game Panel at
https://game.nolimit.host/, select your Minecraft server, and read the first relevant error in the Console.
- Look for a mod name — Check for messages such as
requires environment type CLIENT, invalid dist DEDICATED_SERVER, NoClassDefFoundError, or ClassNotFoundException.
- Compare the named file or mod ID — Match it with the files in
/mods.
- Check the mod author's page — Confirm whether the mod is client-only or has a separate server-compatible release.
Warning: A class-loading error can also be caused by a missing dependency or incompatible version. Do not remove unrelated mods merely because their names appear later in the stack trace.
Remove and Test
- Stop the server — Leave it stopped while changing mod files.
- Keep a copy — Download the suspected
.jar or move it outside /mods so you can restore it if the diagnosis is wrong.
- Start once — Start the server and watch the full startup. If it fails again, diagnose the new first relevant error rather than removing several files at once.
- Check player clients — Keep client-only mods on player devices when desired. Server-required mods and dependencies must remain compatible on both sides when the mod author requires them.
For other startup failures, follow the Troubleshoot a Server That Will Not Start guide.