StatBlockCore
StatBlockCore is a display addon for LibDataBroker plugins.
SBC offers a variety of options some plugin based, some global based. It's main goal is to provide freely movable blocks based on the LDB system, whilst keeping to a minimal codebase.
Also a lot of other addons are using LDB for their quicklaunchers, SBC fully supports them.
Examples of plugins are:
- Broker_* addons
- StatBlock_* addons
- ..and many more...
SBC does nothing on it's own, it needs LibDataBroker plugins to function. You can find these in the Data Broker section.
/sbc
/statblockcore
Please help translating/localization by clicking here
I got this error when manually setting the X and Y co-ordinates of a block:
1x StatBlockCore\StatBlockCore.lua:402: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: StatBlockCore_TomeTele:SetPoint.
[string "=[C]"]: in function `SetPoint'
[string "@StatBlockCore\StatBlockCore.lua"]:402: in function <StatBlockCore\StatBlockCore.lua:399>
[string "=[C]"]: ?
[string "@AutoVendor\libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-79.lua"]:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49>
[string "@AutoVendor\libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-79.lua"]:843: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:664>
[string "=[C]"]: ?
[string "@AutoVendor\libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <...aceAutoVendor\libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@AutoVendor\libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@AutoVendor\libs\AceGUI-3.0-41\widgets\AceGUIWidget-EditBox.lua"]:74: in function <...dor\libs\AceGUI-3.0\widgets\AceGUIWidget-EditBox.lua:71>
It appears that it still worked though.
there is a slider above the colour picker for transparency. mb that wasn't there when you did you post ;)
Thank you for the update <3
This uses SetBackdrop and will need to be updated for PTR and Shadowlands.
Message: Interface\AddOns\StatBlockCore\StatBlockCore.lua:659: attempt to call method 'SetBackdrop' (a nil value)
Time: Tue Oct 6 22:39:17 2020
Count: 1
Stack: Interface\AddOns\StatBlockCore\StatBlockCore.lua:659: attempt to call method 'SetBackdrop' (a nil value)
[string "@Interface\AddOns\StatBlockCore\StatBlockCore.lua"]:659: in function `New'
[string "@Interface\AddOns\StatBlockCore\StatBlockCore.lua"]:817: in function `?'
[string "@Interface\AddOns\StatBlockCore\StatBlockCore.lua"]:543: in function <Interface\AddOns\StatBlockCore\StatBlockCore.lua:543>
Locals: self = StatBlockCore {
0 = <userdata>
TextUpdate = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:545
IconCoords = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:562
ValueUpdate = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:550
PLAYER_LOGIN = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:811
db = <table> {
}
IconColor = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:558
Icon = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:554
New = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:641
}
_ = nil
name = "ArkInventory_Tracking_Item"
obj = <table> {
}
newBlock = StatBlockCore_ArkInventory_Tracking_Item {
0 = <userdata>
pluginName = "ArkInventory_Tracking_Item"
pluginObject = <table> {
}
}
(*temporary) = nil
(*temporary) = StatBlockCore_ArkInventory_Tracking_Item {
0 = <userdata>
pluginName = "ArkInventory_Tracking_Item"
pluginObject = <table> {
}
}
(*temporary) = <table> {
bgFile = "Interface\Tooltips\UI-Tooltip-Background"
}
(*temporary) = "attempt to call method 'SetBackdrop' (a nil value)"
db = <table> {
outline = "NONE"
shadow = true
globalScale = 1
globalFont = "Friz Quadrata TT"
iconPos = "LEFT"
globalBDC = <table> {
}
globalColor = <table> {
}
globalAlpha = 1
globalShownAlpha = 1
launchers = true
plugins = <table> {
}
globalHiddenAlpha = 1
globalLabelColor = <table> {
}
globalSize = 20
}
getBlockOptions = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:302
bg = <table> {
bgFile = "Interface\Tooltips\UI-Tooltip-Background"
}
onDragStart = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:566
onDragStop = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:574
onMouseWheel = <function> defined @Interface\AddOns\StatBlockCore\StatBlockCore.lua:631
SBC_display = <table> {
}
ldb = <table> {
attributestorage = <table> {
}
pairs = <function> defined @Interface\AddOns\ArkInventory\Libs\LibDataBroker\LibDataBroker-1.1.lua:70
NewDataObject = <function> defined @Interface\AddOns\ArkInventory\Libs\LibDataBroker\LibDataBroker-1.1.lua:36
callbacks = <table> {
}
ipairs = <function> defined @Interface\AddOns\ArkInventory\Libs\LibDataBroker\LibDataBroker-1.1.lua:81
RegisterCallback = <function> defined @Interface\AddOns\ArkInventory\Libs\CallBackHandler\CallbackHandler-1.0.lua:116
GetNameByDataObject = <function> defined @Interface\AddOns\ArkInventory\Libs\LibDataBroker\LibDataBroker-1.1.lua:63
GetDataObjectByName = <function> defined @Interface\AddOns\ArkInventory\Libs\LibDataBroker\LibDataBroker-1.1.lua:59
UnregisterCallback = <function> defined @Interface\AddOns\ArkInventory\Libs\CallBackHandler\CallbackHandler-1.0.lua:179
domt = <table> {
}
proxystorage = <table> {
}
DataObjectIterator = <function> defined @Interface\AddOns\ArkInventory\Libs\LibDataBroker\LibDataBroker-1.1.lua:55
namestorage = <table> {
}
UnregisterAllCallbacks = <function> defined @Interface\AddOns\ArkInventory\Libs\CallBackHandler\CallbackHandler-1.0.lua:200
}
media = <table> {
OverrideMedia = <table> {
}
callbacks = <table> {
}
LOCALE_BIT_zhTW = 8
SetDefault = <function> defined @Interface\AddOns\ArkInventory\Externals\SharedMedia\LibSharedMedia-3.0.lua:293
GetDefault = <function> defined @Interface\AddOns\ArkInventory\Externals\Sha
Still working fine as of 2019-09-20, both retail and classic.
Author ought to update the versions to ensure neither curseforge nor wowace mark this addon as abandoned. Not sure any of the other LDB displays work with classic.
First off: I installed and set up everything on one character. Exited wow, logged back in, everything I painstakingly setup had reverted to normal. :(
I know someone previously asked if you could/if we could alphabetize the list of data brokers. That would rock, but what would be even MORE helpful would be to have the broker icons displayed, which would help figuring what does what if there's duplication of function and you're trying to set things up.
Also, not sure if this is a bug or a missing feature, but the color picker for the background doesn't let you set transparency. I'd like to completely hide the background and I can't.
In reply to Tazr:
Hi, when using 'class color label' it changes to the class logged in, but when logging another class it remains the previously selected class color, is that intended? I like to have just one master profile for all characters, but the class color label change would be nice.
Thanks,
This may be a silly thing, but is it possible to alphabetize the list of plugins under the statblockcore configuration in the interface settings? There's a lot of addons under there (seems every addon these days has LDB) and sometimes I have a helluva time trying to find the one I'm looking for from the list.
Is it possible to have a "Hide Icon" settings on a per-block basis? Like the "Hide Text" option, but in reverse.With 99% of my LDB addons, I either want the icon only for quick access or the text display for information, but rarely if ever do I need both.Ignore this comment, Icon show/hide exists in some addons but not others, functionality must be determined by the plugin wrtier.
Could you please add support "OnDragReceive" calls. They work exactly as the "OnClick" ones. So that your addon can work with Scrap Broker
Added in v2.77
Thanks! Great addon by the way, I really appreciate your work.
Is there any way to do a combat fade(alpha = 0 out of combat) ? I use an addon called TimeToExecute to track the time until 20% for the sake of cds.
Is there a way to set the anchoring for the different elements? I tried finding out the panel name to use kgpanels to do it but it doesn't return a name.
That's what the parenting functionality is for.
How I want it: http://gyazo.com/cc94c0773e785a19d48d3c122986430e.png
How it looks after I re-login or reloadUI: http://gyazo.com/dcc2bd11095c3b83657cb9a4cd4fd37e.png
This is fixed by going in and unchecking and re-checking, "Show Text".
It's all done on the web, really easy.