Sponge plugins help

So I was wondering if there was a way to run newer sponge plugins with older versions of sponge. I am using sponge 3.1.0 because this is the only sponge that will work with forge 1722. I have to have that specific forge because it is the specific one that will work with pixelmon 4.2.3. Any help is greatful, thanks!

Er, I am running Forge 1763 with that very version of Pixelmon, and that means spongeforge 1225.

Imo it would be up to the plugin developer to backport updates for older versions of Sponge.

1 Like

What you’ve got to do is look at the SpongeAPI compatibility level.
If a plugin says it works for 3.0.0 then it will work for 3.0.1, 3.1.0, 3.2.0 and so on.
If you have an implementation of 4.x.x then there’s no guarantee that the plugin would work.
The API versioning scheme follows ‘semantic versioning’ (http://semver.org/) which defines how these numbers represents compatibility.

1 Like

some explanation to what simon said:

  • a plugin built against API 3.0.0 will work on any 3.x implementation
  • a plugin built against API 3.1.0 may or may not work on 3.0.0
  • a plugin built against API 3.x may or may not work on 4.x
  • a plugin built against API 4.x may or may not work on 3.x (likely not!)

SemVer:

  • first digit is raised: breaking change between versions
  • 2nd digit: only feature additions
  • last digit: only bugfixes

When a 3.1.0 plugin makes use of features that aren’t available on 3.0.0, it won’t work.
Same for 4.x plugins on 3.0 and vice versa.
A 3.0.0 plugin will work on any 3.x version that is newer than 3.0.0 (3.1.0; 3.0.5,…)


We also covered that on the docs:

https://docs.spongepowered.org/master/en/contributing/versioning.html?highlight=semver#semver

1 Like

So is there any way to get sponge 4.x.x to work with my version of forge?

There’s a small chance that a mismatched version of SpongeForge will run on another version of Forge. But that’s unsupported and not recommended. Just try it on a local testserver :wink:

You can also try to mismatch Forge and Pixelmon (running a newer Forge+SpongeForge version) while keeping the older Pixelmon version.

I just used the most updated sponge and the correlating forge. It works, I am having some weird crashes but I am going to fix them, thanks!

2 Likes