By the title, I mean I want to set up a sort of hardcore mode for a server. On a single-player when the player dies they can go into spectator mode. I want to do that in the server, but also be able to respawn that person somehow. (Maybe by throwing a diamond block and a gold block on the ground? I'm not really sure on that part.) Is this even possible?
Bedrock? How many people will be on the server at the most?
Im sure with addons in bedrock you can do that. There might be other sources to do that but in bedrock Im not sure if you could do that with commands alone.
You could toss them in adventure, give them invisibility, elytra, infinite rockets
And then at anytime you could throw an item that returns them to regular survival
I couldn't find the type of addon I wanted so I started fiddling around w/ commands and I think I'm in the right ball park. I have it so when someone dies it goes on a scoreboard, so what I want to do is change anyone with "score{Dead=1}" to adventure mode. I tried this command but I cant seem to find why it wont work.
/execute @a[scores={Dead=1}] ~ ~ ~ gamemode a @p
Any Idea on how I can get this to work? When I do this it says nobody matches the search even though I am at "Dead=1"
By the title, I mean I want to set up a sort of hardcore mode for a server. On a single-player when the player dies they can go into spectator mode. I want to do that in the server, but also be able to respawn that person somehow. (Maybe by throwing a diamond block and a gold block on the ground? I'm not really sure on that part.) Is this even possible?
Bedrock? How many people will be on the server at the most?
Im sure with addons in bedrock you can do that. There might be other sources to do that but in bedrock Im not sure if you could do that with commands alone.
You could toss them in adventure, give them invisibility, elytra, infinite rockets
And then at anytime you could throw an item that returns them to regular survival
I'm planning on getting a realms so 10 at most. Also, what are addons? I haven't really played Bedrock Edition before.
They are like the mods of bedrock for lack of a better word
I couldn't find the type of addon I wanted so I started fiddling around w/ commands and I think I'm in the right ball park. I have it so when someone dies it goes on a scoreboard, so what I want to do is change anyone with "score{Dead=1}" to adventure mode. I tried this command but I cant seem to find why it wont work.
Any Idea on how I can get this to work? When I do this it says nobody matches the search even though I am at "Dead=1"
Edit: I found I can do
and it works instead.
/execute @a[scores={Dead=1}] ~ ~ ~ gamemode a @s
it might be trying to do the nearest player to you and not actually you