How can I make my own plugins for Minecraft?

Fr
- in Plugins
33

I would like to know how I can create my own Minecraft plugins, such as: A Startkick plugin. Can someone please explain this to me?

No

Code (Javascript)

Oc

Code java

Fr

I'm aware of this, but can I have an example or something?

Fr

I'm aware of this, but can I have an example or something?

No

You can either search for an opensopource plugin or an existing decompile

Oc

There are certainly tutorials
You must:
Change design relatively easily Then code what makes it harder And yes
Just change the files as said on YouTube

Da

So hard? http://letmegooglethat.com/?q=Minecraft+plugin+source+code

sl

To do this, you first have to learn a programming language (preferably Java or Kotlin), then read and understand the version-specific things, and only then can you start coding, either you take something and rewrite it, or you do it completely from the beginning, so that no one accused you of stealing.

If you already have part 1 and 2, here is the source of EsX: https://github.com/...Essentials

Bi

MC plugins are written in Java.

You need a development environment such as Eclipse and a Spigot Server (hosting locally is the easiest).

Do it all best with tutorials on YouTube because you can miss something

As soon as you have the two things you could theoretically code.

It is recommended to learn the Java basics first. So really only the basics are enough, but the more the better.

Theoretically, you can only start with spigot, so Mc Plugins without knowing the Java basics (I did it too), but then the beginning is more difficult because you have no plan in the tutorials about what's going on.

Then you have to watch tutorials on spigot-api or the Minecraft plugin code. There's a certain basic framework that you always have to do. So first basic structure, then commands, then events.

And in general, don't just code, but implement your own ideas (unless it's okay at the beginning)

de

Can I also program a plugin in C #?

Bi

No, for server plugins you need the spigotapi and they are only available in Java

de

Oh.

de

If I want to program a game, is that also possible in Java (script)? Or is C # better?

Bi

You mean a real game? So not Minecraft?

I think C # is best suited for this. And graphic engines like Unity, unreal engine, etc

But you can also program games in Java, but since the performance of Java is worse than that of C #, C ++ and so they can't look so nice

And by the way, Java and Java Script are 2 completely different things

de

Ok, what would be worth learning more? So Java script / java etc. Or C # or C ++

Bi

It depends on what you want to do.

But Java and the C languages are very similar in syntax

So as soon as you can do one of them you will understand the other easier anyway

I'll put it this way, I've got my entire programming understanding through Minecraft plugins coding quasi playfully xd

Ja

No, because Minecraft is a Java-only game. The client runs with Java, the Sever, Mods, etc. No change

Oc

Java and C # are both similar in syntax

Oc

Javascript?

Oc

Ok that's cool.

No

He is already aware of it lol

de

Ok, I'm undecided… So either Java to program MC plugins and Discord bots or C # to develop my game. @IchBinSmile

Bi

Learn both.

Oc

Ok how?

Oc

Learn one then you can do both.

de

And how best? My parents are against it, they prefer to say English (smiley with eyes rolled up)

I chose Java or prefer Java script?

Oc

1. Javascript is mainly for websites
2. Java is good
3. Do you learn English because everything is in English anyway? Also tutorials etc.
4. Best with yt or code academy

de

At Code academy and yt there's only a beginner course right?

Oc

With code acc basis and rest yt

de

How about the program-start course?

https://programmieren-starten.de/java-lp1/

Oc

In the end it is important that you understand it

de

Of course, but would it be better to buy it than to learn with code acc and yt?

Oc

First do it for free with code acc and see if it is really fun and if after 3 weeks you can then decide e.g. Create my own game with unity 2D and yes yt helped me a lot with that