Assigned Plots (especially for a Server set up.)
Maybe this is already possible but I haven't come across how to do it yet.
I would like to set up a world with Building Plots that can be assigned to specific students. (I know this is possible on Java servers with certain plug ins.)
Anyway, I want to set up a world where there will be certain areas where building is allowed but I want to assign the areas to particular students sometimes so they each have to do their own work and so that work is protected from grief by other students.
I know how to program command blocks in bedrock to teleport particular people to a designated location, However, I've not really figured out how to set it to change game mode for only a particular player while they are within that designated location and to change them back when they leave.
I understand the use of allow blocks to allow building in a particular area of an otherwise immutable world but I don't know how to make the plots only work for a designated student.
-
This sounds like a really good idea, I wonder if anyone’s done this before?
I think it could be done with tags? Might get laggy with a lot of repeating command blocks running, but I’d be happy to try building a sample world for you. How many students would you need?
0 -
Hum. At the moment I don't need it for very many students but I think something that can handle the full 30 players would probably be appropriate for something like this (they may not all be in the world at the same time but the point is to keep the build in the plot to just the student that is assigned that plot.)
Perhaps it doesn't have to be repeating command blocks? Perhaps they have to press a button or use a lever when they enter? Hum, but how to change modes back when they leave?
0 -
Ok, a button system would work really well! Let me test something out tonight. I’ll get back to you...
0 -
Ideal build area?
0 -
Ok, I think I have something that should work well...
I have 30 numbered plots (each 13x13). I created a repeating command block chain that assigns each student a number (displayed on sidebar, below their name, and on the multiplayer list). After assigning a number, it teleports them to their plot and then clones in a new chain to assign the next number to the next student and teleport them to their plot.
Then, next to each plot I added a repeating command block that tests if the assigned player is in that area. If they are, it puts them on creative mode, but as soon as they leave the area, it puts them on adventure mode. This way, they can only build when they are on their plot!
Here's a link to the world file (make sure you click on the download arrow at the top right corner). Let me know how it works out for you. I've tested it a little, but not with a full class!
https://drive.google.com/file/d/1qQpO9XN9zbJf5vzWMgYBWoK7SWzdxYOF/view?usp=sharing1 -
Tested it with a few students today, worked well so far...
0 -
Thank You, Will Check it out.
0 -
Oh Cool, I think it works. Hum I might need to create an extra copy so I can deconstruct and see how it was all done.
0 -
Chris Fuge, As I'm trying to learn from reverse engineering here, where is the original command block chain that assigns the payer their score?
I need to check out the commands and layout since assigning a score this way might also work well for some of the "team" project ideas where we have the issue of not being able to assign teams.
0 -
Hum. Please make a tutorial on how to do this. I can't seem to study it since every time I get close enough to the chain I'm getting teleported to the next plot!
0 -
Ok, I can make a tutorial, but in the meantime the area with the initial command blocks is over in front of plots 2 and 3 I think.
To prevent the instant tp, type:
/gamerule commandblocksenabled falseThis will turn them off while you check out the starting area.
There’s also an on/off switch and a reset button down there.
There’s a big row of the command block chains that get copied in for each new student.
I have found that it can get a little glitchy if students come in at the same time, occasionally skipping a number. I think I’ll add the command to manually assign a student to a plot in case one gets skipped
0 -
Here are the coordinates for the starting command blocks
0 -
Thank You Chris! That reminder about enabling/disabling command blocks should help me out.
0 -
You can definitely use this for creating Teams in Minecraft. I have a team battle world that has two starting stations. When players go to the Red station it sets their score to 1 and if they go to the blue station, it sets their score to 2. Then I have those scores displayed below their names in the game and on the sidebar so they can see what team each player is on. Its not the same as the Teams scoreboard features in the commercial version, where you can then turn off friendly fire and set colors, but it was enough to make the game functional.
Once you set a players score, you can use that as a condition for the target selector to only select certain students. For example, to tp all students on the blue team (score =2):
/tp @a [scores={Team=2}] You do need to first add the objective to the game.
0 -
This video covers some of the basics of scoreboard commands, if you're not familiar with them:
https://drive.google.com/file/d/1ND6Mq6yZ7AQjWrBBOJNcfpg0HHiQw9j0/view
0 -
There was another thread where people were trying to figure out how to do teams for a class challenge. If I can remember which thread that was I will link this for them!
0 -
Dang that is a helpful video. Is it your video Chris? And if so, do you have a channel I can follow?
0 -
Yes, that’s me! I currently have most of those hosted on my website:
www.mrfugetech.comOn the Minecraft tab on the sidebar. I have a YouTube channel, but I don’t like the ads so I’ve started just linking to videos in my google drive.
0 -
Will check it out. Good Video, clear and useful without all the stuff that makes so many videos painful to watch.
0 -
Hey!
Thanks for linking me to this thread, Aleece Landis.
I have followed your video to set an objective for TribeScore which I want to tally up as players make discoveries (I will place some command blocks around the world programmed to add to their score) - question: How can I prevent a player just standing there repeatedly pressing the button to gain points. Is there a way to limit a player to only gain a single point no matter how many times they press that particular button?
Also, I am still not clear on how I could make teams on EE. I have three tribes, each with their own settlement area.
0 -
I just watched all your videos on this and now think I can do teams. Will these save automatically when the lesson ends? It would be great if when they log back into the world, it automatically saves.
I am thinking now that if they find a discovery block, it awards them a point and teleports them to a place to collect a reward. In this place, there will be a teleporter back to their settlement so they can share the reward with their tribe.
0 -
James Myklebust-Hampshire Yes, scoreboards will remain active between sessions and as far as I've seen, student scores will be remembered as well.
Yes, that's a great idea to just teleport them after they find the discovery. Another way to do it, is to use tags. I just learned this last week so I dont have a video yet, but I think I can explain it.
On the initial command block where you give the point, you will add a condition to the target selector. If you use a different letter for each discovery, (A, B, C...) then you can check at each discovery if that player has been there before. You can add a command block to the chain that assigns a tag to the player when they get the point, and then check for that tag on the first block that gives the point.
say the tag was A, then on the first block you would add 1 pt to the nearest player [tag=!A], that would give the point to the nearest player who DOESNT have the tag A assigned to them. Exclamation mark means NOT in selectors.
I can create a quick video if that would help.
0 -
Thanks for the info about teams and scores. I am hoping for the game to last weeks, with tribes discovering various places, factions, new tribes forming, people going solo, maybe even a full-blown war - who knows!
That sounds like a good plan - thinking about it now, I would like the following to happen:
- PlayerJames in the RED tribe (maybe team 1 as it needs to be numerical) pushes the button
- PlayerJames gains a point for all of his team but only he is teleported to the reward zone
- Another player on RED pushes the same button, nothing happens.
- Later in the game, a player on BLUE pushes the button, the process repeats for that team.
___
*bonus* - something I am sure would be possible would be that when the player teleports to the reward zone, an item is automatically generated out of a dispenser (maybe?) in the reward zone. Saves me having to be there and put reward in each time!
I feel like your description is great and I could probably work it through, but your videos are so good!
0 -
James, you could probably also use a Give Command in a command block that triggers when they say push a button or step on a plate or something? (that would save you having to keep the dispenser full, then again I suppose it is possible to use a command block to place items in the dispenser as well.)
0 -
That's probably easier than using a dispenser... What I am trying to avoid is them pressing the button over and over to receive multiple rewards.
I think I could use the tag command that Chris Fuge was talking about - if the chain tagged them while they collect the reward, but if they press the button again they can't receive the reward again due to their tag.
0
Please sign in to leave a comment.
Comments
25 comments