|
dependencies = "required-after:Forge@[" + ModInfo.MCF_MINVER + "," + ModInfo.MCF_MAXVER + ");required-before:RTG@[" + ModInfo.RTG_MINVER + "," + ModInfo.RTG_MAXVER + ")", |
|
acceptableRemoteVersions = "*" |
dependencies = "required-after:Forge@[" + ModInfo.MCF_MINVER + "," + ModInfo.MCF_MAXVER + ");required-before:RTG@[" + ModInfo.RTG_MINVER + "," + ModInfo.RTG_MAXVER + ")",
acceptableRemoteVersions = "*"
- The dependency on RTG needs to be such that APL can load on the client without also loading RTG (dedicated server play).
acceptableRemoteVersions = "*" is innappropriate for APL, because it is required on the client.
- APL loading server-side needs to verify the version of the RTG API.
- APL loading client-side needs to verify that it is the same version of APL running server-side (this check is, AFAIK, automatic by default upon connect).
Using after: with a correct version range is probably the best solution. The version of the RTG API should adhere to SemVer and the version range can block anything above the current major version. (ie: after:RTG-API@[1.2.3, 2.0.0))
Appalachia/src/main/java/appalachia/Appalachia.java
Lines 34 to 35 in a818549
acceptableRemoteVersions = "*"is innappropriate for APL, because it is required on the client.Using
after:with a correct version range is probably the best solution. The version of the RTG API should adhere to SemVer and the version range can block anything above the current major version. (ie:after:RTG-API@[1.2.3, 2.0.0))