PhatLoots icon indicating copy to clipboard operation
PhatLoots copied to clipboard

MythicMobs support

Open infered5 opened this issue 9 years ago • 6 comments

I'd really like a way for this plugin to have support for MythicMobs, not to be confused with MythicDrops. MythicMobs is almost identical to MythicDrops as far as the custom items goes, but MythicMobs items can be dropped from MythicMobs custom mobs, which is used by hundreds of servers and is incredibly powerful. Please take a look into it, MythicMobs' website is http://mythicmobs.net

infered5 avatar Aug 30 '16 23:08 infered5

What kind of support are you looking for? Just supporting custom items from MythicMobs? Or more?

Codisimus avatar Sep 01 '16 01:09 Codisimus

Mostly just the MythicMobs items, since most servers that use MythicMobs will use the item support there as opposed to using a separate custom item plugin. I've found a workaround for spawning the item and adding it from my hand to the chest, but some official support would be very appreciated.

infered5 avatar Sep 01 '16 03:09 infered5

So from what I understand, each MythicItem has a unique ID or some sort of name? So a command such as /loot add mythic <id> should be sufficient, right?

Codisimus avatar Sep 02 '16 00:09 Codisimus

Essentially, yes. Each MM item must have a unique ID, case sensitive. Maybe add a config line for gaining Mythic items as opposed to regular items too so it can have a special message appear. MM items gotten through commands are /mm items get UniqueID, so the UniqueID is what you would want to add.

infered5 avatar Sep 02 '16 01:09 infered5

I attempted adding support for MythicMobs. You should see the '/loot add mm' command if you have the plugin installed. I can't test it myself at the moment because I don't have the plugin set up myself.

Codisimus avatar Sep 03 '16 02:09 Codisimus

Does not work, when you get a chance test it around, there may be an API miscode or a forgotten addition to CommandHandler.java. I did notice that MythicMobs is not included in the softdepend node of plugin.yml alongside MythicDrops, Vault etc. It may be as simple as including that and recompiling.

infered5 avatar Sep 15 '16 19:09 infered5