PlaceholderAPI/.github/CONTRIBUTING.md

69 lines
4.3 KiB
Markdown
Raw Normal View History

2020-07-31 16:00:35 +02:00
[issue]: https://github.com/PlaceholderAPI/PlaceholderAPI/issues/new
2020-07-31 16:02:20 +02:00
[discord]: https://helpch.at/discord
2020-08-03 16:51:46 +02:00
[code of conduct]: https://github.com/PlaceholderAPI/PlaceholderAPI/blob/master/CODE_OF_CONDUCT.md
2021-02-09 04:01:29 +01:00
[wiki]: https://github.com/PlaceholderAPI/PlaceholderAPI/blob/docs/wiki/wiki
2021-12-25 15:50:17 +01:00
[master]: https://github.com/PlaceholderAPI/PlaceholderAPI/tree/master
[docs-wiki]: https://github.com/PlaceholderAPI/PlaceholderAPI/tree/docs/wiki
2020-08-03 16:51:46 +02:00
[style]: https://github.com/PlaceholderAPI/PlaceholderAPI/tree/master/config/style
2019-06-02 20:06:56 +02:00
2020-07-31 16:00:35 +02:00
# Contributing Guidelines
We welcome everyone to contribute towards the PlaceholderAPI Project, but doing so will require you to follow specific rules to keep a consistent and welcoming way of contributing.
2019-06-02 19:56:33 +02:00
2020-08-03 16:51:46 +02:00
If you have any questions about contributions towards the project, feel free to contact us on our [Discord Server][discord].
2020-07-31 16:02:20 +02:00
2020-07-31 16:00:35 +02:00
## Issues
2020-08-03 16:51:46 +02:00
Like any other project can you encounter bugs or a feature is missing for you in the plugin.
For that, you can open an [issue] to report a bug, or suggest a new feature to be added.
2019-06-02 19:56:33 +02:00
When doing so, make sure you follow rules below:
2019-06-02 19:56:33 +02:00
2020-08-03 16:51:46 +02:00
### Follow the template
We have issue templates to help us get the required information more easily. Please follow the provided template when either filing a bug report or feature request.
Your issue may be closed without warning for not following the template.
2019-06-02 19:56:33 +02:00
2020-08-03 16:51:46 +02:00
### Use the latest version
When it comes to bug reports should you always check first, that you're using the latest release of PlaceholderAPI.
Often the bug you've encountered, is fixed in a newer version.
2019-06-02 19:56:33 +02:00
2020-08-03 16:51:46 +02:00
The same rules apply when making a feature request.
2019-06-02 19:56:33 +02:00
2020-07-31 16:00:35 +02:00
### No duplicate issue
2020-08-03 16:51:46 +02:00
Make sure that there aren't any existing issues relating to the problem, which are still open, or are closed with a solution/explanation.
2020-07-31 16:00:35 +02:00
Opening a separate issue for a bug report or feature request, that already exists on the issue tracker only slows down the process of fixing the bug or implementing the feature.
2019-06-02 19:56:33 +02:00
2020-07-31 16:00:35 +02:00
If an issue with the bug or feature you want to report/suggest exists, comment on it with your info (bug reports) or give it a :thumbsup: (Feature Request) to show that this is important for you.
2020-08-03 13:41:35 +02:00
### Issue isn't caused by external source
2020-08-03 16:51:46 +02:00
PlaceholderAPI provides a feature to have expansions (separate jar files) for placeholders. This gives it a possability that an issue you encounter is caused by said expansions or a separate plugin that uses those expansions.
In those cases should you report the issue to the issue tracker of the expansion or plugin.
2020-07-31 16:00:35 +02:00
## Pull requests
2021-12-25 15:50:17 +01:00
As an open source project are we welcoming all contributions to improve PlaceholderAPI, being it changes to its code, or contributions to its documentation such as the [Wiki] or the Javadocs.
**When contributing, make sure to both base of and target the mentioned branch. Pull requests targeting the wrong branch may get closed without a warning.**
2020-07-31 16:00:35 +02:00
### Code contributions
2021-12-25 15:50:17 +01:00
> **Source and Target Branch:** [`master`][master]
When contributing towards the code of PlaceholderAPI, be it new features or just bug fixes, should your changes follow the general code styling used in the project.
You can find the necessary files in the [`config/style`][style] directory of this repository.
### Javadocs contributions
> **Source and Target Branch:** [`master`][master]*
Javadocs changes should usually be combined with [code contributions](#code-contributions) when possible, but if not, make sure the changes are significant enough to warrant a new build on our CI server.
\*This branch may change in the future.
### Wiki contributions
> **Source and Target Branch:** [`docs/wiki`][docs-wiki]
The Wiki of PlaceholderAPI has a unique quirk by having a dedicated [`wiki` folder][wiki] hosting the pages found on the actual wiki itself.
If you find outdated information, want to add missing expansions/plugins or just like to correct some wrong spelling should you both base of and target your contributions on the `docs/wiki` branch.
**Please only PR changes for the `wiki` folder on the `docs/wiki` branch! Pull requests not following this guidelines will be closed unnanounced.**
2020-07-31 16:00:35 +02:00
## Code of Conduct
We have a [Code of Conduct] to maintain a welcoming atmosphere in this project.
2020-08-03 16:51:46 +02:00
If your contributions go against the Code of Conduct, linked above, we reserve the right to deny or revert your contributions.