0

Let me start by pointing out that I am totally new to Minecraft, and that I am a kind of a software developer, so if my problem can be solved by coding then I might be able to do so.

I am working on an educational project for children where we have a dedicated custom server (Java Spigot/Paper 1.19) with a custom world populated from open street maps. The Minecraft server will be running without the presence of moderators or admins.

The idea that I am trying to achieve is that players will go to the server and they will (somehow) see a number of dedicated building areas where they would choose one area and build in it something of their choice. But the problem is that I don't want players building in multiple areas or destroying other player's blocks.

I am trying to achieve the following:

  1. Either: players must not be able to destroy any blocks built by other players, OR: each player can only build in one area, I am thinking this might be done if I add a code that checks the "place block or destroy block" events location and compares it against a set of locations that I have to check whether this player is allowed to build in this area or not.

  2. I would also like to filter the inventory items to prevent players from using TNT or similar items.

installed Plugins:

  1. Geyser
  2. Floodgate

I have tried installing a plugin called Grief Prevention but it either doesn't work or I didn't understand how to use it. I am also thinking of using a Plugin called NoBreak.

1
  • If you want to code it yourself and you already know coding and Java, coding your own Spigot plugin is not too difficult.
    – user253751
    Jul 26 at 10:24

1 Answer 1

1

You can control which players can interact with which blocks using Spigot Plugins. Vanilla Minecraft doesn't have the functionality you are looking for, but Spigot has many plugins for this.

  • You can control block breaking/placing zones with WorldGuard Extra Flags.
  • For disabling TNT and other items, as well as access to common mod tools, I recommend the popular plugin EssentialsX.
  • CoreProtect is another a plugin for protecting and moderating building/breaking of blocks on worlds that I have installed on all my servers.
1
  • I literally said the same thing and get downvoted
    – Aceplante
    Jul 28 at 6:41

Not the answer you're looking for? Browse other questions tagged .