153 | | == Legal notice: Because 0AD's code is written under GPL 2 license mods must be under the GPL 2 license and above or otherwise if the code is licensed differently == |
| 153 | == Licensing == |
| 154 | |
| 155 | The code of 0 A.D's is licensed under GPL v2 or a later version. |
| 156 | |
| 157 | So mods that modify this code must be licensed under a GPL v2+ compatible license. |
| 158 | |
| 159 | While it is situational whether newly added files count as a modification of the code of 0 A.D., |
| 160 | if a mod copies and modifies a file of that code, it certainly is affected by the GPL. |
| 161 | |
| 162 | Have a quick look at our [https://code.wildfiregames.com/source/0ad/browse/ps/trunk/LICENSE.txt LICENSE.txt] file for example. |
| 163 | Add a custom `LICENSE.txt` to your mod folder to explain the licensing when redistributing the mod and list all copyright holders whose work you have reused. |
| 164 | |
| 165 | If you reuse or modify our art files, notice most them are licensed under a Creative Commons license and not GPL. |
| 166 | If you distribute copies or modifications of other peoples art files, make sure you have permission to do so and mention the terms of the permission in the license file. |
| 167 | This allows other people to determine whether and how they can reuse and modify these files of your mod. |