https://github.com/yariplus/sfaddon
https://github.com/yariplus/sfaddon
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/yariplus/sfaddon
- Owner: yariplus
- Created: 2021-05-23T03:35:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-23T03:35:21.000Z (about 5 years ago)
- Last Synced: 2025-01-29T05:28:40.804Z (over 1 year ago)
- Language: Java
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.