Where to put Sponge plugins

I downloaded the latest developmental version of Sponge and I got Sponge up and running. Now I need to know where to place plugins. I’ve tried placing them in the mods folder, but nothing happened. How to I resolve this?


If placing them in the mods/ folder didn’t work, why not provide a little more info? Logs, for instance? The plugin itself? There are many factors, and you don’t describe anything in detail.

I read it, but it Sponge doesn’t seem to recognize it. Therefore nothing about the plugin is in the logs.

Again, what plugin? The issue is most likely with the plugin itself. Help us out here, man.

First of all, this plugin is private, so therefore I can’t show you everything…

My Code here

I followed the structure of the main plugin class. Do you think it is a problem with the Sponge coremod itself?

There are no issues with the coremod with loading plugins right now. It has to be something with your plugin, forge installation, or some other local issue

The Plugin annotation’s id isn’t supposed to be your package or groupId. Though, I don’t believe that would cause the plugin to not show at all.

/me shrugs

It looks as though it should load to me. As @Zirconium has ninja’d me and said, it could be a number of factors, but the coremod itself is functioning fine. Although, again, you lack of information is making this difficult to diagnose.

Could you give us any freaking information? What build of Sponge are you using? Forge? Java? C’mon, man.

I use the latest versions of Sponge (Latest Build), Forge (Latest Build), and Java 1.7. I’m always up to date… (Except for Java)

Considering that Sponge and Forge both update frequently, and we have no idea when you did this implementation, could you humor us and provide exact numbers? Literally, my questions would be answered if you provided the server logs.


Sheesh Nothing unusual. I know Sponge is running because of the files it generated in the config folder…

[18:44:39] [Server thread/INFO]: Starting minecraft server version 1.8
[18:44:39] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_31]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_31]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_31]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_31]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_31]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_31]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_31]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_31]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_31]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_31]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_31]
at pq.run(SourceFile:80) [minecraft_server.1.8.jar:?]
[18:44:39] [Server thread/INFO]: Loading properties
[18:44:39] [Server thread/INFO]: Default game type: SURVIVAL
[18:44:39] [Server thread/INFO]: Generating keypair
[18:44:39] [Server thread/INFO]: Starting Minecraft server on *:25565
[18:44:40] [Server thread/INFO]: Preparing level “world”
[18:44:40] [Server thread/INFO]: Preparing start region for level 0
[18:44:41] [Server thread/INFO]: Preparing spawn area: 55%
[18:44:41] [Server thread/INFO]: Done (1.421s)! For help, type “help” or “?”
[18:56:19] [Server thread/INFO]: Stopping the server
[18:56:19] [Server thread/INFO]: Stopping server
[18:56:19] [Server thread/INFO]: Saving players
[18:56:19] [Server thread/INFO]: Saving worlds
[18:56:19] [Server thread/INFO]: Saving chunks for level ‘world’/Overworld
[18:56:19] [Server thread/INFO]: Saving chunks for level ‘world’/Nether
[18:56:19] [Server thread/INFO]: Saving chunks for level ‘world’/The End
[18:56:19] [Server Shutdown Thread/INFO]: Stopping server
[18:56:19] [Server Shutdown Thread/INFO]: Saving players
[18:56:19] [Server Shutdown Thread/INFO]: Saving worlds
[18:56:19] [Server Shutdown Thread/INFO]: Saving chunks for level ‘world’/Overworld
[18:56:19] [Server Shutdown Thread/INFO]: Saving chunks for level ‘world’/Nether
[18:56:19] [Server Shutdown Thread/INFO]: Saving chunks for level ‘world’/The End

Looks like you don’t have Forge installed or you’re running the plain MC server jar rather than the Forge jar


lol. @Zirconium ninja’d me again. That’s not Forge, bro.

Oh. The Forge log. It appears to be some NullPointerException, but my code seems fine…
Log (Long)

The log was removed. Not entirely certain that was on purpose, or…?

Hopefully this works… I’m terrible at reading stack traces…

Judging from your earlier logs, the logs in that paste are 5 hours old. This means that you’ve run the Minecraft server recently, but haven’t run Forge.

Again, double-check which jar you’re running.

Not to mention, Sponge relies on being loaded with the specified version of Forge, which in this case is NOT 1397, but 1371.

1 Like

Click here

Those don’t look like the full logs. Is that an entire dump?

Still using the wrong Forge version.