0

I have been trying to prevent players to break spawn but how can I and I am also asking how do you set spawn for everyone?

2

From the Wiki:

spawn-protection

Type: integer

default value: 16

Determines the radius of the spawn protection. Setting this to 0 will not disable spawn protection. 0 will protect the single block at the spawn point. 1 will protect a 3x3 area centered on the spawn point. 2 will protect 5x5, 3 will protect 7x7, etc. This option is not generated on the first server start and appears when the first player joins. If there are no ops set on the server, the spawn protection will be disabled automatically.

Add a line to the server.properties file of your server, and put spawn-protection=10.

This will set an area around your spawnpoint that only OPs can interfere with (this includes opening chests, breaking and placing blocks). You can change the 10 to any suitable number to fit your setup, so long as it remains an integer.

EDIT

As this appears to have plugins on it, I would recommend getting WorldGuard (or similar). This way you can select what regions of the world can be modified in which ways.

|improve this answer|||||
  • I am not 100% sure but the question is for mchost.co. At the moment this hosting service does not provide a web interface. Therefore you have no access to the server.properties file of the server and you are not able to change this that way. – Gerret Sep 15 '16 at 17:21
  • @Gerret Ah, sorry, I didn't realise this. I was assuming it was just a vanilla-only server. It seems to have plugins on, so WorldGuard or similar might work – Oliver Sep 15 '16 at 18:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.