I've been developing a game engine for the past few years and I'm finally at a point where I want to allow people to make contributions and play with it and stuff. I want to put it up on GitHub, I'm just afraid of the rather unlikely event where my work gets stolen or copyrighted or patented or basically any kind of horrid legal thing that could happen.
I basically want some kind of license agreement that states:
- The engine source belongs to me, any contributions made to the engine by users are *non-exclusively* a part of that.
- Code added to the engine by a contributor is just a part of the engine and the contributor can still use that code outside of the engine freely still.
(EX: someone writes an awesome shadow calculation and puts it in the engine, they can still use that same shadow calculation elsewhere and it's fine)
- The engine is free to use non-profit
- The engine requires a lincse to use commerically which can be negotiated with me.
How should I go about that? I'm broke and I can't really hire a lawyer to write some crazy legal stuff for me.
I've read up on GPL and BSD but neither of those are quite what I want to do.