Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.09 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.09 KB

Slimefun4 Addon

This is an example Repository for a generic Slimefun4 Addon. In the top left is a button "Use this template", click this to create your own Addon for Slimefun4 using this basic template.

How to create your own addon.

This is a template repository that you can use to create your own Slimefun4 Addon.
We have also written an extensive step-by-step tutorial which you can find here:
https://github.com/Slimefun/Slimefun4/wiki/Developer-Guide

Changing some important things

Navigate to src/main/java and rename the package and the .java File to your liking.
Suggestion: "me.yourname.yourproject" (all lower case) and "ProjectName.java"
Example: "me.thebusybiscuit.cooladdon" and "CoolAddon.java"

Navigate to src/main/resources/plugin.yml and change the "author" and "main" attributes. You may also want to change the description to something meaningful.

Navigate to pom.xml and change the group id to "me.%Your name%" and change the artifact id to the name of your Project.

After that you are good to go, you can now start developing your own Addon for Slimefun4.