mfnalex / ChestSort

Best sorting plugin for Minecraft / Spigot 1.14+
https://www.chestsort.de
GNU General Public License v3.0
91 stars 34 forks source link

Sorts occurs with every hot key, no matter the configuration #110

Closed almino closed 3 years ago

almino commented 3 years ago

Used ChestSort version [16:09:39 INFO]: [ChestSort] Enabling ChestSort v9.7.1

Used Spigot version paper-1.16.5-595.jar

Describe the bug All sorting hotkeys works even though it is disabled.

To Reproduce plugins/ChestSort/config.yml:

# You can define which sorting hotkeys are enabled by default.
# Players can also enable/disable these shortcuts individually via /chestsort hotkeys
# Hotkeys that could interfere with Minecraft's normal behaviour (e.g.
# shift+left-click) only work on empty slots, so don't worry about them.
sorting-hotkeys:
  # Use middle click (mousewheel) on ANY inventory slot as hotkey
  middle-click: true
  # Use shift + left-click on any EMPTY inventory slot as hotkey
  shift-click: false
  # Use double left-click on any EMPTY inventory slot as hotkey
  double-click: false
  # Use shift + right-click on any EMPTY inventory slot as hotkey
  shift-right-click: false

Shift + right click any empty slot on your inventory and it sorts. Double click anywhere in hot bar and the hotbar is sorted.

Expected behavior Using the configuration above, only middle click should do the sorting.

Additional context None.

mfnalex commented 3 years ago

# You can define which sorting hotkeys are enabled by default.

When users already joined while those hotkeys were still enabled by default, they are enabled for those users.

You can reset individual player settings using /chestsortadmin reset <player>.

Every player can also adjust their own settings using /sort hotkeys.