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.
https://github.com/agentschmitt/ChocolateBar/
This is the best working version of it for now, mouseover tooltips work, dragging/moving icons work. There might be issues I haven't discovered during gameplay yet.
All it is is doing the fix mentioned in my previous post, but to all `CreateFrame` calls in the script.
In reply to pojiet:
Ty postin this. Does it push the rest of the interface down for you?
The "buffs" like the mounted state, what weekly bonus is ongoing etc won't get pushed down to me so they actually overlap the bar. :/
In reply to pojiet:
Ty postin this. Does it push the rest of the interface down for you?
The "buffs" like the mounted state, what weekly bonus is ongoing etc won't get pushed down to me so they actually overlap the bar. :/
In reply to Forge_User_23781661:
Haven't checked, I have bar at bottom and my UI is designed around that.
Noticed some LDB brokers don't work, in the cases I checked it's the broker that's broken not ChocolateBar however.
Some displays can't be moved/crashes the bar when attempted to move.
I think alot of addons need updates for SL :)
I was able to get this version working by taking " ChocolateBar-3.4.zip" from its releases section, then pasting in the libs from the 3.3.5 version that's on CurseForge. It doesnt' seem 100% correct; some of my old config is missing. But mouseovers and clicks and stuff seem to work.
Hopefully the owner of the project can integrate those fixes and post a proper release to CurseForge soon.
In reply to NelsonMinar:
Not for me. No matter what fix I try it shows no bars at all.
In reply to pojiet:
That fixed it-- thank you!
In reply to pojiet:
Dosen't work for me, even when it's the only addon I use. What am I to do? :-/
Fix courtesy of aznamir over in the Bazooka comments. So far hasn't blown up on me but YMMV/caveat emptor/etc. Frame-level stuff's outside my area of nominal familiarity. (Edited to be more backwards/sidewards/whatever compatible, I don't think it matters on live tho'?)
Open up ChocolateBar\Bar.lua, go to line 30. It should be the following:
local frame = CreateFrame("Frame",name,UIParent)
Replace it with this:
local frame = CreateFrame("Frame", name, UIParent, BackdropTemplateMixin and "BackdropTemplate")
In reply to Veyska:
This worked. TYVM!
In reply to Veyska:
This worked. TYVM!
In reply to Veyska:
Thank you!!
The correct fix is:
local frame = CreateFrame("Frame",name,UIParent, BackdropTemplateMixin and "BackdropTemplate")
In reply to spiralofhope:
It doesn't work for me. Any ideas?
I have even tried to have the bars as the only addon. :-/
In reply to spiralofhope:
I tried this and the other one posted above - neither worked. I'm not sure if there is something else interfering with it but this is the error I end up getting
41x ChocolateBar\Bar.lua:209: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: ?
[string "@ChocolateBar\Bar.lua"]:209: in function `ShowAll'
[string "@ChocolateBar\Bar.lua"]:54: in function <ChocolateBar\Bar.lua:52>
Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"
= <function> defined =[C]:-1
Another user has been working on additional changes here:
https://github.com/the-rebel-Mermaid/ChocolateBar/pull/3 https://github.com/the-rebel-Mermaid/ChocolateBar/pull/3/commits/763d86936f3a76c96552e1d247a681f4e2d8845c
In reply to spiralofhope:
doing these fixes, made all of it work, thanks.
In reply to Veyska:
This is not a fix, nothing works but the name of the addons on the bar.
This only allowed the chocolatebar to show up on screen. We can not move or adjust anything that shows on the bar. Highlighting the addons on the bar also do nothing.
IT will work until you drag to rearrange the add-on's on the bar. Once you try to drag them, they do not move and it then breaks ChocolateBar until you /reload.
In reply to Veyska:
This worked, but as Khedrak says I cant move any brokers around on the bar. Some things like autohide or font size works though.
In reply to Xe4ro:
How did you make it work. I have replaced line 30 as mentioned. It does nada, not even showing non-functioning bars.
I don't want to change to Titan or such.