greatestbanana13

Here’s a clearer, more polished description you can use for the plugin—suitable for a README, Spigot page, or documentation:

---

AnalyzeArea Plugin

AnalyzeArea is a utility plugin that allows players or administrators to analyze and count blocks within a selected area.

Using the Analyze Wand (obtained with /areaanalyze wand), you can select two positions (pos1 and pos2) to define a cuboid region. Once the area is selected, running /areaanalyze analyze will scan the region and display a detailed breakdown of all block types found inside it.

The results are shown as a list, including the total amount of each block type, for example:

* Pistons: 34 * Observers: 5,423

To reduce clutter or ignore unwanted blocks, you can blacklist specific block types in the config.yml. Any blacklisted blocks will be excluded from the analysis results. The configuration can be reloaded at any time using:

code
/areaanalyze reload

This plugin is ideal for:

* Redstone inspections * Lag investigations * Base or farm analysis * Administrative monitoring

Kodari AI
KodariJan 17 at 1:59 pm

I’ll create a block analysis plugin for region scanning with a wand-based selection system.

AnalyzeArea
A utility plugin that allows players and administrators to analyze block composition within selected regions. Using an Analyze Wand, define a cuboid area by selecting two positions, then run a scan to get detailed block count statistics. Features a configurable blacklist to exclude unwanted blocks from results. Perfect for redstone inspections, lag investigations, farm analysis, and administrative monitoring.
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
11 497
src/main/java/com/analyzearea/AnalyzeArea.java
package com.analyzearea;

import com.analyzearea.command.AnalyzeAreaCommand;
import com.analyzearea.listener.WandListener;
import com.analyzearea.manager.SelectionManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class AnalyzeArea extends JavaPlugin {

    private SelectionManager selectionManager;
    private ConfigManager configManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.selectionManager = new SelectionManager();
        
        getCommand("areaanalyze").setExecutor(new AnalyzeAreaCommand(this));
        getServer().getPluginManager().registerEvents(new WandListener(this), this);
        
        getLogger().info("AnalyzeArea has been enabled!");
    }

    @Override
    public void onDisable() {
        getLogger().info("AnalyzeArea has been disabled!");
    }

    public void reload() {
        reloadConfig();
        configManager.reload();
    }
}