RegionMaker - library for create own Region in Minecraft
Version 1.0.0Create, manage, delete own region
A spigot library that allows you to create, delete, retrieve regions and events related to the regions. It was created to make it easier for developers to create and manage regions on a minecraft spigot server.
In this library you will find methods to create, delete and recover regions :
//Create Region
RegionMaker.getInstance().getRegionManager().registerRegion(this, new Location(Bukkit.getWorld("world"), 0, 10, 0), new Location(Bukkit.getWorld("world"), 0, 0, 0), "exemple", false);
//Get region by the name
region = RegionMaker.getInstace().getRegionManager().getRegion("exemple");
//Delete Region created
RegionMaker.getInstace().getRegionManager().unregisterRegion(this, region);
You will also find new events to control your regions as you wish :
- **RegionCreateEvent** : Event when creating a region.
- **RegionDeleteEvent** : Event when deleting a region.
- **RegionPlayerEnterEvent** : Event when a player enters a region.
- **RegionEntityEnterEvent** : Event when an entity enters a region.
- **RegionPlayerLeaveEvent** : Event when a player leaves a region.
- **RegionEntityLeaveEvent** : Event when an entity comes out of a region.
- **RegionPlayerInEvent** : Event when a player stays in a region.
- **RegionEntityInEvent** : Event when an entity stays in a region.
- **RegionBlockPlaceEvent** : Event when a block is placed in a region.
- **RegionBlockBreakEvent** : Event when we break something in a region.
- **RegionInteractEvent** : Event when we interact with something in a region.
- **RegionInteractAtEntityEvent** : Event when player interact with an entity in a region.
- **RegionPlayerChatEvent** : Event when a player send message in a region.
- **RegionPlayerDamageEvent** : Event when a player takes damage in a region.
- **RegionEntityDamageEvent** : Event when an entity takes damage in a region.
- **RegionPlayerDeathEvent** : Event when a player dies in a region.
- **RegionEntityDeathEvent** : Event when an entity dies in a region.
To find you better with this library, here is the github page with more complete explanations :
https://github.com/CanardConfit/RegionMaker/
Here is also the javadoc for those who know better :
https://canardconfit.github.io/RegionMaker/
If you need more information about using this plugin, feel free to send me a private message :)
Another idea of adding :
- add ways to save regions (sql, mysql, ...)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta