11

In server.properties there is a spawn-monsters setting that you can set to false. It stops them from spawning, but does it remove existing monsters like setting the difficulty to peaceful? In other words, can I allow monsters for a little while and then safely turn them back off, or will creepers that spawned while it was on linger, awaiting unsuspecting victims?

1
  • 1
    I never knew peaceful removed monsters... I thought it was just really easy!
    – user11576
    Commented Aug 9, 2011 at 17:28

1 Answer 1

13

As of 1.8, setting difficulty=0 is the new equivalent to peaceful. spawn-monsters=false will still get rid of the nightly mobs, but unless difficulty=0, spawners will still spawn, and your health and food will not regenerate.


BEGIN OLD ANSWER:

In order for the changed setting to take effect, the server must be restarted. until restarted, monsters will still spawn. After a restart, there should be no monsters.

7
  • Yeah, probably because it only reads the properties file on start, and then the settings are cached.
    – Kzqai
    Commented May 27, 2011 at 16:19
  • @Tchalvak Yes, the server console only says "reading properties file" on the start of the server. Commented May 27, 2011 at 16:29
  • 5
    @Matt, restarting the server removes all the monsters whether spawn monsters is true or not
    – zzzzBov
    Commented May 27, 2011 at 18:55
  • 1
    Which is kinda too bad, since that means you can't keep them as pets.
    – Kzqai
    Commented Jun 6, 2011 at 2:21
  • 3
    As an extra note it also adds health regeneration.
    – Ronan
    Commented Aug 9, 2011 at 22:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .