My friends and I, along with about 6 other people have been playing in his creative map for more than 6 years. We finally got it to upload to the "Better Together" Bedrock edition. We hope to make it a server one day. Basically we have a central hub, the main center map, and he built a sky island. Well we dont want anybody being able to destroy anything on said island. We play on xbox and kind of new to the command blocks. We know there is a way to set it too adventure within a radius and back to survival once you leave the radius but idk the formula or code. Can anybody help???
I'm pretty sure we need two or more command blocks to make it work. If anybody helps out can you label which block needs to be set to A and S just to help avoid confusion. This is a massive sky island and a lot of work was put into it. The map started as a 360 map on survival and got changed to creative when uploaded to an xbox one map. Any help would be great.
This is what’s i use. Think of it like a shield. You have to pass through the perimeter/edge for it to take effect. So teleporting and spawning in will not work.
Command block A : Set to adventure
Settings: Repeat, unconditional, always on
gamemode a @a[name=!yourName, rm=35, r=36]
Command block B: Set to survival
Settings: Repeat, unconditional, always on
gamemode s @a[name=!yourName, rm=36, r=37]
I recommend turning command block output off.
Name=!yourName is optional. This prevents the blocks from changing your game mode.
To get around new players spawning in on survival:
1. Set world spawn to somewhere isolated. Get cords
2. Commandblockchain:
A. If player in world spawn, change spawn point
B. Set game mode to adventure
C. Teleport player to your real spawn area.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Heeeellllppp.
My friends and I, along with about 6 other people have been playing in his creative map for more than 6 years. We finally got it to upload to the "Better Together" Bedrock edition. We hope to make it a server one day. Basically we have a central hub, the main center map, and he built a sky island. Well we dont want anybody being able to destroy anything on said island. We play on xbox and kind of new to the command blocks. We know there is a way to set it too adventure within a radius and back to survival once you leave the radius but idk the formula or code. Can anybody help???
I'm pretty sure we need two or more command blocks to make it work. If anybody helps out can you label which block needs to be set to A and S just to help avoid confusion. This is a massive sky island and a lot of work was put into it. The map started as a 360 map on survival and got changed to creative when uploaded to an xbox one map. Any help would be great.
Put this all within a ticking area and this should do it.
TO ACTIVATE
/testfor @e[type=player,x=xmin,y=ymin,z=zmin,dx=xarea,dy=yarea,dz=zarea] (RCB Always Active)---
--->comparator------>redstone_wire------>repeater---
--->/gamemode adventure @e[type=player,x=xmin,y=ymin,z=zmin,dx=xarea,dy=yarea,dz=zarea](RCB Needs Redstone)
TO DEACTIVATE
redstone_wire------>redstone_torch(off the side)------>repeater---
--->/gamemode survival @e[type=player,x=xmin,y=ymin,z=zmin,dx=xarea,dy=yarea,dz=zarea](ICB Always Active)
This is what’s i use. Think of it like a shield. You have to pass through the perimeter/edge for it to take effect. So teleporting and spawning in will not work.
Command block A : Set to adventure
Settings: Repeat, unconditional, always on
gamemode a @a[name=!yourName, rm=35, r=36]
Command block B: Set to survival
Settings: Repeat, unconditional, always on
gamemode s @a[name=!yourName, rm=36, r=37]
I recommend turning command block output off.
Name=!yourName is optional. This prevents the blocks from changing your game mode.
To get around new players spawning in on survival:
1. Set world spawn to somewhere isolated. Get cords
2. Commandblockchain:
A. If player in world spawn, change spawn point
B. Set game mode to adventure
C. Teleport player to your real spawn area.