IntelliJ IDEA Setup - LucFr1746/Minecraft-Coding GitHub Wiki

Welcome to the IntelliJ IDEA Project Setup tutorial

This tutorial teaches you how to set up an IntelliJ IDEA project. Scroll down for more details. Good luck!
Eclipse Setup



Step 1:

Download needed things:

  • Java (Required to run Minecraft.)
  • IntelliJ (The program you are going to code on, recommended community edition.)
  • Spigot Library API (Select and download the version of the spigot server you want to open.)
    • Paper MC (For a better performance Minecraft server. Recommended.)

Step 2:

Install all required plugins on the first launch.

Choose Plugins ➜ search Minecraft Development install it. You can find a lot of helpful plugins here.

Step 3:

Create a new project. On the menu page, choose New Project.

On the New Project menu, choose MinecraftSpigot Plugin ➜ click next.

Step 4:

Set up new project detail.

Choose the Minecraft version you want to code.
Choose the location where your project going to save and you are good to go here.

Step 5:

Set up the build artifact.

  • Pressing Crtl + Alt + Shift + S or File ➜ Project Structure.
  • The menu will pop in and you need to go to the Artifacts section ➜ AddJarFrom modules with dependencies and click Ok.
  • In the Output directory, you going to choose the location where the jar file will export and check Include in project build and click Apply.
  • Build the artifact by BuildBuild artifacts...
  • Or you can change the hotkey by following this or pressing the hammer button here.

And now you are basically done with the first setup of your IntelliJ IDEA to code a plugin on.

⚠️ **GitHub.com Fallback** ⚠️