DemigodsRPG / Demigods3

The (now defunct) Demigods RPG experience for survival/PvP Minecraft servers.
http://www.demigodsrpg.com/
MIT License
4 stars 2 forks source link

Plugins that depend on Demigods should all load before Demigods begins to load at all. #188

Closed HmmmQuestionMark closed 10 years ago

HmmmQuestionMark commented 10 years ago

This is as easy as getting the plugin list, checking each plugin for a depend, and then waiting until all depend plugins are loaded (in a sync delayed task that recreates itself if conditions are not met).

Potentially create a DemigodsEnableEvent or similar to signal to depend plugins when it is okay for them to interact with Demigods data.

whirlwindwinter commented 10 years ago

Would a server take a lot longer to load up?

alexbennett commented 10 years ago

The difference would be negligible.

whirlwindwinter commented 10 years ago

Nice, seems like something that would help with a lot of servers that uses a lot of plugins with this one. I like it.

HmmmQuestionMark commented 10 years ago

Just a note: Half of this is implemented already, in the form of forcing plugins that depend 100% on DG to be placed into plugins/Demigods/plugins.

alexbennett commented 10 years ago

This has been addressed with the completion of HQM's Mythos service.