Fix for executing plain "/selection" command (without args)
Added commands to "/insights help" (messages.yml).
Previous updates (4.1.0 & 4.1.1):
Added the /selection command, used for defining a region and scan inside the region.
/selection create (perm: "insights.selection.create"): Starts the selection mode. Used to select a region to scan in (Break / Right click on block)
/selection stop (same perm as /selection create): Ends the selection mode.
/selection scan <tile|entity|custom>: Scan like all the other commands inside this just selected region!
Added WorldEdit selection support. You can now also select using the WorldEdit plugin (supports WE6 & WE7)
Added /selection deselect (perm: same as /selection create) to quickly deselect your selection (Insights will choose it's own selection mechanism over WorldEdit)
4.1.0: Please take a look at the messages.yml changes! 4.1.1: Please take a look at the messages.yml changes!
API:
Insights is not limited to chunks anymore within the API!
ScanOptions#setChunkLocations has been removed and has been changed into ScanOptions#setPartialChunks. This is due to the new way of scanning. You can however easily convert between ChunkLocations and PartialChunks. You will need to specify the world for this, so Insights knows what the max height is.
You can get Partial Chunks from 2 locations (cuboid region, see here), from regular org.bukkit.Chunk chunks and a lot more!