I'm looking for a map, which I'm currently building a council. I ask myself whether it is possible to lock slots from a box and, ideally, even to lock inventory so that a player can't remove or exchange the items?
Should work in Java vanilla without plugins
Enter that in Google you can do it with Command blocks. A little more complex though.
I would not ask this question if I had found something suitable on the Internet.
Well, it doesn't exactly show what I meant but could still help me.
You're welcome
With the https://minecraft-de.gamepedia.com/...eplaceitem command
Example: / replaceitem entity @p inventory.0 stone 1
You have to write the command in a repeating command block so that the item can't be changed.
I just tested it. It is still possible. This means that only one item replication is possible