Mtihc / TreasureChest

The TreasureChest plugin for CraftBukkit
dev.bukkit.org/server-mods/treasurechest
10 stars 39 forks source link

Hook into EpicBoss plugin #60

Open Mtihc opened 11 years ago

Mtihc commented 11 years ago

Copied from comment on dev.bukkit.org by http://dev.bukkit.org/profiles/MedievalMinecrafters/

i was thinking, Maybe a lot of work, but hook this plugin up with epic boss, because my server uses it intensely to where, if you kill a boss, a treasure chest would spawn in a location set, with random loot, but also, if i were to set a chest, could i set various drops so like if you click on it once, example you would get 3 sticks a sword and boots, then wait 5 minutes click on it again and there is food wheat and a potion? could this do this, like make it so i can randomize what spawns, but not like /tr randomise where it spawns what ever but to where i can make what i want to spawn inside? if this makes sense :/ i tryed to explain this as best as possible but it is late where i live so im tired? pls help

Mtihc commented 11 years ago

Related comment https://github.com/Mtihc/TreasureChest/issues/52#issuecomment-21702812

Mtihc commented 11 years ago

The problem is, when I hook into another plugin. That means I create a new dependency between TreasureChest and that plugin. This means... more bugs.. more updates... more crap. I get more requests like this. For different plugins. Where does it end?

I think it's better if somebody makes a new plugin, to link TreasureChest and EpicBoss together. That way, it will not break TreasureChest, when EpicBoss breaks.

AlanGreyjoy commented 11 years ago

hmmm, so... a 3rd plugin, would hook into treasurechest, then hook into epicboss, and then spawn that chest form treasurechest into epicboss?

Sounds crazy lol... but... It would make; making the 3rd plugin a piece of cake then. I'll see what I can do

AlanGreyjoy commented 11 years ago

Wait wait... this is pointless right now. EpicBoss is being 100% redone lol.

We'll have to wait until he is done with the new version of epicboss (gold)

Mtihc commented 11 years ago

That partially proves my point. I would just be adding more stuff that needs to be maintained. I don't like hooking into other plugins. TreasureChest hooks into WorldEdit and Vault. But those two plugins are exceptional. I think they need no explenation.

Mtihc commented 11 years ago

I created the Reward API inside TreasureChest. It was meant for things like this. I was hoping you "the people" would use it and create hooks with other plugins. And stuff like that.

I'm not sure yet, where I stand on hooking into plugins. Within the Reward system. I guess it's acceptable.