Skip to main content

First Java Plugin

This is a zero-base tutorial to enable anyone to build their first Nukkit-MOT plugin independently.

Environmental preparation

Git

Download Git

You need to download Git for Windows Setup. under Standalone Installer to install it, otherwise there are no environment variables.

IDEA

Install IDEA Community

Pulling the Example Project

Open IDEA and navigate to File -> New -> Project from Version Control...

from git

Then, in the new window, enter the following URL:

https://github.com/MemoriesOfTime/ExamplePlugin-Maven.git

input git url

Click Clone.

Building the Project

After IDEA has finished indexing:

Navigate to the Maven icon on the right -> Lifecycle -> package to build the project.

input git url

The build output is typically located in the target folder.

input git url