Thank you for being interested in contributing to the project! It wouldn't be where it is today without the help of the community. This document will help you get started with contributing to the project.
- A GitHub account
- Git installed on your local machine
- A text editor or IDE
- A basic understanding of Java
- If you don't already have a GitHub account, you can sign up for one here.
- Fork the repository on GitHub by clicking the "Fork" button on the top right of the repository page.
- Clone your fork of the repository to your local machine using
git clone https://www.github.com/<your-username>/FoodSpoilage.git - Open the project in your preferred text editor or IDE.
- Try compiling the plugin using the following command:
If you encounter any errors, please create an issue for it.
./gradlew build
Work items are tracked as GitHub issues. You can find a full list of issues here.
Work items are organized into milestones, which represent a specific version of the plugin. You can find the milestones here.
- Make sure an issue exists for the work. If not, create one.
- Switch to
develop:git checkout develop - Create a branch:
git checkout -b <branch-name> - Make your changes.
- Test your changes (see Testing).
- Commit:
git commit -m "Description of changes" - Push:
git push origin <branch-name> - Open a pull request against
develop, link the related issue with#<number>. - Address review feedback.
Run the build to verify your changes compile correctly:
Linux: ./gradlew clean build
Windows: .\gradlew.bat clean build
For manual testing, start a local Spigot server:
docker compose upIf you have any questions about contributing to the project, feel free to ask in the Discord server. You can join the Discord server here. This is the best place to ask questions.