A lightweight and powerful region trigger system for Minecraft
servers.Create custom regions and automatically execute actions when players enter or leave them.
(Perfect for)
Spawn areas, cities/towns, RPG servers, adventure maps, boss areas, and custom background music.
Java 17+
Minecraft 1.20+
spigot/pupur/paper
PlaceholderAPI
Commands :
/rac - Show plugin information
/rac give <player> - Give a player the region selection wand
/rac create <id> - Create a new region from the selected points
/rac delete <id> - Delete an existing region
/rac list - List all created regions
/rac reload - Reload configuration, messages, and region data
/rac debug - Toggle debug mode
Permissions :
regionaction.admin - Allows access to RegionAction admin commands
regionaction.use - Allows players to trigger regions
How to Create a Region? :
Use /rac give <player> to get the selection wand.
Left click a block to set Point A.
Right click a block to set Point B.
A particle outline will preview the selected area.
Use /rac create <id> to create the region.
Edit the plugins/RegionAction/data/save.yml file to customize titles, commands, sounds, priority, and more.
Use /rac reload to apply the changes.
YAML:
spawn:
world: world
priority: 100
pos1:
x: 100
y: 0
z: 100
pos2:
x: 200
y: 200
z: 200
enter:
title: '&7[&6 Spawn Area &7]'
subtitle: '&aWelcome to the safe zone!'
commands:
- 'say %player% entered the spawn area'
leave:
title: '&7[&6 Spawn Area &7]'
subtitle: '&cYou left the safe zone!'
commands:
- 'say %player% left the spawn area'
sound: 'minecraft:music.sound1'
sound-length: 120
sound-loop: true
sound-delay: 0
Region Priority System :
RegionAction supports overlapping regions.
When a player is inside multiple regions, the plugin will select the region with the highest priority value.
If two regions have the same priority, the smaller region will be selected first.
This is very useful for large world regions that contain smaller towns, buildings, boss area, or special event areas.
Sound and Music System :
RegionAction can play custom sounds or music when a player enters a region.
sound - The sound ID to play
sound-length - The length of the music in seconds
sound-loop - Whether the sound should loop
sound-delay - Delay before the sound starts playing
When the player leaves the region, the sound will automatically stop.
Commands executed by RegionAction support PlaceholderAPI placeholders.
Example:
YAML:
enter:
commands:
- 'give %player% diamond 1'
- 'say %player_name% entered a special region'
Download RegionAction.jar
Place it into your server's plugins folder
Install PlaceholderAPI
Restart your server
Configure the plugin files
If you need assistance, find bugs, or have suggestions for new features, please feel free to contact the author.
Discord:xiaoyu_5530
