Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
CloudProtections

CloudProtections

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

72
1
Management
AboutGalleryChangelogVersions

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.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.1

Platforms

Paper

Supported environments

Server-side

Links

Report issues View source Join Discord server

Creators

CloudCraft
CloudCraftOrganization

Details

Licensed GPL-3.0-only
Published 9 months ago
Updated 9 months ago

Modrinth is open source.

main@599f23c

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.