HomeJavaModsInsights
Insights
ModsJava

Insights

by FrankHeijden · on Modrinth

Extremely fast region scans | Find large redstone machines | Limits per chunk / region | Custom region addon api

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.11–26.2 · Paper⬇ Download for 1.21.10 · Paper⬇ Download for 1.21.9 · Paper⬇ Download for 1.21–1.21.1 · Paper⬇ Download for 1.20.6 · Paper⬇ Download for 1.19–1.20.4 · Paper⬇ Download for 1.21.11–26.2 · Purpur⬇ Download for 1.21.10 · Purpur⬇ Download for 1.21.9 · Purpur⬇ Download for 1.21–1.21.1 · Purpur⬇ Download for 1.20.6 · Purpur⬇ Download for 1.19–1.20.4 · Purpur⬇ Download for 1.21.11–26.2 · Folia⬇ Download for 1.21.10 · Folia
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Insights

GitHub Actions FvdH Repository GitHub Releases Spigot Downloads Spigot Ratings Discord

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:

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: https://www.spigotmc.org/resources/56489/

bStats

Extensions

These plugins are extensions on Insights, they must be placed in your plugins/ folder.

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.

Compiling Insights

There are two ways to compile Insights:

1. Installing gradle (recommended)

  1. Make sure you have gradle installed.
  2. Run the project with gradle build to 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

GroupLimit

Custom block limit per chunk

CustomLimit

Scan all blocks in a radius around you!

ScanRadius

Apply limitations to WorldEdit!

WorldEditLimit

Limit globally all tiles per chunk!

TileLimit

Scan all tiles in chunks

TileScan

Scan with custom queries

CustomScan

Automatically scan upon chunk entering

AutoScan

Disable blocks in WorldGuard regions (Regex region match)

RegionDisallow

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more