BankStack
BankStack is the leading cause of things moving in your bags and bank.
It:
- sorts your inventory, bank, or guild bank
- fills incomplete stacks in your bank with items from your inventory
- compresses your bags by filling incomplete stacks within them
- puts a chicken in every pot, and pot in every chicken
Quick command reference:
/bankstack
: show configuration/sort
: rearrange your bags/sort bank
: rearrange your bank/stack
: fills stacks in your bank from your bags/stack bank bags
: fills stacks in your bags from your bank/stack {group1} {group2}
: fills stacks in group2 from group1/compress
: merges stacks in your bags/compress bank
: merges stacks in your bank/compress {group}
: merges stacks in group/fill
: fill empty slots in your bank from your bags/fill {group1} {group2}
: fill empty slots in group2 from group1
In the /bankstack configuration you'll find sections for "ignore" and "groups". Here's a bit of elaboration on the syntax for those parts.
You need, regrettably, to hear about bag ids first. Each bag has a number which addons use to interact with it.
Your bags are: 0, 1, 2, 3, 4 Your bank is: -1, 5, 6, 7, 8, 9, 10, 11 Your guild bank is: 51, 52, 53, 54, 55, 56, 57, 58
To ignore slot 1 of bag 0, the first slot in your backpack, go to the "ignore" panel and put "0 1" into the textfield and click "okay".
Groups are similar. Let's say that you're a herbalist, and only want to do some things to your herb bags.
You could put this into the "groups" textbox: herbs 3,4 Or this: bankherbs 10,11
You now have two custom groups, herbs and bankherbs. Presumably you keep massive herb bags in slots 3 and 4, and are making lots of money from this because you have the two most expensive bank slots as well (10 and 11).
Having created these groups you could:
/stack herbs bankherbs
Which would fill up stacks in your bank herb bags from stacks in your personal herb bags.
Predefined groups are: bank, bags, guild, all, and a few more. Click the "list" button in the groups config to see these.
O my this is WONDERFUL! esp for the Guild Bank. Takes some time and a cpl presses of the Alt Left Click 'bag sort' but in the end it works perfectly and sorts like a champ! ty!
Hey, Ive got a slight problem on wotlk classic with this addon. I believe Ive figured out the actual problem, I just dont know how to fix it myself sadly. In the bank interface when you try sorting your bank with this addon it uses bankslot 6 as the initial start point for the sort, then once that bag is full in that slot, it starts sorting into the rest of the bank properly, this causes items such as gear and other items thatd be first in the list when sorted, to be sorted into the middle of the bank basically with everything else sorted nicely around it. I posted a picture, it shows perfection already exists but my gear is sorted into the middle of the bank first.
Image of Bank
I have tried many things to try and fix this.

I have tried a fresh install of the addon.
I have tried Disabling all other addons as well besides bankstack
I have deleted my bankstack savedvariables from my WTF.
I have also tested my version of the addon on retail and it works just fine.
I have also tested all of my characters and they all have this same problem
I am using BankStack-v2023.1.zip, which is the 3.4.1 release version.
I dont know what else to try and fix this issue, its a minor issue but its still kinda annoying.
The last week or so I've been getting "BankStack: Perfection already exists." every time I run the /fill 57 bags even though there are plenty of items in the 7th guild bank slot to grab. What this used to do was take everything out of the 7th guild bank tab, and put it into my inventory.
Things I've tried so far: Deleting and reinstalling the addon. Didn't fix it.
Backstory: Everyone in the guild just dumps everything they want to donate or don't need into the 7th tab, and then I sort through it and AH it or do whatever with it. Love this addon for not having to click click click click every single item over and over to move them all to my bags anymore.
Keep getting the error "You must be at the bank" when trying to sort/stack guild tabs.
In reply to VladTheImplierIII:
Yeah it won't work or do anything "You must be at the bank"
In reply to dilvishthedamned:
This should now be fixed - events for detecting the guild bank changed slightly in 10.0.5/3.4.1
Thank you! The recent update fixed it!
Only addon that I can find that sorts and compresses guild banks for every guild bank slot. Recommended.
In reply to comiluv:
I can't get it to sort Gbank in Dragonflight (admit I hadn't used it during Shdowlands, but often in BfA).
In reply to dilvishthedamned:
try /sort guild and /compress guild while guild bank is open
In reply to comiluv:
I get the same error when doing that.
I can't get the addon to sort the guild bank (example /sort bank 51) at all, I get an error message stating:
"Bankstack: You must be standing at the bank"
Thought it might be an issue with Oribos Gbank so went to Dalaran, same issue.
P.S. I am sorting caged pets; the addon used to work (mostly) in BfA
I also get this lua error when using the minimap button (not sure what function is under that button):
Message: Interface/AddOns/BankStack/core.lua:347: attempt to call global 'GetContainerNumSlots' (a nil value)
Time: Tue Jan 3 03:34:37 2023
Count: 1
Stack: Interface/AddOns/BankStack/core.lua:347: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "=(tail call)"]: ?
[string "=[C]"]: in function `GetContainerNumSlots'
[string "@Interface/AddOns/BankStack/core.lua"]:347: in function `GetNumSlots'
[string "@Interface/AddOns/BankStack/core.lua"]:282: in function `(for generator)'
[string "@Interface/AddOns/BankStack/core.lua"]:564: in function `ScanBags'
[string "@Interface/AddOns/BankStack/core.lua"]:504: in function `?'
[string "@Interface/AddOns/BankStack/ldb.lua"]:68: in function `OnClick'
[string "@Interface/AddOns/BagSync/libs/LibDBIcon-1.0/LibDBIcon-1.0.lua"]:144: in function <.../AddOns/BagSync/libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:142>
Locals: (*temporary) = "LeftButton"
(*temporary) = false
(*temporary) = <function> defined =[C]:-1
In reply to skob97: I second this request - I want the oldest stuff to be all the way to the left, and the newest stuff to have space after it. Like a reverse reverse? lol
Using the newest version [ v2022.4-1-g42c625e ] and get this error as soon as I try to sort my back using the minimap button.
Going to switch to version 2022.4 ; and see if I get the error then.
In reply to JDM12983:
OK, switching back to the last "release" version; seems to work fine.
In reply to JDM12983:
Interesting, I can't make that happen at all. I'll add some protection around the call, though.
In reply to Kemayo:
Odd thing was; I was on one toon at a bank - and bank sorting worked fine [with that version]. But, got on another toon, not at a bank and bag sorting didn't work and gave me that error.
But, if I set bag "5" to ignored [according to a wiki site, the reagent bag is bag five?] then it wouldn't cause that error -- and I would just get red chat text saying sorting aborted".
I am using the bagnon addon together.
When trying to sort items in my bags with the Junk option "Back of your bags" selected, I get an error message stating "Only Reagents can be placed in Reagent Bags", and then eventually errors out with BankStack: Confusion. Stopping. I think the back of your bags option is trying to place junk items into the last bag, which is now the reagent bag, instead of the last normal bag.
Edit: I was wrong. Seems to happen regardless of this setting. No idea why I continue getting the "Only Reagents can be placed in Reagent Bags" error message.