I have written a commercial application which contains closed source code and a script API which is open source. Currently I have a CLA similar to this which has to be signed by each contributor to be able to make changes/updates to the script API. However I'm not quite sure under which license I should release the public script API source code? The code belongs to me (copyright) but users should be able to use the code to design and distribute plugins for free or commercially, however I would like some legal protection in case someone decides to use the script API code and turn it into something evil/illegal/copyright infringement.

My question is if there already exists a license which suits my demands?

closed as off-topic by curiousdannii, vonbrand, MadHatter, Glenn Randers-Pehrson, Zizouz212 Feb 22 '16 at 2:15

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking for the recommendation of a license must include sufficient information on the desired effects of the license and the current details of the project. Questions that do not include relevant information will make it difficult to write a well-informed answer. See: How do I ask for a license recommendation? for more information." – Zizouz212
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Wait, so will plugins to the Script API be independent? For example, will the only thing that I do to the API will be calling it's methods like ScriptAPI.foo();? – Zizouz212 Jan 26 '16 at 20:19
  • 2
    Define "evil," please. – Kevin Jan 27 '16 at 17:12
  • @Kevin sharks with lasers on their heads 😊 – vonbrand Jan 29 '16 at 11:19

You can't really stop people from doing something "evil" with your code. However, most licenses carry a 'warranty' statement disclaiming any liability for damages that your program may cause, which may very well be caused by someone using your Script API for evil.

To distance yourself even further from bad actors, the BSD-3 License has this clause:

Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

Preventing people from using your name to endorse their evil activities seem like a good way to get some legal protection as well.

Not the answer you're looking for? Browse other questions tagged or ask your own question.