ChocolateBar Broker Display
ChocolateBar will create a bar on top or bottom of your screen where other addons called broker plugins can display stuff like your fps.
Main Features
- Easy setup, install & go!
- Multiple bars - top or bottom as many as you want.
- Left, right and center alignment.
- Support for icon colors and coordinates like used by TomTom.
- Easy config, simply drag a plugin and drop points will show. The idea is to easily disable a plugin or toggle its text. See pics.
- Load-on-demand options, and small memory footprint.
- More Chocolate - a broker plugin to show a bar that will autohide again. Great for launchers or other plugins you don't need visible all the time:)
Options for:
- Show bars on mouse over only.
- Hide bars in combat.
- Hide bars during a pet battle.
- Set a fixed width for any plugin.
- Change textures, font, colors and a lot more...
Where to get plugins?
Search for broker on CurseForge
Updated list by tekkub on Github (last update April 2021)
Usage
Right click the bar or type "/chocolatebar" to open the options menu.
How you can help
Create a pull request on Github.
You can help with the localization.
You miss a feature or found a bug? I look forward to your feedback on Github.
In reply to Carnitaas:
its updated! :)
Getting the following issue on Wrath Classic with 3.8.5 when trying to drag and drop Gathermate from one position on the bar to another on the same bar.
4x ChocolateBar\DragAndDrop.lua:86: attempt to index upvalue 'focus' (a nil value)
[string "@ChocolateBar\DragAndDrop.lua"]:86: in function `Stop'
[string "@ChocolateBar\Chocolate.lua"]:356: in function <ChocolateBar\Chocolate.lua:350>
Locals:
self = <table> {
Start = <function> defined @ChocolateBar\DragAndDrop.lua:67
UnregisterFrame = <function> defined @ChocolateBar\DragAndDrop.lua:63
Stop = <function> defined @ChocolateBar\DragAndDrop.lua:79
RegisterFrame = <function> defined @ChocolateBar\DragAndDrop.lua:54
}
frame = ChocolateSavedClassicIcon {
BottomLeftCorner = <unnamed> {
}
OnBackdropLoaded = <function> defined @SharedXML\Backdrop.lua:152
GetBackdropColor = <function> defined @SharedXML\Backdrop.lua:390
SetBackdropBorderColor = <function> defined @SharedXML\Backdrop.lua:422
icon = <unnamed> {
}
obj = <table> {
}
text = <unnamed> {
}
SetBackdrop = <function> defined @SharedXML\Backdrop.lua:329
ClearBackdrop = <function> defined @SharedXML\Backdrop.lua:282
GetBackdropBorderColor = <function> defined @SharedXML\Backdrop.lua:409
GetBackdrop = <function> defined @SharedXML\Backdrop.lua:347
bar = ChocolateBar1 {
}
SetBorderBlendMode = <function> defined @SharedXML\Backdrop.lua:266
highlight = <function> defined @ChocolateBar\Chocolate.lua:364
Update = <function> defined @ChocolateBar\Chocolate.lua:309
isMoving = false
settings = <table> {
}
OnBackdropSizeChanged = <function> defined @SharedXML\Backdrop.lua:182
HasBackdropInfo = <function> defined @SharedXML\Backdrop.lua:278
Center = <unnamed> {
}
RightEdge = <unnamed> {
}
GetEdgeSize = <function> defined @SharedXML\Backdrop.lua:188
labelText = ""
0 = <userdata>
TopEdge = <unnamed> {
}
BottomEdge = <unnamed> {
}
name = "SavedClassicIcon"
BottomRightCorner = <unnamed> {
}
TopRightCorner = <unnamed> {
}
TopLeftCorner = <unnamed> {
}
SetupTextureCoordinates = <function> defined @SharedXML\Backdrop.lua:214
backdropInfo = <table> {
}
SetupPieceVisuals = <function> defined @SharedXML\Backdrop.lua:246
SetBackdropColor = <function> defined @SharedXML\Backdrop.lua:399
LeftEdge = <unnamed> {
}
ApplyBackdrop = <function> defined @SharedXML\Backdrop.lua:294
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "OnUpdate"
(*temporary) = nil
(*temporary) = <userdata>
(*temporary) = nil
(*temporary) = ChocolateBar2 {
0 = <userdata>
UpdateBar = <function> defined @ChocolateBar\Bar.lua:428
GetFocus = <function> defined @ChocolateBar\Bar.lua:421
OnBackdropLoaded = <function> defined @SharedXML\Backdrop.lua:152
GetBackdropColor = <function> defined @SharedXML\Backdrop.lua:390
autohide = false
Drop = <function> defined @ChocolateBar\Bar.lua:394
UpdateColors = <function> defined @ChocolateBar\Bar.lua:121
SetBackdropBorderColor = <function> defined @SharedXML\Backdrop.lua:422
UpdateStrata = <function> defined @ChocolateBar\Bar.lua:76
New = <function> defined @ChocolateBar\Bar.lua:28
EatChocolatePiece = <function> defined @ChocolateBar\Bar.lua:184
tempHide = false
chocoMostRight = ChocolateRareScannerLDB {
}
centerChoco = ChocolateTraining {
}
chocolist = <table> {
}
ApplyBackdrop = <function> defined @SharedXML\Backdrop.lua:294
SetBackdrop = <function> defined @SharedXML\Backdrop.lua:329
ClearBackdrop = <function> defined @SharedXML\Backdrop.lua:282
LoseFocus = <function> defined @ChocolateBar\Bar.lua:417
GetBackdropBorderColor = <function> defined @SharedXML\Backdrop.lua:409
GetBackdrop = <function> defined @SharedXML\Backdrop.lua:347
chocoCenterRight = ChocolateAtlasLoot {
}
listCenter = <table> {
}
chocoCenterLeft = ChocolateAtlas {
}
chocoMostLeft = ChocolateRareAlertLDB {
}
UpdateDragChocolate = <function> defined @ChocolateBar\Bar.lua:346
SetBorderBlendMode = <function> defined @SharedXML\Backdrop.lua:266
Center = <unnamed> {
}
RightEdge = <unnam
In reply to RorthronTheWise:
Fixed in v3.9
Hello,
Would it be possible to make the option "Force Text Color" apply on a per plugin in basis?
The global setting does not provide the control needed.
Many thanks.
Is this being updated for Wrath Classic?
I sure hope so... pre-patch is in 2 days.
Don't know what i would do without my broker bar.
In reply to Kataclasm:
Any issues so far?
In reply to kiatra_:
Yes, if i click and hold on a broker plugin and attempt to drag it to a different position on the bar, the whole bar disappears.
I then have to /reloadui to get it back.
In reply to Kataclasm:
I get that randomly on retail:
seems focus is nil in Drag:Stop, what helped is to swap two lines:
The issue seems to be in DragAndDrop.lua
Everyone here that is having the issue with Curse Forge reporting that the latest update for this addon is corrupt.
I have found that there is an issue with the one .toc's in the file. I have had to update the 4 .toc's in the file to correct this issue.
One of the .toc's has a incorrect interface version number. I have edited all 4 .toc's in the file to their correct versions and the issue has cleared.
The versions affected are:
ChocolateBar.toc
ChocolateBar-BCC.toc
ChocolateBar-Classic.toc
and
ChocolateBar-Mainline.toc
Thanks kiatra for as great addon, been loving it for quite a few years and appreciated that you got back with me on my e-mail to you.
In reply to bludwulf62:
Be nice if you could be more specific. I put 90205 in the first line of each of those .toc files and it did not help.
The first line of each of those files now reads
## Interface: 90205
In reply to dcjohnston54:
dcjohnston54,
I just reviewed my toc's for this and the only one now that has
the interface of 90205 is ChocolateBar-Mainline.toc
for some reason ChocolateBar.toc has 90105 and
ChocolateBar-BCC.toc has it original as 20504 and
ChocolateBar-Classic.toc has it's original as 11403.
Don't change these to 90205 or 90105 those are their respective game interfaces.
I'm testing ChocolateBar.toc again by changing it back to 90205 and see
if curse changes it back again.
But so far Curse is not reporting that it is corrupt anymore.
In reply to bludwulf62:
Let me know it the last version fixed it?
In reply to kiatra_:
Yes I see no issues like I had before. All seems to be working like it should.
Thanks,
bludwulf62
Keep getting a warning in the Curseforge app the addon might be corrupted.
I have no idea why, but I updated to version 3.8.2 and the game acts like it's not there at all. doesn't see it so I reinstall 3.8.1. and now It's the same thing with 3.8.3. just flat out doesn't see it. Not in the addon list nothin, the folder is in the addon's folder like it should be, but the game doesn't see it. This was Retail.
In reply to fooinfinity:
There was no major changes in 3.8.2. Did it work with installing 3.8.1 again?
In reply to kiatra_:
Yes, in fact I had to revert it back to 3.8.1. to use it.
edit: just updated to 3.8.4 and it's working fine now on retail.
Versions 3.8.2 should fix the lua error after first login.
In reply to miarenn:
Still getting lua error from CB_PlayedTime.lua in TBC. Character name is still nil at first login.
I guess the problem is, that the getPlayerIdentifier() function is called multiple times because of the added timer in 3.8.2, but getPlayerIdentifier() itself isn't handling a possible nil name value, thus throwing a lua error.
In reply to kazso2:
Thanks, please let me know if you still encounter this error with 3.8.31 :)