Code Monkey home page Code Monkey logo

mbb's Introduction

Minimap Button Bag Reborn (MMB Reborn)

Summary

MBB reduces minimap buttons and makes them accessible through a pop out menu. Click the MBB button to expand the menu and display the buttons. Each button that is collapsed into the menu can be reattached to the minimap with Ctrl + Right Click. The MBB button can also be detached from minimap with Ctrl + Right Click.

Hot Key

Ctrl + Right Click - detach / reattach a minimap button

Slash Commands

/mbb - shows the MBB commands /mbb buttons - shows a list of all rfames in the MBB bar /mbb reset position - resets the position of the MBB button /mbb reset all - resets the MBB settings

Authors

The past version of MBB lost the author's support which motivated me to fork the project and support it. From what I can see in the source code the former maintainers and creators are karlsnyder and vallantv. Many thanks to them for the idea and awesome project.

mbb's People

Contributors

cosmiccleric avatar hollicsh avatar iknewone avatar ljosberinn avatar pereira-a avatar theredbull avatar vallantv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mbb's Issues

Support SexyMaps addon show on hover feature

It was reported that the MBB icon is not hidden by the SexyMaps addon. After installing this addon I can see that MBB is nor shown in the SexyMaps > Button > Visibility > Addon Buttons.

Screenshot_2

Addon not working since last update

Since last 4.0.7 update, the addon is breaking all the minimap section, I am not able to click the minimap buttons and the minimap isn't loading
Getting back to previous version is working

MBB Reborn will not work

MBB does not appear on the minimap even though WoW says it is loaded. I am using ElvUI and Sexymap. I have tried turning Sexymap and all ElvUI addons off but stil no button.

MBB Blocks MiddleButton Clicks

Addon buttons that utilize middle click functionality for OnClick function from LDB are not able to use any buttons other than Left and Right Clicks since MBB overloads RegisterForClicks function with

Line: 348 MBB.lua:

	if( buttonframe ) then
		if( buttonframe.RegisterForClicks ) then
			buttonframe:RegisterForClicks("LeftButtonDown","RightButtonDown");
		end

Please modify to either AnyDown or at least for MiddleButtonDown which should cover most of the button cases for pretty much any addon.

Support for square minimap

Hi,
I'm the current maintainer of Mappy addon. Its main feature is the square shape of the minimap.

I've received a bug report recently asking me to add support for MBB, which I did, but in the process I've noticed that MBB does not respect Mappy's square shape. It moves in a circle, respecting only Mappy's size, but not shape. Mappy is not doing anything to addon buttons in this configuration, so it doesn't seem to be at fault. I've quickly looked at MBB's code and didn't find anything related to shapes, so I think it's MBB that doesn't support other shapes than default blizz circle.

Mappy and many other minimap addons are providing a global GetMinimapShape() function that can be used by other addons to calculate how the button should move to still respect the minimap's shape. Libraries dedicated to generating buttons have this functionality already baked in, they check for GetMinimapShape() automatically. One such library is LibDBIcon-1.0.

If you decide to support square minimaps, I think the best approach would be to just use LibDBIcon to generate MBB's icon. I saw an issue requesting exactly that, could kill two birds with one stone - #23

I'm ofc ready to help and discuss this further. I might have misunderstood how MBB is doing its thing (I'm bad at reading XML lol). But I really think it just doesn't support square stuff.

If you want to reproduce this on your end:

  1. Download Mappy version 4.5.2b (beta release) - https://www.curseforge.com/wow/addons/mappy-continued/files/4095698
  2. Go to Mappy options (/mappy), open Buttons tab, disable "Auto-arrange addon buttons".
  3. Move MBB icon - it will move in a circular motion, ignoring the minimap's square shape.

Example addon that uses LibDBIcon to generate their buttons - BugSack (it requires BugGrabber to be installed as well)

There are a few comments under Mappy about this issue, if you want to read them.

Dungeon Finder hidden

Hi,
Im not sure why but my Dungeon Finder is hidden under the MBB. I'm using ElvUI as the only modification for my minimap. Would it be possible to put it on an ignore list please?

Thank you.

Icons outside of MBB

Hello, this is great and I really appreciate that you have taken the time to create such a useful and needed addon however it doesn't appear to work properly... there are several icons it appears to be incapable of detecting such as the button for AllTheThings and Detals!.

Implement different visuals to minimap icon

For the new addon version, I implemented a more modern icon visual. This was motivated by the strange icon image of the older version and to give a sense of parenthood to the MBB icon.

Although, I think it would benefit to implement commands or add to the menu an option to change between the two visuals. This gives the user more option to customize the visual to his taste.

[Question] Classic version?

Hey, coming in hot from ClassicLand, any chance you'd be interested in making a Classic-Friendly version of this addon?

Add LibDBIcon library to MBB

Could you please add the library LibDBIcon to the MBB so we can use it with other addons? Thank you very much.

Dungeon / Battleground Queue button under MBB since today

The green dragon eye that pops up on the minimap for dungeon or bg / arena queues now also seems to be getting grouped under MBB. This makes it hard to see if you're queued or not + it also makes the LFD button functionality itself no longer work.

Not follows the minimap's border

The button just makes a circle that it's smaller than the minimap, passing through the middle of the minimap and very outside of it.
Screenshot_107
Screenshot_108

WOTLK support?

Any chance of adding support for wotlk classic? Thanks!

Minimap buttons to ignore by default

If it's not too much trouble, would you mind adding the following 3 items to the default ignore listing within MBB.lua ? If not ignored, they alter or interrupt functions of that addon.

[46] = "DugisArrowMinimapPoint1",  --Dugi Guides arrow
[47] = "DugisArrowMinimapPoint2",  --Dugi Guides arrow
[48] = "DugisArrowMinimapPoint3"  --Dugi Guides arrow

Thank you very much for keeping this addon going!

Eric

Minimap buttons to ignore by default

I've just run across another couple of icons that get pulled into the bag. Would you mind adding the following items to the default ignore listing within MBB.lua? On the same hand, is it possible to ignore the text and allow a wildcard for the number? The string that Dugi uses for all of their map objects seems to stay consistent, they just increase the number at the end as needed.

DugisArrowMinimapPoint4
DugisArrowMinimapPoint5

Thank you for keeping up with the addon.

Bag Sync Addon

I can't get the Bag Sync Addon to go into MBBR.

Thank you so much for your work on this project! You are a hero!

MBB Classic

Would you like to take over MBB for classic as well as you have started maintaining a fork of MBB? I'd be more than happy to give you ownership of the repo and curseforge project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.