Language

CloudProtections

CloudProtections

Modrinth

Minecraft paper plugin for protecting specific cuboid/spherical regions of a world using flag-like rules

222 downloads 1 followers updated 8mo ago
latest v1.0.6 Modrinth
Paper 1.21.1 – 1.21.10 Management

CloudProtections

Minecraft paper plugin for protecting spherical/cubic regions from mobs/players.

Download Info

Note: Depends on CommandAPI
and CloudCore.

Usage

  • Use /cprots list to list all protection regions
  • Use /cprots create <box|sphere> <id> <pos1> <pos2|radius> [<dimension>] to create a cubic or spherical region
    • A created region is protected from all flags by default
  • Use /cprots modify <region> delete to delete a specific region
  • Use /cprots modify <region> rename <id> to rename a specific region
  • Use /cprots modify <region> flags <add|remove> <flag1> [<flag2>] [<flag3>] ... to add or remove specific flags from a specific region
  • Use /cprots modify <region> flags list to list the flags currently active for the specific region
  • Use /cprots modify <region> exclusions <add|remove> <uuid> to add or remove specific exclusions from a specific region
    • The specified UUID may be the UUID of an entity which is ignored by this region
  • Use /cprots modify <region> exclusions list to list the exclusions currently active for the specific region
  • Use /cprots modify <region> priority <priority> to change the priority of regions
    • This is useful for nesting multiple regions
    • The higher the priority, the more the specific region has to say about wether a specific interaction is allowed or not
Using this as API

Dependency

Add the following to your build.gradle.kts:

repositories {
    maven("https://repo.cloudcraftmc.de/releases/")
}

dependencies {
    compileOnly("dev.booky:cloudprotections:{VERSION}")
}

Usage

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.

Versions

Release
1.0.6
paper · 1.21.10 · 8mo ago
See https://github.com/CloudCraftProjects/CloudProtections/releases/tag/v1.0.6
78
Release
1.0.5
paper · 1.21.1 · 20mo ago
See https://github.com/CloudCraftProjects/CloudProtections/releases/tag/v1.0.5
144

Comments 0

No comments yet. Be the first to share your thoughts.

Download CloudProtections

Files are served directly from the original source. Modgrid does not host or modify them.