Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change license #83

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 33 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
MIT License

Copyright (c) 2024 Aleksander Medvedev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
PUMKIN LICENSE
Snowiiii marked this conversation as resolved.
Show resolved Hide resolved

Copyright © 2024 Aleksandr Medvedev. All rights reserved.

1. Grant of License

a. This License applies to the Pumpkin software and its associated source code ("Software").
b. You (the recipient) are granted a non-exclusive, worldwide, royalty-free, irrevocable copyright license, to:
- Use, modify, and distribute copies of the Software, in source and binary forms.
- Create derivative works based on the Software.

2. Permitted Use and Restrictions

a. You may use, modify, and distribute copies of the Software, in source and binary forms.
b. You may create derivative works based on the Software.
c. If you are a hosting company or service provider that directly distributes the Software as a packaged product, solution, or service, you are required to pay a 5% royalty fee on the net profit generated from those services.
d. If you are not a hosting company, generating over €2000 in monthly net income directly attributable to the use of the Software, you are required to pay a 3% royalty fee on that net income.

a. If you distribute the Software or a derivative work, you must:
- Clearly identify the origin of the Software by including a prominent notice in the user documentation and/or about screen.
- Provide a link to the official Pumpkin repository (if applicable).

4. Disclaimer of Warranty

The Software is provided "as is," without warranty of any kind, express or implied. The author(s) disclaim all warranties, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the author(s) be liable for any direct, indirect, incidental, special, exemplary, or consequential damages arising out of or in any way connected with the use of this Software, even if advised of the possibility of such damages.

5. Termination

This License will terminate automatically if you fail to comply with any of its terms. Upon termination, you must cease all use and distribution of the Software.

6. Severability

If any provision of this License is held to be invalid or unenforceable, such provision shall be struck and the remaining provisions shall remain in full force and effect.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,16 @@ Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md)

Consider joining our [discord](https://discord.gg/wT8XjrjKkf) to stay up-to-date on events, updates, and connect with other members.

## License
Pumpkin is licensed under the [Pumpkin License](LICENSE). By using Pumpkin, you agree to the terms of this license.

Key Provisions:
- You must give credit to the original author(s) of Pumpkin and provide a link to the project's repository.
- You may create derivative works based on Pumpkin, but they must also be distributed under the Pumpkin License.
- You may distribute Pumpkin or derivative works, either for free or commercially.
- If you a hosting company. you are required to pay a 5% royalty fee on that revenue.
- If you are not a hosting company, but generating over €2000 in monthly net income, you are required to pay a 3% royalty fee on that net income

## Thanks

A big thanks to [wiki.vg](https://wiki.vg/) for providing valuable information used in the development of this project.
1 change: 1 addition & 0 deletions pumpkin/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ fn main() -> io::Result<()> {
let mut players: HashMap<Token, Arc<Mutex<Player>>> = HashMap::new();

let server = Arc::new(tokio::sync::Mutex::new(Server::new()));
log::warn!("By using Pumpkin, you agree to the terms of our license. You can find the license here: https://github.com/Snowiiii/Pumpkin/blob/master/LICENSE");
log::info!("Started Server took {}ms", time.elapsed().as_millis());
log::info!("You now can connect to the server, Listening on {}", addr);

Expand Down