Minecraft paper plugin for protecting spherical/cubic regions from mobs/players. Look at the /cprots
command ingame
for how to use this plugin.
Note: Depends on CommandAPI and CloudCore.
Add the following to your build.gradle.kts
:
repositories {
maven("https://repo.cloudcraftmc.de/releases/")
}
dependencies {
compileOnly("dev.booky:cloudprotections:1.0.4-SNAPSHOT")
}
You can get the ProtectionsManager
instance using bukkit's ServicesManager
. For updating regions
use ProtectionsManager#updateRegions
. This instantly saves the updated regions to file. Creating a new region
can be done using new ProtectionRegion
. Exclusions and region flags are modifiable, the area, id and priority is not
modifiable.
Licensed under GPL-3.0, see LICENSE for further information.