SearchContainer is a Minecraft container search plugin that supports Paper and Folia server cores. Hold an item as a template to quickly search containers and precisely locate item positions.
/sc all reads .mca region files to scan all generated chunks in the world| Command | Description | Permission |
|---|---|---|
/sc <radius> [flags] |
Searches loaded containers within a specified chunk radius centered on you | searchcontainer.useOP |
/sc all [flags] |
Searches all generated containers in the entire world (reads region files) | searchcontainer.use.allOP |
/sc cancel |
Cancels an ongoing search | searchcontainer.useOP |
/sc reload |
Reloads configuration and language files | searchcontainer.useOP |
| Flag | Effect Description |
|---|---|
-name |
Candidate item name contains the display name of the held template (default requires exact match) |
-enchant |
Candidate item contains all enchantments of the held template, with levels ≥ template levels |
-lore |
Candidate item Lore contains every line of lore from the held template |
Default Mode (no flags): Exact match — item type, custom name, enchantments, Lore, PDC must all be equal.
# Radius 5 chunks, exact match (scans only loaded chunks)
/sc 5
# World-scan all generated chunks
/sc all
# World-scan, ignore renamed items
/sc all -name
# Radius 16, enchantment containment + lore containment
/sc 16 -enchant -lore
# Cancel current search
/sc cancel
# zh_CN, en_US
language: zh_CN
# Search cooldown time (seconds)
cooldown-seconds: 3
# Maximum number of results displayed per search (excess results are hidden)
max-results-display: 1000
# Maximum chunk radius allowed in radius mode (does not affect /sc all)
max-radius: 32
| Search Mode | Scan Range | Disk Read | Loads New Chunks |
|---|---|---|---|
| Radius Mode | N×N chunks centered on player, scans only loaded chunks | No | No |
| World Mode | All generated chunks in the world (parses .mca file headers) | Yes | No |
World Mode Detailed Explanation:
r.x.z.mca filesmax-radius, scans only loaded chunksmax-radius, traverses all .mca files in the world but scans only currently loaded chunksmax-results-display appropriatelyContainer type containers: Chests, Trapped Chests, Hoppers, Dispensers, Droppers, Shulker Boxes, Furnaces, etc.