Insights
Insights 是一个插件,用于扫描任意区域并对其中方块施加限制。 Insights 的限制功能高度可配置,支持按组设置限制、基于权限的个体限制以及图块(tile)限制。 每种限制均可通过权限进行绕过,你可以在限制配置中自定义这些权限。
除了所有可放置的材料外,Insights 还支持对以下静态实体进行限制:
- 物品展示框
- 发光物品展示框
- 盔甲架
- 画
- 末影水晶
Insights 采用 MapReduce 设计模式来异步执行扫描, 从而避免计数材料占用主线程。 Insights 还提供了完善的开发者 API,用于创建自定义的区域附加组件, 或执行任意扫描并处理结果。
如需了解该插件的完整说明,请参阅 SpigotMC:
扩展
这些插件是 Insights 的扩展,必须放置在 plugins/ 文件夹中。
- InsightsWorldEditExtension - 通过 WorldEdit 修改来限制方块材质。 支持 Insights 的限制功能,并禁止放置任何受限方块。
附加组件 (Addons)
附加组件为 Insights 定义需要限制方块的区域。 与每个区块一个限制不同,当在某个区域内放置方块时,系统会先统计该区域内的所有方块数量,然后强制执行该区域的限制。 区域会被缓存,以避免每次放置方块时都进行扫描。
- BentoBoxWorldAddon - 在你的 BentoBox 世界(包括 bSkyBlock 和 AcidIslands)中限制方块
- GriefPreventionAddon - 在你的 GriefPrevention 领地中限制方块!
- USkyBlockAddon - 在你的 USkyBlock 岛屿中限制方块!
- IridiumSkyblockAddon - 在你的 Iridium 岛屿中限制方块!
- PlotSquaredAddon - 在你的 PlotSquared 地块中限制方块!
- SuperiorSkyblock2Addon - 在你的 SuperiorSkyblock2 岛屿中限制方块!
- LandsAddon - 在你的 Lands 领地中限制方块!
- TownyAddon - 在你的 Towny 城镇中限制方块!
- GriefDefenderAddon by galexrt - 在你的 GriefDefender 领地中限制方块!
编译 Insights
有两种编译 Insights 的方法:
1. 安装 Gradle(推荐)
- 确保你已安装 gradle。
- 运行项目
gradle build以包含依赖项进行编译。
2. 使用包装器
Windows: gradlew.bat build
Linux/macOS: ./gradlew build
开发者 API
仓库 / 依赖
如果你希望使用 Insights 的快照版本,可以使用以下仓库:
https://repo.fvdh.dev/snapshots
Gradle:
repositories {
compileOnly("dev.frankheijden.insights:Insights:VERSION")
}
dependencies {
maven("https://repo.fvdh.dev/releases")
}
Maven:
<project>
<repositories>
<!-- Insights repo -->
<repository>
<id>fvdh</id>
<url>https://repo.fvdh.dev/releases</url>
</repository>
</repositories>
<dependencies>
<!-- Insights dependency -->
<dependency>
<groupId>dev.frankheijden.insights</groupId>
<artifactId>Insights</artifactId>
<version>VERSION</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
附加组件
请查看 Insights Wiki 以了解如何为你的 Insights 实现自定义附加组件!
截图
限制每个区块的方块数量

自定义每个区块的方块上限

扫描你周围半径内的所有方块!

对 WorldEdit 应用限制!

全局限制每个区块的所有实体方块(TileEntity)!

扫描区块内的所有实体方块

使用自定义查询进行扫描

进入区块时自动扫描

在 WorldGuard 区域中禁用方块(支持正则表达式匹配区域)

Insights
Insights is a plugin which scans arbitrary regions and applies block limitations on them. Insights' limits are super configurable, allowing for group limits, individual (permission-based) limits, and tile limits. Each limit is able to be bypassed through permissions, which you can customize in the limits configuration.
Apart from all placeable materials, Insights also supports the limitation of the following static entities:
- Item Frames
- Glow Item Frames
- Armor Stands
- Paintings
- End Crystals
Insights applies a mapreduce design pattern to perform scans asynchronously, thus keeping the main thread free from counting materials. Insights also provides an extensive developer API to create your own custom defined region addons, or to perform arbitrary scans and process those.
For a full description of this plugin, please refer to SpigotMC:
Extensions
These plugins are extensions on Insights, they must be placed in your plugins/ folder.
- InsightsWorldEditExtension - Block materials through WorldEdit modifications. Supports Insights' limits & disallows any placement of limited blocks.
Addons
Addons define regions for Insights to limit blocks in. Instead of a limit per chunk, when a block is placed in such a region, it will first count all blocks in that region, and after enforce limits in that region. Regions are cached to not bother with scans each time a block has been placed.
- BentoBoxWorldAddon - Limit blocks in your BentoBox world (includes bSkyBlock & AcidIslands)
- GriefPreventionAddon - Limit blocks in your GriefPrevention claims!
- USkyBlockAddon - Limit blocks in your USB islands!
- IridiumSkyblockAddon - Limit blocks in your Iridium islands!
- PlotSquaredAddon - Limit blocks in your PlotSquared plots!
- SuperiorSkyblock2Addon - Limit blocks in your SS islands!
- LandsAddon - Limit blocks in your lands!
- TownyAddon - Limit blocks in your towns!
- GriefDefenderAddon by galexrt - Limit your GriefDefender claims!
Compiling Insights
There are two ways to compile Insights:
1. Installing gradle (recommended)
- Make sure you have gradle installed.
- Run the project with
gradle buildto compile it with dependencies.
2. Using the wrapper
Windows: gradlew.bat build
Linux/macOS: ./gradlew build
Developer API
Repository / Dependency
If you wish to use snapshot version of Insights, you can use the following repo:
https://repo.fvdh.dev/snapshots
Gradle:
repositories {
compileOnly("dev.frankheijden.insights:Insights:VERSION")
}
dependencies {
maven("https://repo.fvdh.dev/releases")
}
Maven:
<project>
<repositories>
<!-- Insights repo -->
<repository>
<id>fvdh</id>
<url>https://repo.fvdh.dev/releases</url>
</repository>
</repositories>
<dependencies>
<!-- Insights dependency -->
<dependency>
<groupId>dev.frankheijden.insights</groupId>
<artifactId>Insights</artifactId>
<version>VERSION</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
Addons
See the Insights Wiki on how to implement your own addon for Insights!
Screenshots
Limit blocks per group

Custom block limit per chunk

Scan all blocks in a radius around you!

Apply limitations to WorldEdit!

Limit globally all tiles per chunk!

Scan all tiles in chunks

Scan with custom queries

Automatically scan upon chunk entering

Disable blocks in WorldGuard regions (Regex region match)

下载 Insights
下载 Insights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Insights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Insights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Insights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Insights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Insights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Insights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Insights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Insights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
更新内容
- MC 26.3 by @Jsinco in
完整变更日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧