-
-
Notifications
You must be signed in to change notification settings - Fork 14
Command sortingconfig
A sorting pattern is the path how the algorithm puts the items into the inventory. A Evaluator evaluates the items while sorting. That means which item comes before another item. The difference between a sorting pattern and an evaluator is the evaluator is sorting the list of items and the sorting pattern is the way the items form the list are getting put into the inventory (Examples of Patterns: https://github.com/tom2208/ChestCleaner/wiki/Command-sortingconfig#sorting-patterns-with-ids).
-
/sortingconfig pattern [PATTERN_ID] : Sets the sorting pattern of the player performing this command. It will not effect other players. Permissions of this Command:
chestcleaner.cmd.sortingconfig.pattern
-
/sortingconfig evaluator [EVALUATOR_ID] : Sets the evaluator of the player performing this command. It will not effect other players. Permission for this command:
chestcleaner.cmd.sortingconfig.evaluator
PATTERN_ID: LEFT_TO_RIGHT_TOP_TO_BOTTOM
PATTERN_ID: RIGHT_TO_LEFT_BOTTOM_TO_TOP
PATTERN_ID: TOP_TO_BOTTOM_LEFT_TO_RIGHT
PATTERN_ID: BOTTOM_TO_TOP_LEFT_TO_RIGHT
EVALUATOR_ID: BACK_BEGIN_STRING (top arrangement) Sorts the items alphabetically beginning with last character.
EVALUATOR_ID: BEGIN_BACK_STRING (bottom arrangement) Sorts the items alphabetically beginning at the first character.
-
/sortingconfig adminconfig setdefaultpattern [PATTERN_ID] : Sets the default sorting patter, that gets used if the player sets no preverence with /sortingconfig pattern. Permission:
chestcleaner.cmd.sorting.config.admincontrol
-
/sortingconfig adminconfig setdefaultevaluator [EVALUATOR_ID] : Sets the default evaluator, that gets used if the player sets no preverence with /sortingconfig evaluator. Permission:
chestcleaner.cmd.sorting.config.admincontrol
For patterns: /sortingconfig pattern TOP_TO_BOTTOM_LEFT_TO_RIGHT
For evaluators: /sortingconfig evaluator BACK_BEGIN_STRING
ChestCleaner 2.4.2
- Home
- FAQ
- Migration Guide 2.0
- Features
- Commands
- Permissions
ChestCleaner 1.7
- Home
- Cleaning Item
- Commands
For Developers
- Home
- Datastructures