Synvael/LICENSE.md

80 lines
5.8 KiB
Markdown

# Project Catalyst License Agreement
This project is licensed under a multi-part licensing model. By accessing, using, or distributing any part of this project, you agree to be bound by the terms below.
---
## Part 1: Source Code License (GNU AGPLv3)
**Applicability:** All `.rs` files located in `crates/`, all `.lua` files in `assets/scripts/` and `mods/`, the workspace `Cargo.toml`, every per-crate `Cargo.toml`, and all build-configuration files (`rustfmt.toml`, `selene.toml`, `stylua.toml`, etc.).
Copyright (c) 2026 Cryoforge Nexus
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation.
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 Affero General Public License](https://www.gnu.org/licenses/agpl-3.0.txt) for more details.
**Note on AGPLv3:** Beyond standard GPLv3 obligations, AGPLv3 also requires that anyone who makes a *modified version* of this program available to users over a network must make the corresponding source code of that modified version available to those users. Running an *unmodified* version of the program as a server does **not** trigger this obligation.
---
## Part 2: Game Assets License (CC-BY-NC-SA 4.0)
**Applicability:** All files located in the `assets/` directory (including but not limited to textures, models, sounds, icons, and shaders), **except** `assets/scripts/` which is covered by Part 1.
The game assets are licensed under the **Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License**.
**Under this license, you are free to:**
- **Share** — copy and redistribute the material in any medium or format.
- **Adapt** — remix, transform, and build upon the material.
**Under the following terms:**
- **Attribution (BY):** You must give appropriate credit, provide a link to the license, and indicate if changes were made.
- **Non-Commercial (NC):** You may not use the material for commercial purposes.
- **Share-Alike (SA):** If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
To view a copy of this license, visit [http://creativecommons.org/licenses/by-nc-sa/4.0/](http://creativecommons.org/licenses/by-nc-sa/4.0/).
This license explicitly permits the creation and distribution of **resource packs** that modify or replace official assets, provided they remain non-commercial and are themselves released under CC-BY-NC-SA 4.0.
**Open distribution of assets:** Game assets are published openly in this repository (typically tracked via Git LFS). This is intentional. Modders, resource pack authors, and self-builders are welcome to clone, reference, and remix them. The non-commercial and share-alike obligations remain in force regardless of how the assets are obtained — cloning the repository does not grant any commercial-use rights.
---
## Part 3: Modding Policy
**Applicability:** Mods for Project Catalyst — content written by third parties that runs through the modding API or replaces game assets.
Cryoforge Nexus grants a limited, non-exclusive, non-transferable license to use the Game Assets (Part 2) and the modding API (Part 1) specifically for the creation, distribution, and play of mods for Project Catalyst, provided that:
1. **Non-Commerciality:** The mod itself must be free to download and play. You may not sell the mod or charge for access to it. Donation-based support of mod authors (Patreon, Ko-fi, etc.) is permitted as long as the mod itself remains freely available.
2. **Platform Integration:** Mods are encouraged to be shared through the official Project Catalyst modding platform.
3. **No Standalone Usage:** You may not use the Game Assets to create a standalone game or software product unrelated to Project Catalyst.
4. **Credit:** You must credit Project Catalyst as the source of the assets.
5. **Mod licensing — Lua vs native code:**
- **Lua mods** running on the modding-API VM are *not* considered derivative works of the engine. Lua mod authors may license their own code under any license they choose.
- **Native (Rust) mods** that link against engine internals are derivative works of the engine and are subject to the AGPLv3 terms of Part 1. If distributed, their source must be made available under AGPLv3.
6. **Mod assets:** Original assets authored by the mod creator may be released under any license. Assets *derived* from official Project Catalyst assets are governed by Part 2 (CC-BY-NC-SA 4.0) and must be shared under the same terms.
This policy is intended to foster a vibrant modding community while protecting the core identity of the game.
---
## Part 4: Server Hosting Policy
**Applicability:** Anyone hosting a Project Catalyst server, official or community-run.
Non-commercial server hosting is permitted without a separate commercial license, including:
- Hosting a public server for free.
- Hosting a public server supported by donations or Patreon, where funds are used only to cover hosting and operational costs.
- Hosting a private or whitelisted server for friends, communities, or organizations.
The following are **not permitted** without a separate commercial license from Cryoforge Nexus:
- Selling in-game advantages, premium ranks, cosmetic items, or any pay-to-win mechanics on a server.
- Charging players for access to the server itself (paywalled play).
- Operating a server as part of a commercial gaming-platform business model.
Note that under AGPLv3 (Part 1), running a *modified* version of the engine as a server requires making the modified source code available to all users connecting to that server, regardless of whether the hosting is commercial or non-commercial.