sort_inventory

Sorts items in the player's inventory by material name and stack size.

Categories: inventory, player

Required arguments

Key(s)DescriptionType
typeWhich section of the inventory to sort: all, hotbar, or main.
Choices: all, hotbar, main
STRING

Trigger parameters required

  • PLAYER

Example

effects:
  - id: sort_inventory
    args:
      type: all|hotbar|main

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue