By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.
OK, Don't show this again
CustomAreas is a powerful PocketMine-MP plugin designed to help server administrators create and manage protected regions within their Minecraft worlds. With CustomAreas, you can define specific areas where only players with the appropriate permissions can enter, ensuring better control and organization of your server environments.
Download the Plugin:
Upload to Plugins Directory:
CustomAreas.phar
(or .zip
if provided) into the plugins/
directory of your PocketMine-MP server.Restart the Server:
config.yml
file if it doesn't already exist.The config.yml
file allows you to customize messages, define regions, and set permissions. Below is an overview of the configuration options:
# =============================================================================
# CustomAreas Plugin Configuration File
# =============================================================================
# Configures messages and regions for the CustomAreas plugin.
# Customize messages and add or modify regions as needed.
# =============================================================================
# =============================================================================
# Messages Section
# =============================================================================
messages:
gui_title: "Custom Areas"
gui_content: "Choose an action:"
gui_buttons:
- "Create Area" # Index 0
- "Edit Area" # Index 1
- "Remove Area" # Index 2
- "List Areas" # Index 3
- "Cancel" # Index 4
confirm_remove_title: "Confirm Removal"
confirm_remove_content: "Are you sure you want to remove the area '{name}'?"
no_permission: "You do not have permission to use this command."
usage: "/ca <create|edit|remove|list|gui|pos1|pos2>"
pos1_prompt: "Please set position 1 using /ca pos1."
pos2_prompt: "Please set position 2 using /ca pos2."
region_exists: "The region '{name}' already exists."
create_success: "Region '{name}' has been created successfully."
remove_success: "Region '{name}' has been removed successfully."
edit_success: "Region '{name}' has been updated successfully."
edit_pos1_success: "Position 1 for region '{name}' has been updated."
edit_pos2_success: "Position 2 for region '{name}' has been updated."
entering_region_denied: "You do not have permission to enter the region '{name}'."
list_areas: "List of defined areas:"
list_areas_empty: "No areas defined."
edit_area_title: "Edit Area"
edit_area_content: "Modify the area details below:"
edit_area_name_prompt: "New Area Name"
edit_area_change_pos1_prompt: "Change Position 1?"
edit_area_change_pos2_prompt: "Change Position 2?"
region_message_prompt: "Enter the custom entry message for this region:"
region_message_default: "Welcome to {name}!"
# =============================================================================
# Regions Section
# =============================================================================
regions:
# Example Region: Spawn
spawn:
min:
x: 100 # Minimum X coordinate
y: 64 # Minimum Y coordinate
z: 100 # Minimum Z coordinate
max:
x: 200 # Maximum X coordinate
y: 80 # Maximum Y coordinate
z: 200 # Maximum Z coordinate
world: world # World name where the region is located
permission: customareas.entry.spawn # Permission required to enter
message: "Welcome to Spawn!" # Custom entry message
# Example Region: Arena
arena:
min:
x: -50 # Minimum X coordinate
y: 70 # Minimum Y coordinate
z: -50 # Minimum Z coordinate
max:
x: 50 # Maximum X coordinate
y: 90 # Maximum Y coordinate
z: 50 # Maximum Z coordinate
world: arena_world # World name where the region is located
permission: customareas.entry.arena # Permission required to enter
message: "Welcome to the Arena!" # Custom entry message
# Add more regions following the same format:
# my_custom_region:
# min:
# x: 300
# y: 70
# z: 300
# max:
# x: 400
# y: 90
# z: 400
# world: my_world
# permission: customareas.entry.my_custom_region
# message: "Welcome to My Custom Region!"
messages
Section:
{name}
as a placeholder to dynamically insert the region name into messages.regions
Section:
To add a new region, follow the existing structure under the regions
section. For example:
my_custom_region:
min:
x: 300
y: 70
z: 300
max:
x: 400
y: 90
z: 400
world: my_world
permission: customareas.entry.my_custom_region
message: "Welcome to My Custom Region!"
The CustomAreas plugin provides several commands to manage regions. Below are the available commands and their descriptions:
/ca
/ca
/ca create
/ca create
/ca edit
/ca edit
/ca remove
/ca remove
/ca list
/ca list
/ca gui
/ca gui
/ca pos1
/ca pos1
/ca pos2
/ca pos2
Permissions control access to various commands and regions. Integrate CustomAreas with your permission management plugin (e.g., ChatPerms) to assign these permissions to players or groups.
customareas.command
Each region has a unique permission node that controls who can enter it. These permissions are defined in the config.yml
under each region.
customareas.entry.<region_name>
Accessing the GUI:
/ca
or /ca gui
command to open the main CustomAreas GUI.Creating a New Region:
/ca pos1
and /ca pos2
while standing in the desired locations.Editing an Existing Region:
Removing a Region:
Listing All Regions:
/ca list
command to view all defined regions along with their details.Entering a Region:
Open the GUI:
/ca
Select "Create Area":
Enter Details:
market
Welcome to the Market!
Set Positions:
/ca pos1
/ca pos2
Assign Permissions:
/cp addgroupperm vip customareas.entry.market
Open the GUI:
/ca
Select "Edit Area":
Choose "market":
Modify Details:
central_market
(or leave blank to keep the same)Welcome to the Central Market!
Open the GUI:
/ca
Select "Remove Area":
Choose "central_market":
Confirm Removal:
CustomAreas enhances your PocketMine-MP server by providing a flexible and secure way to manage protected regions. Empower your server administration with precise control and personalized player experiences. Happy crafting!
You can leave one review per plugin release, and delete or update your review at any time