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.
-
View User Profile
-
Send Message
Posted Feb 27, 2022.
-
View User Profile
-
Send Message
Posted Mar 4, 2022In 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.
-
View User Profile
-
Send Message
Posted Mar 14, 2022In reply to DarkLimpan:
As a temporary measure you should be able to change this on L67 of CB_PlayedTime.lua
From:
To:
-
View User Profile
-
Send Message
Posted Mar 15, 2022In 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.
-
View User Profile
-
Send Message
Posted Mar 18, 2022In reply to DarkLimpan:
Hmm strange that should fix it. Try the new version and let me know if you still have the error.
-
View User Profile
-
Send Message
Posted Mar 23, 2022In 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:
if not server or server == "" then server = GetNormalizedRealmName() or "" end if not name or name == "" then name = UnitName("player") end return string.format("%s-%s", name, server)-
View User Profile
-
Send Message
Posted Mar 23, 2022In 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.
-
View User Profile
-
Send Message
Posted Mar 24, 2022In reply to kazso2:
This seems to fix things for me on retail. Thanks. :)
-
View User Profile
-
Send Message
Posted Mar 18, 2022In reply to DarkLimpan:
Should be fixed now.
-
View User Profile
-
Send Message
Posted Mar 19, 2022In 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"
-
View User Profile
-
Send Message
Posted Mar 21, 2022In 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.
-
View User Profile
-
Send Message
Posted Mar 25, 2022In 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.
-
View User Profile
-
Send Message
Posted Nov 16, 2021Hello,
Bar wouldn't show since patch 9.1.5. Anyone got fix for it please?
Ty in advance.
-
View User Profile
-
Send Message
Posted Oct 3, 2021Some 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.
-
View User Profile
-
Send Message
Posted Sep 30, 2021For 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@
-
View User Profile
-
Send Message
Posted Oct 1, 2021In reply to fireymerlin:
Sorry should be fixed now I am adding the other releases and it got late :D
-
View User Profile
-
Send Message
Posted Oct 1, 2021In reply to miarenn:
That fixed it. Thanks.
-
View User Profile
-
Send Message
Posted Sep 23, 2021I posted this in the "issues" tab but wanted to list it here also.
I have the problem that the bottom action bar moves down "back to it's original location" during combat and after taking a flight master.
I have a top and bottom ChocolateBar.
The bottom action bar moves "back up" after leaving combat or when the flight is finished.
I have the same issue with Bazooka and Titan Panel, so I'm not sure there is anything to be done.
I like ChocholateBar over Titan panel for several reasons including: Titan Panel is thowing a lua error if I have a hunter or warlock pet out when I take a flight path. ChocholateBar does not have that problem.
Another question: How can I make the fonts bigger? I tried using the "Fonts and Textures" but I don's see any change in the size.
thanks.
-
View User Profile
-
Send Message
Posted Sep 23, 2021Thanks, Miarenn. :)
-
View User Profile
-
Send Message
Posted Sep 22, 2021If the message "ChocolateBar debug: ChocolateBar ChocolateBar:IsRetail() true" on logon bugs anyone else, you can comment out the line below, in two places (lines 78 and 80) by placing double dashes ("--") in front of the lines. Like this:
-- ChocolateBar:Debug("ChocolateBar:IsRetail()", ChocolateBar:IsRetail())