PlugMan

PlugMan

3M Downloads

Reverse command lookup

jonthesquirrel opened this issue ยท 6 comments

commented

It would be useful to have a kind of reverse /plugman usage.

/plugman lookup biomelist for example would tell me that the /biomelist command was registered by WorldEdit.

commented

Not a bad idea, trivial to implement as well - added with PR #24.

Jenkins build - http://ci.ryan-clancy.com/job/PlugMan/81/artifact/target/PlugMan.jar

Give that build a shot and let me know how it works. Remember to disable the updater when running dev. builds or it will pull the latest version from DBO on each restart.

commented

Awesome, it works well for most commands!
Although, it doesn't work for some commands and aliases. For example: it doesn't get WorldEdit commands or MyCommand custom commands, and it gets /ne but not /nte which is registered as an alias in plugin.yml of NametagEdit.

commented

I'll take a look at the alias issue over the next day or two, should be a fairly easy fix.

The WorldEdit issue stems from them not registering their commands in the plugin.yml and using their own dynamic command registration - not sure I want to poke around in their API and try for a fix when they're doing something non-standard.

commented

Support for doing a lookup by registered aliases has been added with PR #25.

Jenkins Build - http://ci.ryan-clancy.com/job/PlugMan/82/artifact/target/PlugMan.jar

A little bit delayed, but I'm in the thick of exam period - give this build a shot and let me know how it works.

commented

I'm seeing nothing wrong from the testing I've done - I've pushed this to DBO as version 2.1.0.

Closing.

commented

Yep, it works with aliased commands now! Thanks for adding it!