Skip to content

Command Cleaninventory

tom2208 edited this page Jan 5, 2022 · 2 revisions

Description

This commands sorts an inventory that is associated with a block (like a chest).

Be careful when using a protection plugin, as this command allows a player to sort any block in any world.

Commands

Command Explanation Permission
/cleaninventory Sorts the inventory you are looking at. chestcleaner.cmd.cleaninventory.sort
/cleaninventory <x> <y> <z> Sorts the inventory at the position specified by x y z. chestcleaner.cmd.cleaninventory.sort
/cleaninventory <x> <y> <z> <word> Sorts the inventory at the position specified by x y z and a world name (for instance "nether_world"). chestcleaner.cmd.cleaninventory.sort
/cleaninventory own Sorts your own inventory. chestcleaner.cmd.cleaninventory.own
/cleaninventory <player> Sorts the inventory of a player. chestcleaner.cmd.cleaninventory.others

Permissions

Only Server OPs have this permission by default.

Permission Explanation
chestcleaner.cmd.cleaninventory.sort Allows you to use /cleaninventory to sort block inventories in all world.
chestcleaner.cmd.cleaninventory.own Allows you to sort your own inventory with /cleaninventory.
chestcleaner.cmd.cleaninventory.others Allows you to sort player inventory with /cleaninventory.