-
-
Notifications
You must be signed in to change notification settings - Fork 14
Pattern
tom2208 edited this page Jun 23, 2021
·
6 revisions
The sorting pattern is the way the sorted items (sorted by the Categories) are put into the inventory. The images give a visual explanation, which explains it a lot better.
There is a default pattern for the server, but with the correct permission, players may overwrite the pattern for themself.
LEFT_TO_RIGHT_TOP_TO_BOTTOM
RIGHT_TO_LEFT_BOTTOM_TO_TOP
TOP_TO_BOTTOM_LEFT_TO_RIGHT
BOTTOM_TO_TOP_LEFT_TO_RIGHT
-
/sortingconfig pattern
- get the currently configured pattern of the player performing the command. Falls back to the default pattern if not set.
-
/sortingconfig pattern <pattern>
- Sets the pattern of the player performing this command. It will not affect other players.
-
/sortingadmin pattern
- get the currently configured default pattern for the server.
-
/sortingadmin pattern <pattern>
- Sets the default pattern for the server. It will affect every player that hasn't overwritten the pattern for themself.
-
chestcleaner.cmd.sortingconfig.pattern
- allow player to overwrite the pattern for themself.
-
chestcleaner.cmd.admin.config
- allow player to overwrite the default pattern for the server.
- the default pattern is saved/configured in config.yml
default:
pattern: LEFT_TO_RIGHT_TOP_TO_BOTTOM
- the player patterns are saved/configured in playerdata.yml
<player id>:
pattern: LEFT_TO_RIGHT_TOP_TO_BOTTOM
ChestCleaner 2.4.2
- Home
- FAQ
- Migration Guide 2.0
- Features
- Commands
- Permissions
ChestCleaner 1.7
- Home
- Cleaning Item
- Commands
For Developers
- Home
- Datastructures