Need plugin development help

I am relatively new to plugin development and need to ask why I have 50 million (Exaggeration) errors from code on the docs

My code is available on
Please explain!

These are basic Java errors. If you are writing that code, then you do not have a good grasp of the Java language, which you must have in order to be able to develop against the Sponge API.

1 Like

I copied that from the sponge docs Building a Command — Sponge 7.2.0 documentation I just copied and replaced what needed to be. So why does it have so many errors?

I just answered that. If you do not have a good grasp of the Java language, you will not be able to develop against the Sponge API. If it were so easy that you could simply copy and paste answers from the documentation, then I wouldn’t be saying this. But it isn’t, and I am.

If you found the SpongeDocs, please read them carefully too.
On the very first page for plugin development there is this important Note:

It is highly recommended to have prior experience with developing in Java! It is also highly recommended to take code examples from the documentation as purely educational resources, as copying-and-pasting examples from the documentation likely will not work, especially without modification.

Does the course on count as prior expierience? Also I did modify it… and found out that I needed to put the code in the public class -_- oops

That’s the thing. That’s not supposed to be something you ‘find out’. Extremely basic stuff like that is supposed to be something you already know and don’t even have to think about.

I usually code Python, and I’m actually developing a Discord Bot. It is extremely confusing to switch between different coding languages

1 Like

:man_shrugging: I’ve never had a problem with it. But to each their own.
Regardless of how confusing it is, unless you’re good with Java, using Sponge is not going to be feasible. The absolute minimum level of knowledge for using Sponge, I would say, is when you are able to know the difference between a problem with Sponge and a problem with Java. At that point, even if you’re not good with Java, you can ask your Java questions at Stack Overflow where they belong and keep your plugin help questions Sponge-related.