AbsolutSorter

AbsolutSorter 2.0.24

Added config option to adjust position of UI container
Added config option to toggle whether raid block affects using the sorting options
  • Like
Reactions: john and MoWeR
Disable sorter UI if container is from SkinBox
Added Show/Hide button
Silly me, had the permissions back to front :p
  • Like
Reactions: MalS
This update will wipe you config, data and lang files!

Complete re-write
Added config option to set which containers can have the sorter applied to them
Changed functionality and sorting options (see overview)
New UI layout in a similar style to the previous version
  • Like
Reactions: MalS and mufin
New Config Options Added! New Options will default False; so if you don't need them don't worry about wiping your config!

NEW FEATURES:
LOOT ALL:
A Loot All Button has been added to the sorting box. When pressed, all items that can fit into your inventory will be moved to your inventory. To have this button a player must have AbsolutSorter.LootAll.

Instant Dump Box:
A new box type has been added. To select or use this box type a player must have the permission AbsolutSorter.AllowDump. If a box is designated a Dump Box it will automatically move all available items in your inventory to the Dump Box on loot. This is a really good feature for that box near your entrance that players throw crap in to be later sorted.

CONFIG OPTIONS ADDED:
**public bool AllowALLContainers { get; set; } - This option still exists and if set to true Include_Fridges and Include_Furnaces do not matter because this overrides everything to true.
**public bool Include_Fridges { get; set; } - This controls whether Fridges can have Sorting Box or Dump Box logic attached to it.
**public bool Include_Furnaces { get; set; } - This controls whether Furnaces can have Sorting Box or Dump Box logic attached to it.

Let me know of any bugs. Enjoy!
  • Like
Reactions: MalS and Dubz
Thanks to @maxaki for testing and reporting a few bugs!

Fixed an issue related to the removal of boxes as well as a glitch that would say a box is in use when it really wasn't!

Also added a cooldown for Sorting to prevent lag on the server from malicious spamming of the Sort options.

Added two config options! REFRESH YOUR CONFIG!

Allowed_Sorts_Within_60_Seconds: set the number of sorts a player can execute within 60 seconds. Default is 5; Once they hit the limit they will be told they are on a cooldown and pressing the Sort button will do nothing.

Logging: Set to true if you want to have a log file created and written to if a player exceeds the sorting limit.
  • Like
Reactions: MalS
CHECK THE NEW VIDEO.. if you haven't PLEASE subscribe!

Revamped logic, runs WAY better.

Changed ui button logic so you dont have to feel like you are clicking endlessly to configure a box!

Loading no longer checks for boxes; instead boxes are check on loot (WAY BETTER). Say goodbye to those stupid errors...

Added (2) new sorting options:

Quick - Takes items in your inventory and dumps them in the box. Simple --> Sweet

This - Only take the items from your inventory designated for the box you are looting. Great for situations where you want to place lots of items from your inventory in that sorting box but dont want other things to "disappear" into other sorting boxes you have within radius.
  • Like
Reactions: MalS
Quick fix for the nagging console error.

I am also doing a bit of a code overhaul on this as I think I have a better method for storing the data. Stay tuned for that!
  • Like
Reactions: MalS and Rickne