Skip to content

Commit

Permalink
feat(client&server): added inventory sorter config
Browse files Browse the repository at this point in the history
  • Loading branch information
Conquerix committed May 8, 2024
1 parent afa2020 commit 7dbd66c
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/config/yosbr/config/inventorysorter/blacklist.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
// URL for blacklist to be downloaded from
"blacklistDownloadURL": "https://raw.githubusercontent.com/kyrptonaught/Inventory-Sorter/1.19/DownloadableBlacklist.json5",
// The opened inventory's sort button will not be visible, only the player's when this inventory is opened
"doNotSortList": [],
// Neither the opened inventory, nor your player inventory will be sortable when this inventory is opened
"hideSortBtnsList": []
}
21 changes: 21 additions & 0 deletions client/config/yosbr/config/inventorysorter/config.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
// Enable 'Sort' button in inventorys
"displaySort": false,
// Middle click slot to sort inventorys
"middleClick": true,
// Double click slot to sort inventorys
"doubleClickSort": true,
// Enable second 'Sort' button in player inv
"seperateBtn": false,
// Sorting inv also sorts player inv
"sortPlayer": false,
// Method of sorting, NAME,CATEGORY,MOD
"sortType": "NAME",
// Display Sort Button Tooltip
"displayTooltip": false,
// Sort Inventory key
"keybinding": "key.mouse.middle",
// Should sort half of open inv highlighted by mouse
"sortMouseHighlighted": true,
"debugMode": false
}
8 changes: 8 additions & 0 deletions server/config/yosbr/config/inventorysorter/blacklist.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
// URL for blacklist to be downloaded from
"blacklistDownloadURL": "https://raw.githubusercontent.com/kyrptonaught/Inventory-Sorter/1.19/DownloadableBlacklist.json5",
// The opened inventory's sort button will not be visible, only the player's when this inventory is opened
"doNotSortList": [],
// Neither the opened inventory, nor your player inventory will be sortable when this inventory is opened
"hideSortBtnsList": []
}
21 changes: 21 additions & 0 deletions server/config/yosbr/config/inventorysorter/config.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
// Enable 'Sort' button in inventorys
"displaySort": false,
// Middle click slot to sort inventorys
"middleClick": true,
// Double click slot to sort inventorys
"doubleClickSort": true,
// Enable second 'Sort' button in player inv
"seperateBtn": false,
// Sorting inv also sorts player inv
"sortPlayer": false,
// Method of sorting, NAME,CATEGORY,MOD
"sortType": "NAME",
// Display Sort Button Tooltip
"displayTooltip": false,
// Sort Inventory key
"keybinding": "key.mouse.middle",
// Should sort half of open inv highlighted by mouse
"sortMouseHighlighted": true,
"debugMode": false
}

0 comments on commit 7dbd66c

Please sign in to comment.