Soft dependency for mcMMO Horses plugin
mrfloris opened this issue ยท 8 comments
Spigot 1.13.2, latest version of this plugin
Would it be possible to recognize certain other plugins, like mcMMO horses, so that when they spawn their pet horse.. they can't grind it for heads, extra money etc?
They spawn the horse, grind it to death, repeat..
View attachment 389136
Plugin I am using:
https://www.spigotmc.org/resources/mcmmohorses.46301/
Hey there,
The vanilla behavior of Horses still works regardless of this plugin, additionally this plugin lets players type: /h claim, to get a horse to their name, if they tamed and saddled it.
At that point they can summon the horse to appear in the game, after which they can kill it. Once dead, at some point after reviving it, they can summon it again. Kill it again.. summon, kill, summon, kill .. And they get money and rewards for doing this killing through mobhunting.
If it somehow recognizes it's a claimed horse from that plugin, then killing the horse could not payout/reward, and then only vanilla horses are still killable.
If they ride their claimed horse, and kill players or other mobs, then that other mob should give the reward/money, that is fine yes.
I do not know about god mode for horses or the horse killing other mobs. Sorry. I have no answer for that. This is more about the player grinding their claimed horse for infinite rewards, horse heads, money, etc.
Hi mrfloris. Now I got some time to look at this. I dont know mcmmohorses, so you will have to help me here. From what I read at spigotmc, the player has to catch a horse first? or are they able to spawn a horse out of the air? I not sure how it works?
Hi again
I have basic integration to work now. We need to discus when the player get a reward for killing a McMMOHorse and when he doesn't.
-
If Horse dies permanently I guess its okay that the player get a reward?
-
What if the player kills another mob while riding his horse? Should I add a multiplier then ? f.ex. x0.9 because its easier to kill another mob while riding a McMMO horse ?
-
What if the Horse has godmode? and killes another mob?
I need your input!
Build 723 and never supports McMMOHorses.
https://fractal.lindegaard.one:8181/job/MobHunting/723/
Please help me with the testing.
I have adde to rules.
- You dont get a reward if you have "permanent-death: false" in McMMOHorses config.yml
- You dont get rewards for killing your own horses.
Fantastic, we're in the middle of an event right now, thank you so much for this. Once the event is over in 6 hours i have more time to test this and will report back. Very excited to try this.
It appears they can kill the horse, got no bag of gold for it (yay) and the head didn't drop (yay). The special kill progress does happen, and counts it as 1 / 100 horse kills (but I can live with that.. I guess, since there's a respawn cooldown that means they have to 100x cooldown just to level up.
It seems to work, they respawn the horse, kill it again, and kill streak 2/100, but no head dropped, no bag of gold dropped. So that's nice!