steven4547466/LC-API

[FR] `NetworkCompatability` Attribute

Opened this issue · 0 comments

Inspired by Jotunn's feature.

See their docs on it.

Essentially, provide an attribute to developers that can be used like so:

[NetworkCompatibility(CompatibilityLevel.EveryoneMustHaveMod, VersionStrictness.Minor)]
internal class TestMod : BaseUnityPlugin
{
  ...
}

(example from Jotunn docs)

At runtime, multiplayer lobby compatability can be determined using NetworkCompatability attributes of installed mods, and usefully displayed to the local player.
An option could also be provided to lobby hosts to 'require compatible modlists', i.e. automatically deny players that have incompatible mods installed.