It's now possible to limit blocks per group, e.g. limit all redstone blocks in a chunk with a maximum of 50. Example is included in the default config.yml
AutoScan can also be performed on these groups, just do /autoscan limit <block_in_limit_list>
Improved permission group based limiting in the config
Added support for entity limiting (entity placements in a chunk by eggs)
Removed support for the "BOTH" scantype
/insights block has been changed: it will now output the block you're looking at.
By default, all "plain" commands without args (/scan, /scanradius <radius>, ...) will perform an "ALL" scan
API Changes: InsightsAPI does not support scans anymore. Please use Scanner#create(ScanOptions)
Screenshot Group Scan:
! Please delete players.db, it is not compatible with v3.0.0!
Please update your config.yml and messages.yml! Changes in config.yml:
Code (YAML):
limits:
# This is a list in which order we should check limits # The first in the list will be first checked, last in the list checked at last, etc. priorities: -
"groups" -
"permissions" -
"materials" -
"entities"
# Limits a single block in a chunk materials: # Format: # BLOCK: LIMIT DIAMOND_ORE: 128
ENCHANTING_TABLE: 16
# If on < 1.13 use "ENCHANTMENT_TABLE"
# Limits entities per chunk entities:
CREEPER: 4
# Set a limit to custom blocks in a chunk for certain material groups # This group will act as a whole limit. All blocks will count towards the limit. # Please note that this will override the global materials limit. groups:
# Example of such a group, make sure the following line is unique! my_redstone_group:
name: "Redstone" limit: 50
# Bypass permission permission: "insights.materialgroups.bypass.redstone" materials: -
"REDSTONE_WIRE" -
"REDSTONE_BLOCK" -
"HOPPER" -
"DISPENSER" -
"DROPPER" -
"TRIPWIRE_HOOK" -
"REDSTONE_LAMP" -
"REDSTONE_LAMP_ON" -
"REDSTONE_LAMP_OFF" -
"STICKY_PISTON" -
"STICKY_PISTON_BASE" -
"PISTON" -
"PISTON_BASE" -
"REDSTONE_TORCH" -
"TNT" -
"NOTE_BLOCK" -
"LEVER" -
"REPEATER" -
"DIODE" -
"REDSTONE_COMPARATOR" -
"COMPARATOR"
# Set a limit to custom blocks in a chunk for certain groups # Please note that this will override the global materials limit. permissions:
# Example of such a group, make sure the following line is unique! my_permission_group1:
name: "Permission Group" # Bypass permission permission: "insights.permissiongroups.group1" materials:
DIAMOND_BLOCK: 256
ENCHANTING_TABLE: 32
entities:
CREEPER: 5
Changes in messages.yml:
Code (YAML):
autoscan: # Special placeholders: # %material% enabled: "&3Successfully enabled automatic scanning." disabled: "&3Autoscan has been disabled." not_enabled: "&cYou do not have autoscan enabled!" # Message send when a user scans for a limit of a block # Special placeholders: # %key% # %count% # %limit% limit_entry: "&3%key%: &b%count%&3/&b%limit%" # Message send when entering a chunk with one autoscan entry # Special placeholders: # %key% # %count% single_entry: "&3%key%: &b%count%" # Message send when autoscanning multiple entries multiple_entries:
header: "&8&m--------------=&r&8[&b&l AutoScan Count&r &8]&m=---------------" # Special placeholders: # %entry% # %count% format: "&b %entry%&8: &7&l%count%" footer: "&8&m-------------------------------------------------"