Skip to content

Rainsry/Insights

 
 

Repository files navigation

Insights

For the description of this plugin, please refer to SpigotMC: https://www.spigotmc.org/resources/56489/

Java CI with Gradle releaseImg licenseImg featureRequestsImg bugReportsImg spigotRatingImg spigotDownloadsImg

bStatsImg

How to run the project?

  1. Make sure you have gradle installed.
  2. Run the project with gradle shadowJar to compile it with dependencies.

Developer API

Scanning

An example of a scan can be found here.

Useful

Hooking

import net.frankheijden.insights.interfaces.Hook;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.plugin.Plugin;

public class MyInsightsHook extends Hook {
    public MyInsightsHook(Plugin plugin) {
       super(plugin);
    }

    @Override
    public boolean shouldCancel(Block block) {
       // Cancel Insights for all Dirt blocks
       return block.getType() == Material.DIRT;
    }
}
import net.frankheijden.insights.api.InsightsAPI;

public class MyPlugin extends JavaPlugin {
    @Override
    public void onEnable() {
       super.onEnable();

       // Add hook
       InsightsAPI.getHookManager().addHook(new MyInsightsHook(this));
    }
}

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

About

Insights - Limit blocks | Auto Scan | Block/Entity counts | Live Actionbar | Scan API [1.8 - 1.15.2]

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%