CloudProtections 图标

CloudProtections

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.6
本资源为搬运资源,原资源地址: https://modrinth.com/mod/cloudprotections
资源信息

Minecraft 版本: 1.21.10

平台: paper

标签: 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`: ```kotlin 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.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Extended Terminal

价格:0 墨喵币
下载量:0

查看详情
Epic Fight - Weapons Of Harmony

价格:0 墨喵币
下载量:0

查看详情
Climbable

价格:0 墨喵币
下载量:0

查看详情
Immersive Weathering Leaf Piles Fix

价格:0 墨喵币
下载量:0

查看详情