When I'm opped on my private server other players cannot interact with certain things like chests and breaking blocks around spawn. When I de-op myself they can. So, what's causing this issue other than the fact that I'm OP?
As suspected by @Codingale, this is indeed spawn protection. From going through some decompiled Minecraft code, I gathered that a player is allowed to build at the spawn point of a world if:
- The world is not "dimension 0", i.e. it is a nether or end world.
- The list of OPs is empty.
- The player is OP.
spawn-protectionis set to 0 or less in your server config.
- The block is outside the spawn radius set in your server config.
As per that list and assuming you are the only OP on the server, de-oping yourself will cause the spawn protection to be bypassed.
If you don't like spawn protection, you can disable it by setting
Note that the Minecraft Wiki claims the following on
Setting this to 0 will not disable spawn protection. 0 will protect the single block at the spawn point.
However, this is not true. There is an explicit check in the code for that value and I've verified that setting it to
0 does indeed disable spawn protection for versions at least as far back as 1.8.