Skip to main content

Collections

A collection groups related resources, like ores under Mining or crops under Farming.

The structure

The plugin has two levels:

  • A collection (also called a category) is a group, like Mining.
  • A resource sits inside a collection, like Stone or Diamond.

Players open the main menu, pick a collection, then see every resource inside it. Each resource tracks its own progress and tiers.

What ships by default

Six collections come ready to use. You can edit, remove, or add to any of them in categories.yml.

CollectionResourcesTriggered by
MiningStone, Coal, Iron, Diamond, BambooBreaking blocks
FarmingWheat, Carrot, Potato, Sugar CaneHarvesting crops
HuntingZombie, Skeleton, Creeper, EndermanKilling mobs
FishingCod, Salmon, Pufferfish, Tropical FishCatching fish
LumberjackOak, Birch, Spruce, JungleChopping logs
DiversPlaytime, Experience, Votes, Island LevelRunning totals and stats

How a resource is triggered

Every resource lists what counts toward it. There are five trigger types:

TriggerCounts when the playerExample
BLOCK_BREAKBreaks a listed blockStone counts STONE and COBBLESTONE
ENTITY_KILLKills a listed mobZombie counts ZOMBIE
FISH_CATCHCatches a listed fishCod counts COD
EXP_GAINEarns experienceLifetime XP, counted from install
STATReaches a stat valueHours played, votes, island level

The first three add one progress per action. EXP_GAIN and STAT track running totals or polled stats instead, and power the Divers collection. See Categories for how to set those up.

Hovering the Experience resource in the Divers menu, tracking lifetime XP earned

A single resource can listen for more than one block or mob. For example, Iron counts both IRON_ORE and DEEPSLATE_IRON_ORE, so mining iron at any depth counts the same.

To learn how to change these or add your own, see Categories.