-
-
Notifications
You must be signed in to change notification settings - Fork 151
Pull Request Requirements
retrooper edited this page Apr 19, 2022
·
11 revisions
We love to receive your pull requests. You have a chance to contribute your ideas. There are a few things you need to look out for before submitting a PR.
- Have a short, but clear title (and description) explaining what your PR will do.
- Please avoid making multiple PRs just to solve a single issue. You can push multiple commits and submit one PR.
- Make sure your changes actually work. Test them and if possible, show us debugs or reports to prove your code works. (Might not be necessary for minor patches)
- Make sure every file you create has our license notice at the very top. (if you've taken code from elsewhere, this gets a bit complicated, and in that case just ask me about it)
/*
* This file is part of packetevents - https://github.com/retrooper/packetevents
* Copyright (C) 2021 retrooper and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
Examples of how to use PacketEvents
Click this!