ConduitMC / Conduit

Next-Generation Minecraft server software.
https://conduit.systems
MIT License
7 stars 1 forks source link

Plugin incompatibility warnings #67

Open Innectic opened 3 years ago

Innectic commented 3 years ago

Similar to how the DependencyType system works, add an additional field for plugin names that ABSOLUTELY don't work together.

Use case:

A shop plugin is not compatible with another plugin that changes a ton of mechanics that it relies on.

@PluginMeta(
    name = "MyCoolShopPlugin",
    description = "Shops! Wow!",
    version = "0.0.1",
    author = "A Really Cool Dude",
    incompatibilities = { @Incompatible("AReallyBadPlugin") }
)
Innectic commented 3 years ago

Forgot to mention the similarity to DependencyType - This would also have a feature to say if it's just a warning, or a full-stop on the plugin load.