Thanks for your interest :-)
I want to create a situation where student become automatically owners of an previously defined area.
Do you want to set up the areas for the students manually or automaticly?
Well, the areas are prepared. Rectangles that are marked by a one block stonebrick-wall. And I want the pupils to be able to build 50 blocks high and down. So the size is defined. There are 8 of these areas at the moment.
It is planned to start at a sky-platform, divide the pupils into groups with the use of the "gates"-mod and then teleport them to their area with a command-block. With the same command-block I wanted to give the ownership of a sub-area to the teleported person. I tried different commands but it does not work as wanted.
Which gates mod in particular?
This one viewtopic.php?t=9897
. It is just a help to separate the players. It does not have any other effect than building walls and open other wall with one click.
Shall groups of pupils be allowed to build in the same place or shall everyone have their own area?
Well, the world I'm using is more or less just a test it is possible to do all the things. Sometimes it might be useful that only player per area is the owner. In other cases on other worlds may be there can be more owners to let them build something together.
Why make use of a command-block? Doesn't that make things more complicated?
For me, it will be more difficult but this is thought as a model to prepare worlds for other teachers, social or educational workers that want to use Minetest but are not "willing" to learn all the commands for the area mod. Me and the group of other german people want to make Minetest more interesting as a replacement of Minecraft Education Edition. It is of cause well known and some think that it is the only solution to "play" with kids in an educational context.
But if you don't need a very special feature Minetest can be used to build something together as well. As I already told in other threads there an interface in preparation to help "Newbies" to control players. https://github.com/zeuner/edutest
And if we can offer a possibility to divide groups and give them the right to build just by having a step on a pressure plate, it would be another very useful thing for the "Newbie" teachers.
One example: a colleague that is an Arts teachers wants a group of pupils to build something. I can tell him: okay, here is the server name. This is the password for the pupils to get on the server (the will automatically have the privilege "student" so they can be controlled by the teacher) and if you log in with this account you are the teacher. You just need to click on the button for the gate to seperate them and then the pupils can begin to build.
Here is an example
where Minetest was used in an cultural context with the EDUTest Mod.
Everything should work just with the command-blocks ... hopefully ... that even every teacher can use it without knowing how to use text commands.
My markers mod might be helpful there. It allows to define areas by placing markers and then "buy" the defined area. For your purpose, it seems that an extra mod might be a better solution. You probably don't want to have teachers having to run around and define the areas manually.
That's it. And a predefined command block - for every area one - is what I want to have. The kids should not use the markers. They just need to build.