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
Is there a way to force the text to stay on one line and not stack up? I'd like to use this for my broker addons but my reputation broker is displaying on multiple lines. I'd like it to display as just one line of text and not 3 or 4 lines.
Thanks
In reply to big_fish1:
if you disabe / enable "show text" it shows it as one line, but goes back to multiline on reload.
New release with fixes for Dragonflight
Thank you so so much, love all your addons! Truly appreciate your work.
In reply to funkehdude:
Hell yah! It's such a clean way to get some small LDB data in, thanks!
In reply to Funkeh: Is there some way to toggle text off/on from a slash command? I'm using broker:compass and speedygonzales; both take up more space than needed until that toggle. I'd like to be able to just make a hotkeyed macro to toggle both, to reclaim some scarce windowtop space.
Speedy Gonzales has an extra annoyance, in that statblock sets the window size to what is displayed when text it toggled. S,o that if speed exceeds 999%, it just displays as "...". The fix is to toggle when speed is 1000% or better, after which the window will shrink or expand as needed. A script command is *really* needed here, as clicking the 'show text" box *twice* while speed is briefly over 999% is hard.
Thanks for the great addon, all the other broker displays are space pigs.
In meantime, anyone found an acceptable alternative? Ideally, one that doesn't take up the entire top or bottom of the screen, which then forces one to move a LOT of stuff.
1x bad argument #2 to '?' (Usage: self:SetParent([parent])) [string "=[C]"]: in function
SetParent' [string "@Interface/AddOns/StatBlockCore/StatBlockCore.lua"]:683: 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: (*temporary) = "bad argument #2 to '?' (Usage: self:SetParent([parent]))"
Dang! I am hoping this nice addon gets updated!
Had to disable it for now...
Please please please ...
Hoping for this to get some love for Dragonflight/Pre-patch :)
This was my favourite DataBroker display addon back in Legion and BfA. I hope it returns for Dragonflight :-)
Greetings El Funk! Thanks for another great addon :D I however do have feature requests for you to consider :]
Ability to adjust the height of individual blocks
Option to prevent blocks from being dragged off the screen
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,