Sponge Forge not recognizing my plugin

It says 15.0.1, I assume this is newer, how do I change this?

Its a drop down menu. So click on where it says 15 and then find the option for 8/1.8

Then pick that one that says “8 - Lambdas, type annotations ect.” ?

Yep thats the one.

After that make sure that the module hasnt overridden that option (click the module tab on the left and you will see a similar option - it may say “project” in which case its fine)

If both are on 8 it’s good?

Yep. If both are on 8 it means that it should compile in 8 and any future modules within that project should compile with 8 too (sorry needed 15 characters or more just to say yep)

Gotcha, thanks!

Though I got this error while trying to build:

java: error: release version 15 not supported

Right. Thats Intelij just being difficult. Try changing the following

  1. Press “Ctrl + alt + S” (takes you to settings)
  2. Click “Execution” on the left
  3. Click “Deployment”
  4. Click “compiler”
  5. click “Java Compiler”
  6. select the “project bytecode version”
  7. select 8/1.8

What thats doing is its forcing it to compile in Java 8. The settings before changes the code to error check in Java 8 as well as tells Intelij that it should compile in Java 8

That helped it compile, but now the server logs shows a bunch of errors and the server doesn’t load, it just crashes…

Here’s the log: Untitled - Pastebin
And here’s the crash report: Adhd - 5 Steps To Successful Living - Pastebin

Ah. Didnt catch this before.

Your plugin ID must be all lower case.

It works, thank you so much! :smiley:

1 Like