Get started

Loafmas Up to 80% off your first payment, with the code added to your order for you See the codes Codes for the Loafmas sale

Guides / Necesse / Fixes

Necesse server won't start: port, world and mod errors

A Necesse server that stops at its start: read the Crashes page, then fix a port in use, a world that would not load or a mod's error.

Updated , checked on Necesse 1.4.0

Open the Crashes tab. It lists every start of your Necesse server and reads each one for you. Open the newest start. If it says Failed to start or Crashed, the section What the panel can tell names the cause and the fix. Common causes: a mod’s error, a port in use, a world that would not load, too little memory.

Read the start

  1. Open the Crashes tab.
  2. Choose the newest start in the list on the left (1 in the picture). A start that never let players in is marked Failed to start, and its headline (2) says “The server never got as far as letting players in.”
  3. Read What the panel can tell. Each finding has a title (3), a short fix and the log lines that raised it (4).
The Crashes page with a failed start open and the finding that a mod stopped the server's start
  1. A start that failed (1)
  2. What happened (2)
  3. The finding (3)
  4. The mod the game names (4)

The mods in these pictures are examples from a demo server; Example Mod is made up.

If a start has no findings, the page says “None of the known causes are in this start’s log. The last lines below may still show what happened.” Open the last lines at the bottom of the start and read them.

When the game stops at its start and would wait for ever, the start script ends it for you and writes this line in the console: [Loafhosts] The game stopped at its start (reason) and would wait for ever: ending it. The Crashes page has the details. The server then shows as stopped.

A mod stopped the start

The finding is called “A mod stopped the server’s start”. The game prints a line such as The mod examplemod (v. 1.0.0) causes an error on startup. A mod made for another Necesse version is the usual cause, because the game does not check a mod’s game version when it loads.

  1. Open the Mods tab. A warning above the list (1 in the next picture) names the mod: “(name) stopped the server’s last start (the game said it causes an error on startup). Take it off the list, or update it.” The mod’s row says Not loaded (2): it was on the list, but the game did not load it at its last start.
  2. Press the trash button on that row (3).
  3. Press Apply. With the server offline, the panel changes the mods folder and the game’s mod list and leaves the server offline.
  4. Press Start.
The Mods page after a failed start: the warning names the mod and its row says the game did not load it
  1. The mod that stopped the start (1)
  2. Not loaded (2)
  3. Take it off (3)

Taking a mod off can remove what it added to your world: if the world was saved with that mod, its items, creatures and blocks are dropped from the world at its next save. Make a backup first. Stop the server first, or save the world just before: Save the world on the Players page (the panel’s tools running; the panel’s tools are a small program the panel loads into the game at every start, and players need nothing for it). See a mod stopped the server.

Players need the same mods as the server, so tell them the list changed. See players need the same mods. To update the mod instead of taking it off, see update or remove a mod.

A second finding, “A file in mods/ is not a mod the game can load”, means the game skipped a file and started without it. Take it off the Mods page, or delete it from the mods folder in Files.

The server’s port was in use

The finding is “The server’s port was in use”. Something else was using the game’s port, so the game stopped within seconds. Press Start again. If it happens again, ask support to check the server’s port.

The port is the server’s own, shown on the Network tab. The panel gives a Necesse server one port, and it uses UDP, the kind of network connection the game uses. See server ports.

The world could not be loaded

The finding is “The world could not be loaded”. The game said it could not load the world, or its path was not valid. To get running again:

  1. Open the World page. The game keeps its own backups of a world. They are listed with the tag Game’s backup, with names that start LATEST_BACKUP.
  2. Press the copy icon on a backup row. Keep the name in Name of the copy or type your own (letters, digits and _, up to 30) and press Copy.
  3. Press Play on the copy, then press Start.

The backup is older than the world it came from, so anything built after it is not in it. You can also restore a backup of the whole server: stop the server, open Settings, then Backups, on the backup’s row open its menu and choose Restore, then Restore in the window. Anything changed on the server since that backup is lost. See copy or delete a world.

A zip with the world’s folder inside it loads as it is. A zip with world.dat at its top does not fail like this: the game makes a new world instead, and the zip needs Unpack on the World page. See world made new instead of loading.

Out of memory

The finding is “The server ran out of memory”, or “The server used all its memory and was stopped” with exit code 137. A start the machine ended for memory reads Crashed, with Out of memory Yes. A large world, many players or a heavy mod needs more. Take off a mod you do not need, or ask for a bigger size. If the last mod you added is the one that broke it, take that one off first.

The game’s files are missing

If the console says [Loafhosts] The game's files are missing. Reinstall the server from its Settings page., open Settings and use Reinstall Server. The card warns: “Some files may be deleted or modified during this process, please back up your data before continuing.” Back up first, as above. In the Reinstall Server window, Protect a file or folder keeps it through this and every later reinstall.

If it does not work

  • The Crashes page shows no start. The server has not started yet, so there is nothing to read.
  • The server is running but nobody can join. Check the address and port in the Join this server band on the Players page, and see find your server address.
  • The same finding comes back after your fix. Read the log lines under the finding and fix the first thing they name. Take off the last mod you added.

More about the game: Necesse servers.

Necesse server hostingAll Necesse guides