1
Player Spawning Priblem
Whenever a player is killed on my server, when they respawn they are in spectator mode. This is extremely frustrating because I have to change a player's game mode back to survival after they die. Does anybody know how to fix this problem?
1
I need more information to permanently fix this.
However, here is a temporary fix:
1) Locate your spawnchunks. Either use /spawn, or if your server doesnt have this, kill yourself. If your server doesn't have a set spawn, and players just spawn randomly across the world, this will work anyways.
To test to see if where you spawned is in your spawn chunks, place a command block with a clock and within the command block type "say hi" without the quotations. Fly away until the chunks are unloaded or go to the nether. If the server keeps saying "hi" in chat, then the command block is in your spawn chunks. You can locate your spawn chunks with a compass.
2) In your spawn chunks, out of sight and inaccessible, place a command block (type /give (your name) minecraft:command_block). If you cannot place a command block, go into your server.properties, and set enable-command-block=false to enable-command-block=true.
3) Open up the command block. Type in the following: minecraft:gamemode survival @a[m=3]. Click the button that says "Impulse" until it says "Repeating." Click the button that says "Needs Redstone" to "Always Active"
This will set all of your players who turn into spectator into survival. This will also disable spectator mode on your server.
Again, we need more information if you want us to actually fix the problem, and not just put a bandaid on it.
However, here is a temporary fix:
1) Locate your spawnchunks. Either use /spawn, or if your server doesnt have this, kill yourself. If your server doesn't have a set spawn, and players just spawn randomly across the world, this will work anyways.
To test to see if where you spawned is in your spawn chunks, place a command block with a clock and within the command block type "say hi" without the quotations. Fly away until the chunks are unloaded or go to the nether. If the server keeps saying "hi" in chat, then the command block is in your spawn chunks. You can locate your spawn chunks with a compass.
2) In your spawn chunks, out of sight and inaccessible, place a command block (type /give (your name) minecraft:command_block). If you cannot place a command block, go into your server.properties, and set enable-command-block=false to enable-command-block=true.
3) Open up the command block. Type in the following: minecraft:gamemode survival @a[m=3]. Click the button that says "Impulse" until it says "Repeating." Click the button that says "Needs Redstone" to "Always Active"
This will set all of your players who turn into spectator into survival. This will also disable spectator mode on your server.
Again, we need more information if you want us to actually fix the problem, and not just put a bandaid on it.
