π¦ Minecraft Bedrock Plot Manager – Description
This script is a fully-featured Plot Management System for Minecraft Bedrock Edition using the @minecraft/server and @minecraft/server-ui APIs.
It provides players with a protected area (plot) they can purchase, manage, and customize — while offering admins powerful tools to oversee and configure the entire plot system.
π Core Features
π‘ Player Plot System
-
Players can purchase their own plots using a scoreboard currency (Plot Tokens).
-
Automatic teleportation to owned or shared plots.
-
Member system that allows sharing the plot with friends (online or offline names).
-
Ownership transfer system.
-
A visitor system to safely explore other players' plots.
π‘ Region Protection
-
Each plot has a defined protection radius.
-
Only owners and members can:
-
Break blocks
-
Place blocks
-
Open or interact with containers (chests, doors, etc.)
-
-
Admins bypass all restrictions.
π Admin Tools
Admins (players with the plot_admin tag) get access to:
-
Add new plots at any location.
-
Remove plots from the world.
-
View all plot data including coordinates and ownership.
-
Teleport to any plot instantly.
πΎ Persistent Storage
All plots are saved using Dynamic Properties, ensuring:
-
Data is stored permanently.
-
All owned plots, members, and coordinates remain after server reloads.
-
Save/load with automatic error handling.
π§ User Interface
Built using ActionFormData and ModalFormData, the system includes:
-
A Player Menu (buy, teleport, members)
-
An Admin Menu (add, remove, list)
-
Visitor menus
-
Member management forms
-
Ownership transfer menus
All menus feature clear, styled text and intuitive navigation.
βοΈ Configuration Options
Inside the script you can easily configure:
-
π Menu activator items (stick & blaze rod)
-
π Scoreboard objective name
-
π Dynamic property key
-
π Plot size (protection radius)
-
π Admin access tag
π§© Technical Overview
The script uses:
-
A
Map()to maintain runtime plot data -
JSON serialization for persistent storage
-
Scoreboard helpers for token transactions
-
Custom block permission handling
-
Player UI forms for all interactions
βοΈ Perfect For:
-
Survival SMP servers
-
Creative plot servers
-
Cities, housing systems, or claim-based worlds
-
Admin-managed build zones
-
Any world needing secure, customizable build regions
π How to Use – Plot Manager System
This guide explains how players and admins can use the Plot Manager system in your Minecraft Bedrock world.
π§π€π§ For Players
πͺ΅ 1. Open the Plot Menu
Use the following item to open your menu:
-
Player Menu Item:
minecraft:stick
Right-click / tap with the stick to open the Plot Menu.
π‘ 2. Buying a Plot
-
Open the Player Menu
-
Select “Buy a Plot”
-
Choose from the list of available plots
-
You must have at least 1 Plot Token
-
Tokens are stored in the scoreboard objective: Ptoken
-
After purchase, you'll be teleported to your new plot automatically.
πͺ 3. Managing Your Plot
πΉ Teleport to Your Plot
From the Plot Menu, select “Teleport to My Plot”.
πΉ Add Members
-
Open Manage Members
-
Choose Add Member
-
Select an online player or enter the exact name of an offline player
πΉ Remove Members
Select Remove Member inside the Manage Members menu.
πΉ View Members
Shows a list of everyone who has access to your plot.
πΉ Transfer Ownership
Give your plot to a member:
-
Choose an existing member
-
Or enter an offline player's name
The old owner becomes a member automatically.
π 4. Visiting Other Plots
You can open Visit Other Plots from the menu to teleport to plots owned by other players.
Visitors cannot build or interact with protected blocks.
π‘ Plot Protection
Inside a plot:
-
Only the owner and plot members can break/place blocks.
-
Visitors cannot open doors, chests, or interact with blocks.
-
Admins bypass all restrictions.
Each plot has a protected area determined by PLOT_SIZE.
π For Admins
Admins need the tag:
/tag @s add plot_admin
π₯ 1. Open the Admin Menu
Use the Admin Item:
-
minecraft:blaze_rod
Right-click / tap to open the menu.
π 2. Add a New Plot
-
Stand at the location where the plot center should be
-
Open the Admin Menu
-
Select Add New Plot
-
Enter:
-
Plot name
-
X, Y, Z coordinates
(These are pre-filled with the admin’s position for convenience.)
-
β 3. Remove a Plot
-
Open Admin Menu
-
Select Remove Plot
-
Pick a plot from the list
This permanently deletes the plot.
π 4. List All Plots
Shows a full list of plots with:
-
Plot name
-
Owner
-
Coordinates
β¨ 5. Teleport to Any Plot
Admins can teleport to any plot via the admin teleport option.
βοΈ Scoreboard Setup
The system uses a scoreboard objective for purchasing plots:
/scoreboard objectives add Ptoken dummy
To give a player plot tokens:
/scoreboard players add <player> Ptoken 1