ChestSort/CHANGELOG.md
2022-07-19 11:08:08 +02:00

23 KiB

Changelog

13.2.1

  • Fixed exceptions when using the latest version of AdvancedChests

13.0.5

Sorry for 3 updates within 10 minutes!

  • Fixed missing relocation of update checker library preventing ChestSort from enabling

13.0.4

  • Fixed .jar name

13.0.3

  • Fixed AdvancedChests fix not being included in the last update
  • Removed CrackShot dependency. CrackShotHook will still work via reflection. Ask the author to upload their plugin to a maven repository if this bothers you.

13.0.2

  • Fixed AdvancedChests bug (thanks @ DeadSilenceIV)
  • Fixed 1.18.2 support
  • Reduced file size by ~130kb

13.0.1

  • 1.18.2 support
  • Updated Chinese translation

12.1.4

  • Disabled additional hotkeys (fill & empty chest) for ShulkerPacks to avoid duplication and possible item loss caused by ShulkerPacks not checking for changed inventory in InventoryCloseEvent

12.1.2

  • Fixed newlines ("\n") in config.yml breaking the config updater

12.1.1

  • ChestSort will no longer move any shulkerboxes in the inventory around if this shulkerbox is currently open in ShulkerPacks

12.0.6

  • Fixed "additional-hotkeys" not working for ender chests

12.0.4

  • Added config option "allow-gui" (defaults to true)

12.0.3

  • Fixed some commands (e.g. /sort on|off|toggle) accidently opening the GUI

12.0.2

  • Replaced PlayerInteractEvent with ChestSortLeftClickHotkeyEvent (fixes problems with other plugins opening GUIs on PlayerInteractEvent)

12.0.1

  • Fixed mistake in gui.yml: The default head for the "enabled rightclick" hotkey was set to show the "disabled" head
    • Important: When upgrading from 12.0.0, change the "*base64-disabled" to "*base64-enabled" in your "rightclick-enabled" part in your gui.yml (should be line 207 if you havent changed anything)

12.0.0

  • GUI is now 100% customizable!
    • Supports Custom Model Data to create vanilla-looking GUIs
    • Change names, items, slots, lore, and basically EVERYTHING
    • Also supports changing automatic sorting and automatic inventory sorting
  • You can now reset the settings for all players using /sort resetplayerdata
    • This is useful when you had some hotkeys enabled by default and changed it now, without having all players individually change their settings

11.5.6

  • Added option to disable "use-advanced-protection-plugin-detection" as it causes some troubles when other plugins blindly cast a Player object to CraftPlayer, without prior checking whether it's an instanceof CraftPlayer

11.5.5

  • Fixed furnaces being sortable using the left-click hotkey

11.5.4

  • Fixed CratesReloaded preview GUI not opening when leftclicking chests

11.5.3

  • Fixed "disabled-worlds" not working for "left-click hotkey"

11.5.1

  • Added support for new Slimefun API

11.5.0

  • Added support for AdvancedChests (thanks to its author)

11.4.0

  • Added {tier} sorting modifier to sort by tool/block material (netherite, diamond, gold, iron, stone, wood, then the rest)
  • Fixed exception

11.3.0

  • Added support for BetterBackpacks

11.2.3

  • Cancel inventory click when using hotkeys (TODO: Better explanation)

11.2.2

  • Fixed warning regarding PlaceholderAPI on server startup

11.2.1

  • Added new permissions to config.yml
    • They are all true by default so you don't have to change anything to keep the current behaviour

11.2.0

  • Added permission "chestsort.automatic" (default: true).
    • You can remove this from some players to disallow automatic sorting while allowing hotkeys
  • Updated Porguguese translation

11.1.0

  • Improved sorting for items enchanted with different types of Enchantments

11.0.3

  • Removed message "You are using the latest version of ChestSort"
  • Updated Korean translation

11.0.2

  • Fixed message "Container sorted" not being translatable

11.0.1

  • Updated Russian translation - thanks to @Alskar

11.0.0

  • Enhanced API
  • Added Chinese (Simplified) translation
  • Updated Dutch translation

10.3.2

  • Updated Hungarian translation

10.3.1

  • Fixed hotkeys not working since 10.3.0

10.3.0

  • Added permissions for each hotkey.
    • Given to all players by default
    • Permission: chestsort.hotkey.<hotkey>
    • Available hotkeys are:
      • shiftclick, middleclick, doubleclick, shiftrightclick, leftclickoutside, rightclickoutside
  • Fixed bug regarding InvUnload

10.2.1

  • Fixed config updater breaking the config.yml file because "sorting-method" value wasn't put inside double quotes

10.2.0

  • Added config option "allow-commands"

10.1.0

  • Added config option "prevent-sorting-null-inventories"
  • Updated Chinese (Traditional) translation

10.0.4

  • Added compatibility to the ChestShopConfirmation plugin

10.0.3

  • Fixed "Could not check for updates" message being shown to OPs on join when Update Checker is disabled

10.0.2

  • Fixed legacy API still being shaded into the .jar file.

10.0.1

  • API update - some weird Spigot update broke casting the Plugin instance to its interface.
    • Plugins depending on ChestSort or using its API must be updated too.
    • API is now accessed simply via de.jeff_media.chestsort.ChestSortAPI
    • Added "isChestSortInstalled" method

9.7.2

  • Updated Turkish translation

9.7.1

  • Fixed exception when also using AngelChest

9.7.0

  • Added hotkey to sort chests/barrels etc. by shiftclicking them
    • Can be configured per player using "/sort hotkeys"
    • By default it's allowed but disabled
  • Added command "/chestsortadmin reset " to reset hotkey settings for specific players
  • Old YML PlayerData is automatically converted to the new NBT storage

9.6.0

  • PlayerData is stored as NBT data instead of using separate files in 1.14.4 and later

9.5.1

  • Fixed version in plugin.yml

9.4.0

  • Added support for more PlayerVault plugins (specifically EnderVaults)

9.3.0

  • Added CraftBukkit compatibility (although I don't unterstand why anyone would prefer CraftBukkit over Spigot)

9.2.0

  • Added support for PlayerVaultsX

9.1.1

  • Fixed category files being "too wildcardy" lol

9.1.0

  • Added compatibility with GoldenCrates (thanks to xmssss @ Github)
  • Improved Spanish translation (thanks to Carlosjrlu @ Github)

9.0.1

  • Added option "dont-move-slimefun-backpacks" to prevent a bug related to backpacks caused by Slimefun (false by default)

9.0.0

THIS UPDATE IS IMPORTANT WHEN YOU ARE USING PLUGINS THAT INTERACT WITH CHESTSORT Note: When you are using other plugins that depend on the ChestSortAPI 2.0.0+ (e.g. probably the next release of ItemJoin AFAIK) you need at least this version of ChestSort.

  • Improved API, especially for plugins that want to prevent specific items from being moved.
  • Implements ChestSortAPI version 2.0.0

8.18.1

  • Improved API

8.18.0

  • Added DeluxeMenus support

8.17.7-SNAPSHOT

  • Fixed InventoryPages hook when using colored item names

8.17.6

  • Fixed exception and hotbar being filled up with barrier blocks when using the addition right-click-hotkey on MC 1.8

8.17.5

  • Fixed "/invsort hotbar" and "/invsort all" only sorting the normal inventory when "allow-automatic-inventory-sorting" is set to false

8.17.4

  • Improved GUI detection
  • Added Polish translation (thanks to PLKaratusPL)

8.17.3

  • Improved GUI detection, specifically for AdvancedAchievements

8.17.2

  • Added possibility to sort a player's inventory from console using /invsort [toggle|on|off|hotbar|inv|all]
  • Added placeholders (see new config.yml)
  • Added "use permissions" metric

8.17.1

  • Improved sorting of colored blocks
    • White, light gray, gray and black comes first
    • Remaining colors are sorted in a rainbow like order

8.17.0

  • Added option to disable automatic sorting and/or automatic inventory sorting. Hotkeys will still work if enabled. When running /chestsort while automatic sorting is disabled, it will display the hotkeys gui instead.

8.16.1

  • Allow middle-click hotkey in creative mode when clicked slot is empty

8.16.0

  • Added generic hook for 3rd party plugin GUIs
  • Added config option to disable additional hotkeys (left-click and right-click outside of inventory) for all players, while still allowing them to use the normal hotkeys
    • Because of this, the option "allow-hotkeys" has been renamed to "allow-sorting-hotkeys". Don't worry, the config updater will take care of this change.

8.15.1

  • Fixed dirt in containers being affected by the right-click hotkey even though the player had no dirt in his inventory

8.15.0

  • Enabled left-click and right-click hotkey for 3rd party plugins implementing the ISortable interface from ChestSort's API (You only need this update if you use plugins depending on the ChestSortAPI)

8.14.2

  • Made CrateReloaded hook and HeadDatabase hook toggleable
  • Fixed wrong version number in plugin.yml
  • Updated Chinese translation

8.14.1

  • Prevent players from using left-click and right-click hotkeys on inventories created by CrateReloaded or HeadDatabase

8.14.0

  • Updated Russian and Turkish translation
  • Separated ChestSort plugin and API. You can view the new API documentation here.

8.13.0

  • Updated Chinese (Traditional) and Spanish translation
  • Fixed TabComplete not working for /sort and /chestsort
  • Added option to log ChestSort actions in a log file (default: false)
  • Print console warnings when 3rd party plugins use deprecated ChestSort API methods
  • Small code cleanup
  • Updated API to 1.16.1

8.12.2

  • Fixes NullPointerException when using EssentialsX' /ec command in Minecraft 1.12

8.12.0

  • Changed name of command /chestsort to /sort. You can still use /chestsort though.
  • Fixed weird config updater problem on systems that don't properly support UTF-8 (like Windows)
  • Improved help messages and added /sort help and /invsort help commands
  • Huge code cleanup
  • Improved performance by caching Reflection checks in the Minepacks hook

8.11.0

  • Adjustet Left-Click / Right-Click hotkeys:
    • Left-Click outside of inventories will put matching items from your inventory into the chest
    • Double-Left-Click will put all items into the chest
    • Right-Click outside of inventories will put matching items from the chest into your inventory
    • Double-Right-Click will put all items into your inventory
  • Using new universal Update checker (https://github.com/JEFF-Media-GbR/Spigot-UpdateChecker)

Note: The last two messages in the config.yml have changed, so please retranslate them. I am also always happy to integrate your translations into the default config.yml if you send them to me.

8.10.5

  • Added reload command (/chestsort reload) with permission chestsort.reload
  • ChestSort checks if Minepacks version is recent enough and, if not, disable the Minepacks hook.
  • Backpacks from Minepacks will no longer be moved into chests with the left-/right-click hotkeys
  • Middle-Click hotkey is now disabled in Creative mode unless the clicked slot is empty, to allow players to duplicate items just like in vanilla

8.10.4

  • Fixed exception when sorting inventories in 1.8 because Inventory.getLocation() did not exist yet

8.10.3

  • Fixed exception when using the left-/right-click hotkey while using PaperMC instead of Spigot

8.10.2

  • Fixed exception on versions prior to 1.11

8.10.1

  • Minor bugfixes

8.10

  • Made llama, donkey and mule chests sortable via hotkeys and automatic chest sorting
  • Left-Click/Right-Click-Hotkey only works with empty hand now
  • Removed "checking for updates" message

8.9

  • Prevent BossShopPro's GUI from being sorted
  • Added custom event to let 3rd party plugins cancel sorting an inventory, see updated API doc for more information
  • Published ChestSort in public maven repository repo.jeff-media.de/maven2, see updated API doc for more information

8.8.2

  • Fixes exception when sorting inventories containing potions in ancient Minecraft versions like 1.8

8.8.1

  • Changed config-version, because I forgot that in 8.8. You can now use the new config option and translations.

8.8

  • Improved Minepacks hook and prevents backpacks from being put into itself
  • Prevent ItemStacks > 64 slots from being sorted at all
  • Update Checker interval is now configurable (default: every 4 hours)
  • Updated French, Hungarian and Japanese translation
  • Changed class names and moved API to its own class - can be accessed via ChestSortPlugin#getAPI()

8.7

  • When using Minepacks, the backpack item in the inventory will not be moved
  • Added use-permissions option. If you do not use a permissions plugin, you can set this to false to allow every player to use ChestSort

8.6

  • Added support for Minepacks

8.5

  • Prevent Right-Click-Hotkey from putting items in the hotbar
  • Fixed InventoryPages support: when using &f at the beginning of button names, it was not detected by ChestSort as button
  • Fixed possible problems with Spigot versions prior to 1.11
  • Updated French, Chinese and Chinese (Traditional) translation

8.4

  • Fixes InventoryPages support for the new hotkeys

8.3

  • This should fix a problem where the player was able to sort inventories belonging to 3rd party plugins' GUIs using hotkeys

8.2

  • Possibly fixes exception when using hotkeys in Inventories with a null-holder

8.1

  • Sort chest's inventory after using the new Fill-Chest-Hotkey
  • Prevent the new hotkeys from being used when allow-hotkeys is set to false
  • Reformatted config.yml a bit (don't worry, you have automatic config updates)
  • Update-Checker now includes Spigot version in User-Agent string

8.0

  • Added two new hotkeys (disabled by default): Left-Click outside of a chest's (or barrel, ...) inventory will load all your stuff except hotbar into the chest, Right-Click outside of the chest's inventory will unload the chest into your inventory. The hotkeys can be enabled using /chestsort hotkeys and need the chestsort.use permission
  • Added debug and dump option to config (you will probably not need those)
  • Player configs will be only be saved if they have changed
  • Note: This version includes two new messages, so please send me your new translations :)

7.7-pre1

  • Moved /invsort command to separate class
  • Moved registerPlayerIfNeeded from Listener to main class
  • Save player configs only if they have changed

7.6.1

  • Changed description for hotkeys in config.yml
  • Updated French translation
  • Updated Chinese (Traditional) translation
  • Updated bStats to version 1.7

7.6

  • Added automatic inventory sorting (disabled by default). Can be activated by using /invsort on
  • Added options "toggle", "on", "off" to /chestsort. When no option is specified, "toggle" is assumed
  • Improved the messages sent by the update checker, including links for download, donation and changelog
  • Updated bStats to version 1.6
  • Removed some unnecessary imports

7.5

  • Added support for most Shulkerbox/Backpack plugins. Some of those (e.g. Shulker Backpacks) are fully compatible, while others (e.g. BetterShulkerBoxes) will only work with hotkeys, not automatic sorting.
  • Added Hungarian translation
  • Fixed French translation

7.4

  • Added TabComplete support for /chestsort and /invsort commands
  • Fixed a bug that allowed players to put items into the GUI (/chestsort hotkeys)
  • Added Korean translation
  • Minor stuff

7.3

  • Potions will now be grouped by effect type
  • Reverting to 1.13 API to support all MC versions from 1.8.x to 1.15.x
  • Added honey bottle to category files
  • Added sorting support for Enderchests and Minecarts with Chest
  • Minor stuff

7.2

Updated API to 1.15.2

  • Compiled against 1.15.2 APi
  • Updated languages: Chinese, French
  • Minor stuff

7.1

  • Removed weapons from armor-and-arrows category
  • Logs will now get sorted before their stripped variants
  • Bow will now get sorted properly into the weapons category
  • Enchanted items will be put before their unenchanted equivalents

7.0

  • Added hotkey GUI

6.4.5

  • Fixed NPE when clicking outside of inventories

6.4.4

Bugs fixed:

  • When using hotkeys, you can now sort your player inventory while accessing chests. Previously, the chest was sorted even when clicking into the lower half of the inventory
  • Fixed Shift-Rightlick hotkey not working
  • Player inventory sorting via hotkey now requires the chestsort.use.inventory permission instead of the regular chestsort.use permission

Fully compatible with PaperSpigot

6.4.2

  • Fixed: Shift-Right-Click hotkey was broken since 6.4.1
  • Fixed exception when using special characters inside item names/lore while also using {customName} or {lore} in sorting-method

6.4.1

  • Possible fix for Exception when using hotkeys with PaperSpigot

6.4

  • Added support for plugin "InventoryPages"

6.3

  • Added support for plugin "CrackShot" to group and sort custom weapons and guns

6.2

  • New hotkey: Shift + rightclick on any EMPTY slot
  • Improved config updater: Config updater now keeps disabled-worlds option (and everything else) intact

6.1

There are now three types of shortcuts, that can be disabled/enabled individually in the config.yml file. The hotkeys are:

  • Middle click (click with mouse wheel on ANY inventory slot)
  • Shift click (click with shift + left click on any EMPTY inventory slot)
  • Double click (double left click on any EMPTY inventory slot)

All hotkeys are enabled by default.

Info: The "allow-shortcut" option in the config.yml has been renamed to "allow-sorting-hotkeys".

6.0

Added middle-click shortcut

You can now sort any inventory by middle-clicking any slot within that inventory. This is useful if you do not want to enable automatic sorting, but only want to sort a chest or your own inventory from time to time. This also means that you do not have to use /invsort or /isort anymore - just middle click into your player inventory

5.1

  • Fixes exceptions when using SPigot versions prior to 1.11

5.0.3

  • New translation: Dutch
  • Fixed translation: Chinese

5.0.2

  • Fixed exception when using default Russian translation

5.0.1

  • {keepCategoryOrder} now works
  • sticky category files now work
  • UpdateChecker showing correct version again

5.0

  • The config file will update itself automatically when a new version is released. Your old changes will be kept, so you always see the new config options without having to redo all your changes.
  • Categories can be set to sticky in the category file. That means that the items in this category will be ordered exactly as in the file. Without setting sticky, the items in one category will only be grouped together and sorted according to the other variables in your sorting-method.
  • New placeholders for your sorting-method including custom item name (e.g. when renamed with an anvil) and lore. You can also use {keepCategoryOrder} behind {category}. This will have the same effect as when you set all categories to sticky.

4.2

  • Added sort-time option. Available options: open, close, both

4.1.2

  • Fixed compatability for Spigot and Paper from 1.8 to 1.14 (again...)

4.1.1

  • Reverting to 1.13.2 API to fix exception when using certain paper und Spigot versions

4.1

  • Sorting EnderChests is now possible! Your loot is finally safe and tidy.
  • More options for /invsort: /invsort aka /isort now understands three options: /invsort inv (default) will sort only the regular inventory, excluding hotbar /invsort hotbar will only sort the hotbar /invsort all will sort both
  • Changed order of default category files. The valuables and tools category have switched places, so that tools is now the first category.
  • Update Spigot-API to 1.14. ChestSort already worked with 1.14, but now it uses the new API natively.

4.0

  • Player Inventory sorting! Players can sort their inventory using /invsort or /isort. This requires the chestsort.use.inventory permission
  • Support for all major Minecraft versions! This version has been tested with 1.8, 1.11, 1.13.2 and 1.14, so it should work with every version between 1.8 and 1.14

3.7.1

  • Added Russian translation
  • Fixes exception when opening inventories without associated InventoryHolder

3.7

  • Added sorting support for barrels
  • Improved async update checker

3.6

  • Fixed missing plugin.yml
  • Added API function: boolean sortingEnabled = chestSort.sortingEnabled(Player player);

3.5

  • Supports all Spigot versions from 1.11 to 1.14

3.4

  • Added disabled-worlds option

3.3

  • Fixed API function: chestSort.sortInventory(Inventory inventory, int startSlot, int endSlot) now works correctly

3.2

  • Fixed bug when sorting custom player heads
  • Revamped sorting algorithm, it is now even faster!

3.1

  • Added API function: chestSort.sortInventory(Inventory inv, int startSlot, int endSlot)

3.0

  • Added ChestSort API

2.0.3

  • Added Chinese (Traditional) and Japanese translation

2.0.2

  • Updated Spigot API to 1.13.2
  • Players in adventure mode will no longer be able to sort chests

2.0.1

  • Updated Spigot API to 1.13.1
  • Added re-initialization of the PerPlayerSettings object to avoid problems with /reload
  • Added ChestSort version to user agent for auto update
  • Added show-message-when-using-chest-and-sorting-is-enabled to Metrics

2.0.0

  • ChestSort now supports categories for sorting! There are pregenerated category files that you can adjust. Wildcards are supported!
  • The default config now uses this sorting method: {category},{itemsFirst},{name},{color}
  • Sorting has been improved for many things, like corals, stripped_log and many more
  • Automatic update checker integrated. On Server startup and every 24 hours there will be a check if a new version is available. If yes, it is displayed in the console and to OPs on logging in. You can toggle this in the config.yml (check every 24 hours, check only on startup or don't check at all)
  • Bugfixes and improvements
  • Your old config file will be renamed, so that you can use the new features and start off with a freshly generated 2.0.0 config
  • Some debug infos on server startup. You can disable this by setting verbose: false in your config.yml
  • ChestSort now survives /reload (which is still UNSUPPORTED!)

1.7.4

  • Added Spanish translation

1.7.3

  • Fixed "using old config" message being shown when using freshly generated config

1.7.2

  • Fixed debug mode being enabled by default

1.7.1

  • Added color sorting for all blocks

1.6

  • You can now customize the way ChestSort will sort your stuff. By default, everything is sorted alphabetically, but items will be put before blocks. See the new config.yml
  • Bugfix: Players in spectator mode can no longer sort chest

1.5.8

  • Added Chinese language support, thanks qsefthuopq for translating!
  • The message on how to use /chestsort when accessing a chest for the first time is not shown anymore when a player already entered the command before

1.5.7

  • Bugfix: Corrected default config file to use English as default. Since 1.5.6, it was accidentally set to Italian.

1.5.6

  • Added Italien translation

1.5

  • Added permissions

1.4

  • Added bStats