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 kiatra_:
I had changed my local copy to this recently, I should have posted here but slipped my mind.
In reply to kiatra_:
I still get this sporadically with latest
In reply to kiatra_:
Seems to be fixed now. No error after login.
I'm getting this error when I log on after patch 9.2 went live.
8x ChocolateBar\modules\CB_PlayedTime.lua:70: bad argument #2 to 'format' (string expected, got nil)
[string "=[C]"]: in function `format'
[string "@ChocolateBar\modules\CB_PlayedTime.lua"]:70: in function <ChocolateBar\modules\CB_PlayedTime.lua:65>
[string "@ChocolateBar\modules\CB_PlayedTime.lua"]:78: in function <ChocolateBar\modules\CB_PlayedTime.lua:77>
Locals:
(*temporary) = "%s-%s"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "string expected, got nil"
.
In reply to twitchmodianz:
Commented out lines 48 and 49 of CB_PlayedTime_Options.lua as stated above. Still receiving the error when I log in. Are you sure this is correct?
Thanks.
In reply to DarkLimpan:
As a temporary measure you should be able to change this on L67 of CB_PlayedTime.lua
From:
To:
In reply to Kojiyaru:
That didn't appear to fix anything for me, still getting the same lua error. Nothing seems broken with the bars, though.
It doesn't seem to trigger a lua error every time I log on, for some reason.
In reply to DarkLimpan:
Hmm strange that should fix it. Try the new version and let me know if you still have the error.
In reply to miarenn:
For me 3.8.1-bcc still throws an error, because GetPlayerInfoByGUID(UnitGUID("player")) in CB_PlayedTime.lua will not return my player name when I log in the first time. After UI reload it's ok.
I modified the code this way, which solved my problem:
In reply to kazso2:
Added the line changes above to my retail file and everything seems to be fine, no errors upon logging in at least. Thanks.
In reply to kazso2:
This seems to fix things for me on retail. Thanks. :)
In reply to DarkLimpan:
Should be fixed now.
In reply to miarenn:
Hi miarenn.
Still getting the lua error with the latest version upon login this morning.
217x ChocolateBar\modules\CB_PlayedTime.lua:70: bad argument #2 to 'format' (string expected, got nil)
[string "=[C]"]: in function `format'
[string "@ChocolateBar\modules\CB_PlayedTime.lua"]:70: in function <ChocolateBar\modules\CB_PlayedTime.lua:65>
[string "@ChocolateBar\modules\CB_PlayedTime.lua"]:78: in function <ChocolateBar\modules\CB_PlayedTime.lua:77>
Locals:
(*temporary) = "%s-%s"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "string expected, got nil"
In reply to miarenn:
The problem may be that both name and server are not being returned. Looks like the fixes just address server being NULL but not name.
In reply to mkong409:
the issue was that it only occurs after first char load after a game start.. seems like weird 9.2 API bug.
I added a timer to call the API 2 seconds after the player entering world event. Let me know if it still occurs.
Hello,
Bar wouldn't show since patch 9.1.5. Anyone got fix for it please?
Ty in advance.
Some plugins have HUGE tooltips.
Suggestion: add an option on the "plugin window" to not show the tooltip unless shift is pressed (or ctrl or alt).
This could be an option that applies to all plugins but I would rather it to be a plugin setting.
For version Alpha 3.7.6
Chocolate bar is not loading for me because the ".toc" file does not have a valid ##Interface section.
I downloaded the addon manually from Curse and the .toc file contains the following:
## Interface: @toc-version-retail@
## Interface-Retail: @toc-version-retail@
## Interface-Classic: @toc-version-classic@
## Interface-BCC: @toc-version-bcc@
In reply to fireymerlin:
Sorry should be fixed now I am adding the other releases and it got late :D