Download
(36Kb)
Download
Updated: 10-31-23 04:27 PM
Pictures
File Info
Compatibility:
Dragonflight (10.0.2)
Updated:10-31-23 04:27 PM
Created:12-13-08 08:08 AM
Downloads:35,590
Favorites:330
MD5:

NinjaPanel  Popular! (More than 5000 hits)

Version: v1.2.0-release
by: Cladhaire [More]

NinjaPanel... so sneaky you'll hardly know it's there

What is NinjaPanel?

NinjaPanel is a simple, easy-to-configure display for LDB data objects. If you're not familiar with LDB, it's a simple standard that addon authors can use to provide information to other addons without needing to write any code specifically for them. This is helping to break the fubar/titan stronghold by providing a standard flexible enough to let any addon display the information.

Okay, so what does it do?

NinjaPanel will display any LDB plugins you have installed. Currently it displays all of them, although options are forthcoming to disable the display for certain plugins. It also can provide you quick access to addon options and other configurations via "launchers", simple icons that sit on the panel. Most addons that provide minimap icons (which we all hate) also provide launchers. All plugins can be dragged around the panel to re-order them, so they're displayed exactly as you'd like them to be.

Where are the options?

There aren't currently many configuration options for this addon other than the ability to enable or disable specific plugins, but I wanted to get a release out to get some feedback from the community. You can expect the following options to be implemented at some point:
  • Display the panel on the top, bottom, left or right of the screen
  • Change the height/width of the panel
  • Customize data objects to hide the icon, text, etc.

So where do I get plugins?


You may be surprised at how many addons already provide some sort of LDB data object, but if you're looking for new ones to try out you can check the category listings at your favorite addon site:How did you manage to get TomTom Crazy Arrow in the panel

NinjaPanel introduces support for icon colors and coordinates using the following fields in the LDB data object:

iconR - The red component value of the color
iconG - The green component value of the color
iconB - The blue component value of the color
iconCoords - A table containing the texCoords to be set on the icon

I will soon expand iconCoords to support the 8-value version, as well as iconRotate to support arbitrary rotations using the new API.

These features are used in the latest version of TomTom to allow you to display the crazy arrow in NinjaPanel.

Anything else?

Please feed free to leave any suggestions or feedback! I'm interested to see what the community would like to see in a panel addon that I can easily provide.

Thanks for using my addons!

Donations:
Some people have asked, so here is a way to send me donations:

NinjaPanel
v1.2.0-release (2023-10-31)
Full Changelog Previous Releases
  • Add a simple gold tracking plugin
  • Remove stray print from debugging
  • Add support for plugin DBs
  • Fix that stupid bug
  • Attempt to fix an issue with init of CombatStats
  • Fix an issue with calling OnEnter for some tooltips
  • Fix for 10.1.0 PTR with removal of GetAddOnMetadata
  • Update TOC for 10.0.2
  • Don't require OnLeave to pick up OnEnter
  • Properly respond to inventory updates and register the new events
  • Some bug fixes for CombatStats
    - Re-compute the preferred stats when something major changes
    - Select the preferred stats using the raw values, not percentages
  • Fix some small issues with combat stats
  • Add a CombatStats plugin
  • Don't do split packaging when only one version
  • Update curseforge project id
  • Fix config registration on retail
  • Prepare for packing
  • Add and configure Luacheck
  • Create README.md
  • Re-add config to enable/disable plugins
  • Update for 1.0x (ish)
  • Update TOC for 6.1.x
  • Update LibJostle
  • Update TOC for 4.3
  • Update .TOC
  • Update to LibJostle-3.0-v40000
  • Convert svn:ignore properties to .gitignore.
  • Updated LibJostle to be compatible with 3.3.5
  • Hide the tooltip when a plugin is clicked
  • Fix a bug when an icon is set to nil, or set to a texture from nil
  • Updating TOC for 3.3
  • Update LibJostle to fix the buff movement
  • Interface version update
  • Show which feeds are launchers in the configuration UI
  • Actually display disabled plugins in the configuration dialog
  • Show tooltips for plugins that don't define any
  • Setting eol-style, bumping .TOC and providing support for data feeds that dynamically change their type
  • Updated version of LibJostle-3.0
  • Added a nil bailout in UpdatePlugin (bad mikma)
  • * Fix for moving the panel to the bottom instead of the top.. kind of
  • Fixed detach bug when disabling a new plugin
  • Fixed an error caused by custom Data Objects
  • Fixed the bad SV bug
  • Fixed tooltip bug with bad type lookup for disabled plugins
  • Fixed a bug with scrolling offset on the config screen
  • Undoing bad development branch code to start with a clean slate
  • * Commiting some broken code that I plan to back out
  • * Ensure that the scroll bar works on longer addon lists
  • * Fixed the issues with scrolling on enable/disable window
  • * Added basic configuration panel that allows you disable/enable plugins. Requires reload and may not work properly.
    * Added support for AddonLoader delayed loading
  • * Make sure to call using NinjaPanel instead of self in the context of the panel
  • * Act properly with regards to tooltip metadata, refactored handling code a bit
  • Added a development mode to assist in getting multiple bars working correctly
  • * Don't error if jostle can't be loaded
  • * Add support for the tooltip attribute
  • * Add checks for self.db.plugins[name].disabled
  • * Initialize db.plugins and sb.panels
  • * Added cases for the On<X> handlers in UpdatePlugin, so we can set them whenever they are changed
  • * Set wowi:dirname property so addon is properly packaged
  • * Fix an issue when reporting an unknown data object type
  • * Setting eol-style to native
  • Initial import from git repository
  • Creating inital directory structure
Beta Files (1)
File Name
Version
Hits
Size
Author
Date
r26
1,788
30kB
Cladhaire
04-17-09 09:08 AM


Archived Files (8)
File Name
Version
Size
Author
Date
v1.1.7-release
35kB
Cladhaire
05-20-23 03:30 AM
v1.1.6-release
35kB
Cladhaire
04-01-23 04:57 AM
v1.1.5-release
35kB
Cladhaire
01-12-23 02:13 PM
v1.1.4-release
35kB
Cladhaire
10-29-22 02:27 AM
v1.1.3-release
35kB
Cladhaire
10-29-22 02:23 AM
v1.1.2-release
34kB
Cladhaire
10-28-22 02:02 PM
v1.1.1-release
34kB
Cladhaire
10-28-22 06:38 AM
v1.1.0-release
29kB
Cladhaire
10-27-22 08:30 AM


Post A Reply Comment Options
Unread 10-27-22, 08:33 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Surprise update! Welcome back everyone!
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 10-14-20, 05:46 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi all,

here is a fixed version for v.9.0.1.

https://app.box.com/s/qwt09hxqpauhzq741p129ipflcdlndwt

I hope author continue to support this addon because it is great
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 04-03-20, 01:09 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Originally Posted by gmarco
I want only to say that I tested it and it still works with patch 8.2 in 2019


This is what I did:

1) Updated the libs with the latest from wowace (LibJostle-3.0, LibStub, LibDataBroker-1.1).

2) Downloaded the latest tekKonfigAboutPanel from github and modified the line 77 in this way:
Lua Code:
  1. subtitle:SetPoint("RIGHT", title, -32, 0)

3) Commented the line 762 in NinjaPanel.lua:
Lua Code:
  1. -- PlaySound(enabled and "igMainMenuOptionCheckBoxOff" or "igMainMenuOptionCheckBoxOn")

The bar texture is a little greenish but it could be accepted
It is a pity it lacks the "center" plugin position

To remove the greenish ...

change the SetTexture with SetColorTexture in the following line:

85,90,103,108,122,127,137,142

Lua Code:
  1. @@ -85 +85 @@
  2. -       panel.bg:SetTexture(1, 1, 1, 0.8)
  3. +       panel.bg:SetColorTexture(1, 1, 1, 0.8)
  4. @@ -90 +90 @@
  5. -       panel.border:SetTexture(1, 1, 1, 0.8)
  6. +       panel.border:SetColorTexture(1, 1, 1, 0.8)
  7. @@ -103 +103 @@
  8. -       panel.bg:SetTexture(1, 1, 1, 0.8)
  9. +       panel.bg:SetColorTexture(1, 1, 1, 0.8)
  10. @@ -108 +108 @@
  11. -       panel.border:SetTexture(1, 1, 1, 0.8)
  12. +       panel.border:SetColorTexture(1, 1, 1, 0.8)
  13. @@ -122 +122 @@
  14. -       panel.bg:SetTexture(1, 1, 1, 0.8)
  15. +       panel.bg:SetColorTexture(1, 1, 1, 0.8)
  16. @@ -127 +127 @@
  17. -       panel.border:SetTexture(1, 1, 1, 0.8)
  18. +       panel.border:SetColorTexture(1, 1, 1, 0.8)
  19. @@ -137 +137 @@
  20. -       panel.bg:SetTexture(1, 1, 1, 0.8)
  21. +       panel.bg:SetColorTexture(1, 1, 1, 0.8)
  22. @@ -142 +142 @@
  23. -       panel.border:SetTexture(1, 1, 1, 0.8)
  24. +       panel.border:SetColorTexture(1, 1, 1, 0.8)




It's a pity it lacks of the "center" plugin position otherwise it should be very nicely.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 09-06-19, 02:48 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
I want only to say that I tested it and it still works with patch 8.2 in 2019


This is what I did:

1) Updated the libs with the latest from wowace (LibJostle-3.0, LibStub, LibDataBroker-1.1).

2) Downloaded the latest tekKonfigAboutPanel from github and modified the line 77 in this way:
Lua Code:
  1. subtitle:SetPoint("RIGHT", title, -32, 0)

3) Commented the line 762 in NinjaPanel.lua:
Lua Code:
  1. -- PlaySound(enabled and "igMainMenuOptionCheckBoxOff" or "igMainMenuOptionCheckBoxOn")

The bar texture is a little greenish but it could be accepted
It is a pity it lacks the "center" plugin position

__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 09-06-19 at 02:49 AM.
Report comment to moderator  
Reply With Quote
Unread 03-14-17, 05:23 PM  
Cluey
A Fallenroot Satyr

Forum posts: 26
File comments: 95
Uploads: 0
Originally Posted by Cladhaire
It works out of the box, but you can go to TomTom -> Crazy Arrow and enable the Crazy Arrow feed. The arrow and the text beyond the arrow will appear in NinjaPanel after reloading your UI.
Hi again.
I'm not having much luck with this.
It works after the initial set up but when I log back in and set a new way point the LDB doesn't change.
If I disable, it in TomTom /reload, re-enable it and /reload it works again.

Also my bar is green too, unlike the pictures. Being a druid that isn't a show stopper, it fits the druid class hall theme, it's very green in there.

There was a change from Blizzard which caused another mod I use to have green where we expected white, here's the Githib commit which fixed it for that mod.
I figure this is more helpful than me trying to summarise what changed, I'm bound to screw that up.

Edit. I decided to try what Brusalk did there for NinjaPanel.lua, I just did a find and replace on SetTexture with SetColorTexture. When I logged in I got an error on line 264, so I reverted that one. Following reload got me an error on line 430, once again I reverted that one and reloaded the UI again.
Sinice then I've had no errors, so far at least, and it looks like the first screenshot on the info page.
Last edited by Cluey : 03-18-17 at 06:17 AM.
Report comment to moderator  
Reply With Quote
Unread 02-15-17, 11:45 AM  
Cluey
A Fallenroot Satyr

Forum posts: 26
File comments: 95
Uploads: 0
Is this possible?

Hi Cladhaire,
I've just switched to this from Fortress while trying to track down what might be causing a random LUA error I get sometimes. It isn't always the same addon which gets the blame so I'm grasping at straws a bit. However Fortress hasn't been updated in a long time so I thought it might be a good starting point.

I noticed that this hasn't either but I recognise your name and have it in my mind that you wouldn't have not updated it if it didn't work, it's just not your style!

As the previous poster asked, is it possible to get it to recognise when we're in a class hall and drop down the height of the class hall bar height?

Also is it possible to add spacers to things aren't up against the right or left of the screen?
Report comment to moderator  
Reply With Quote
Unread 09-02-16, 02:44 PM  
Acidfrost59
A Kobold Labourer
 
Acidfrost59's Avatar

Forum posts: 0
File comments: 1
Uploads: 1
Class order Halls

Thank you so much for the Ninjapanel. I didn't start using it until late into WoD and it has become an integral part of my UI.
Recently ran into an issue with the class hall information covering up NinjaPanel feed. I am not an expert by any means, but is there a way to get the feed from the Class Halls to show up on NinjaPanel?
Thank you for your help.
Report comment to moderator  
Reply With Quote
Unread 08-05-16, 12:44 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
There haven't been any code changes, so I'm not sure why it would do that..
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 08-04-16, 10:41 PM  
todd3835
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 89
File comments: 28
Uploads: 1
Does anyone know why NinjaPanel has a green tint/glow to it now? I didn't see any settings I could use to change it.
__________________




People with OCD (Or CDO in Scott's Case) prefer nUI+! Find it at www.nuiaddon.com
Report comment to moderator  
Reply With Quote
Unread 03-20-13, 07:56 PM  
hoslam1
A Murloc Raider
 
hoslam1's Avatar

Forum posts: 4
File comments: 27
Uploads: 0
please come back to us !!!!!
Report comment to moderator  
Reply With Quote
Unread 12-18-12, 11:50 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
It works out of the box, but you can go to TomTom -> Crazy Arrow and enable the Crazy Arrow feed. The arrow and the text beyond the arrow will appear in NinjaPanel after reloading your UI.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 12-18-12, 07:00 PM  
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 219
File comments: 158
Uploads: 3
NinjaPanel and TomTom

I was under the impression that Tomtom had the option to place things on the NinjaPanel (like the waypoint pointer that's normally in the center of the screen). I have both addons installed and can't figure out how to make them work together. Can someone provide me with some instructions? Thanks!
Report comment to moderator  
Reply With Quote
Unread 09-30-12, 06:05 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
I'll gladly do that if you wish to be kicked out of Sweden, there's still room in Finland for you
Originally Posted by Cladhaire
You want to write my thesis? Find a new flat? Handle the bureaucracy? =)
Report comment to moderator  
Reply With Quote
Unread 09-25-12, 08:51 PM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
Originally Posted by Cladhaire
You want to write my thesis? Find a new flat? Handle the bureaucracy? =)
Flat and bureaucracy, no.
Thesis, what's it about? Perhaps we *can* lend a hand
Report comment to moderator  
Reply With Quote
Unread 09-25-12, 07:53 PM  
Zorklat
A Deviate Faerie Dragon

Forum posts: 13
File comments: 62
Uploads: 0
Mikma, pay attention!
Originally Posted by Cladhaire
Yes once I move to Sweden and sort my new life out!
__________________
Play World of Warcraft Free from Windows!
Last edited by Zorklat : 09-25-12 at 07:54 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: