spawn-npcs in server.properties

server.properties

Allowed residents to appear.

  • default true
  • removed to 1.21.2
My game select version

We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.

On page 6 sections

Briefly

Removed in 1.21.2

Key spawn-npcs is no longer in server.properties: it was removed from 1.21.2.

What makes spawn-npcs

Allowed residents to appear.

Values

WhatMeaning
Keyspawn-npcs
Defaulttrue
Typetrue or false
Removed1.21.2

What was replaced

There is no replacement for the key in server.properties: the server simply does not read this line, and it can be deleted.

On the version server up to 1.21.2, the line still works as before.

Frequently asked questions

Where did spawn-npcs go in server.properties?

It's been removed from version 1.21.2: the server no longer reads this line. It has no replacement in server.properties.

What was pawn-npcs doing?

Allowed residents to show up. The default was "tru".

Can you remove spawn-npcs from the file?

Yes: on the new versions, the string does not change anything. On the server before version 1.21.2, it still works.

More in this section

According to Minecraft 26.3, Mojang Lounger manifesto, version.json is inside the client of each version and server.Properties, which creates the server itself.