> For the complete documentation index, see [llms.txt](https://docs.pvzm.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pvzm.net/legal/license.md).

# License

This project is dual-licensed. Different parts of the codebase are covered by different licenses as described below.

### Part 1: Original PVZM Content

All original code and content created by the Plants vs. Zombies: MODDED team (ROBINET13 & Clay \[clay.rip]) is licensed under the **PolyForm Noncommercial License 1.0.0**.

***

## PolyForm Noncommercial License 1.0.0 <a href="#polyform-noncommercial-license" id="polyform-noncommercial-license"></a>

<https://polyformproject.org/licenses/noncommercial/1.0.0>

### Acceptance

In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.

### Copyright License

The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to Distribution License and make changes or new works based on the software according to Changes and New Works License.

### Distribution License

The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by Changes and New Works License.

### Notices

You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:

> Required Notice: Copyright Yoyodyne, Inc. (<http://example.com>)

### Changes and New Works License

The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.

### Patent License

The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.

### Noncommercial Purposes

Any noncommercial purpose is a permitted purpose.

### Personal Uses

Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.

### Noncommercial Organizations

Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.

### Fair Use

You may have "fair use" rights for the software under the law. These terms do not limit them.

### No Other Rights

These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.

### Patent Defense

If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.

### Violations

The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.

### No Liability

***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***

### Definitions

The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.

**You** refers to the individual or entity agreeing to these terms.

**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.

**Your licenses** are all the licenses granted to you for the software under these terms.

**Use** means anything you do with the software requiring one of your licenses.

***

Required Notice: Plants vs. Zombies: MODDED (<https://github.com/Plants-vs-Zombies-MODDED/game>) © 2025 by ROBINET13 & Clay (clay.rip) is dual-licensed. Original PVZM content is licensed under PolyForm Noncommercial License 1.0.0. Code derived from the original port by JiangNanGame and LonelyStar is licensed under the Changjiang River License (Version 3, July 2020). All Plants vs. Zombies intellectual property remains the exclusive property of PopCap Games and Electronic Arts (EA).

***

### Part 2: Original Port Code

Code derived from the original JavaScript port created by [JiangNanGame](https://github.com/JiangNanGame) and LonelyStar is licensed under the **Changjiang River License (Version 3, July 2020)**.

***

## The Changjiang River License

### Version 3, July, 2020

Hello! When you see this text, it means that you are using an open source work protected by the The Changjiang River License.

In order to protect the rights of developers of the work, you must abide by the requirements of this license when you use, copy, modify and publish it for the second time.

#### I. Definitions

1. "The License" means *The Changjiang River License*.
2. "The work" means the whole and any partial content of the open source work that is protected by the license.
3. "The author" means the natural or legal person who creates and distributes the work.
4. "The user" means the natural or legal person who uses, copies, modifies, and republishes the work.
5. "The secondly modified works" means the products of the user's second modification and creation of the work.
6. "Secondary release" means the behavior of the user to publish the second modified works and use them to produce other materials.

#### II. The Rights Of User

1. For non-profit purposes, the user can use, copy and modify the work.
2. For non-profit purposes, the user can secondary release the modified works and decide to open its source or not.

#### III. The Obligations Of User

1. The user shall not apply the work directly or indirectly for any profitable purpose.
2. The user must always keep the copy of the license, the production team list, the disclaimer and other important information in the work complete.
3. When promoting and publishing the secondly modified works, the user must indicate the copyright information such as the author in the promotional materials.
4. When opening the source of the secondly modified works, the user must continue to use the license for it.
5. The user shall not dissect a part of the work separately for other projects.

#### IV. Punishments

1. If the user violates any of the provisions of the lisence, all rights granted in the lisence will be automatically revoked. The author also has the right to pursue legal responsibility.

#### V. Other Instructions

1. [JiangNanGame](http://www.jiangnangame.com) has the right to update the specific content of the license. After the license is updated, all works adopting the license will be deemed to be automatically replaced with the latest version of the license.
2. Users should be aware that there may be defects in the work. The author is not responsible for any losses caused by these defects.
3. The license does not provide users with any authorization of the brand intellectual property rights of the work. These rights belong to the author.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pvzm.net/legal/license.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
