Insights

极速区域扫描 | 查找大型红石机械 | 每块/区域限制 | 自定义区域插件API

资源图片
# 洞察
GitHub Actions FvdH Repository GitHub Releases Spigot Downloads Spigot Ratings Discord
洞察是一个插件,可以扫描任意区域并对这些区域施加方块限制。 洞察的限制可以进行超高配置,允许组限制、个人(基于权限)限制和瓷砖限制。 每个限制都可以通过权限绕过,您可以在限制配置中自定义这些权限。 除了所有可放置的材料外,洞察还支持限制以下静态实体: * 物品框 * 辉光物品框 * 盔甲架 * 画作 * 末影水晶 洞察采用mapreduce设计模式以异步执行扫描, 从而保持主线程免受材料计数的影响。 洞察还提供了一个广泛的开发者API,用于创建您自己的自定义区域插件, 或者执行任意扫描和处理这些数据。 有关此插件的完整描述,请参考SpigotMC:https://www.spigotmc.org/resources/56489/
bStats
## 扩展 这些插件是洞察的扩展,需要放置在您的 `plugins/` 文件夹中。 * [InsightsWorldEditExtension](https://github.com/InsightsPlugin/InsightsWorldEditExtension) - 通过WorldEdit修改限制方块材料。 支持洞察的限制,禁止放置任何受限的方块。 ## 插件 插件定义洞察要限制方块的区域。 与其每个区块一个限制,当在一个这样的区域中放置一个方块时,它首先会计算该区域中的所有方块,然后在该区域中强制执行限制。 区域会被缓存,以避免每次放置一个方块时都进行扫描。 * [BentoBoxWorldAddon](https://github.com/InsightsPlugin/BentoBoxAddon/releases) - 在您的BentoBox世界中限制方块(包括bSkyBlock和AcidIslands) * [GriefPreventionAddon](https://github.com/InsightsPlugin/GriefPreventionAddon/releases) - 在您的GriefPrevention申领中限制方块! * [USkyBlockAddon](https://github.com/InsightsPlugin/USkyBlockAddon/releases) - 在您的USB岛屿中限制方块! * [IridiumSkyblockAddon](https://github.com/InsightsPlugin/IridiumSkyblockAddon/releases) - 在您的Iridium岛屿中限制方块! * [PlotSquaredAddon](https://github.com/InsightsPlugin/PlotSquaredAddon/releases) - 在您的PlotSquared地块中限制方块! * [SuperiorSkyblock2Addon](https://github.com/InsightsPlugin/SuperiorSkyblock2Addon/releases) - 在您的SS岛屿中限制方块! * [LandsAddon](https://github.com/InsightsPlugin/LandsAddon/releases) - 在您的土地中限制方块! * [TownyAddon](https://github.com/InsightsPlugin/TownyAddon/releases) - 在您的城镇中限制方块! * [GriefDefenderAddon](https://github.com/galexrt/InsightsGriefDefenderAddon/releases) by [galexrt](https://github.com/galexrt) - 在您的GriefDefender申领中限制方块! ## 编译洞察 有两种方法可以编译洞察: ### 1. 安装gradle (推荐) 1. 确保您已经安装了 [gradle](https://gradle.org/install/)。 2. 使用 `gradle build` 运行项目以编译其依赖项。 ### 2. 使用wrapper **Windows**: `gradlew.bat build`
**Linux/macOS**: `./gradlew build` ## 开发者API ### 仓库 / 依赖 如果您希望使用洞察的快照版本,您可以使用以下仓库: ``` https://repo.fvdh.dev/snapshots ``` #### Gradle: ```kotlin repositories { compileOnly("dev.frankheijden.insights:Insights:VERSION") } dependencies { maven("https://repo.fvdh.dev/releases") } ``` #### Maven: ```xml fvdh https://repo.fvdh.dev/releases dev.frankheijden.insights Insights VERSION provided ``` ### 插件 请参阅 [Insights Wiki](https://github.com/InsightsPlugin/Insights/wiki/Addon-API),了解如何为洞察实现您自己的插件! ## 截图 ### 每个组限制方块 ![GroupLimit](https://github.com/InsightsPlugin/Insights/raw/master/screenshots/GroupLimit.png) ### 每个区块自定义方块限制 ![CustomLimit](https://github.com/InsightsPlugin/Insights/raw/master/screenshots/CustomLimit.png) ### 扫描您周围半径内的所有方块! ![ScanRadius](https://github.com/InsightsPlugin/Insights/raw/master/screenshots/ScanRadius.png) ### 限制WorldEdit! ![WorldEditLimit](https://github.com/InsightsPlugin/Insights/raw/master/screenshots/WorldEditLimit.png) ### 每个区块全局限制瓷砖! ![TileLimit](https://github.com/InsightsPlugin/Insights/raw/master/screenshots/TileLimit.png) ### 扫描区块中的所有瓷砖 ![TileScan](https://github.com/InsightsPlugin/Insights/raw/master/screenshots/TileScan.png) ### 使用自定义查询扫描 ![CustomScan](https://github.com/InsightsPlugin/Insights/raw/master/screenshots/CustomScan.png) ### 每次进入区块时自动扫描 ![AutoScan](https://github.com/InsightsPlugin/Insights/raw/master/screenshots/AutoScan.png) ### 在WorldGuard区域中禁用方块(正则表达式区域匹配) ![RegionDisallow](https://github.com/InsightsPlugin/Insights/raw/master/screenshots/RegionDisallow.png)