Ruling on making a game engine and open source which will be used to make both permissible and haraam games

Dear Brothers & Sisters,
As-Salaamu-Alaikum wa Rahmatullahi wa Barakatuh. (May Allah's Peace, Mercy and Blessings be upon all of you)
One of our brothers/sisters has asked this question:
I want to work on an open source & free game engine will I get azab-e-jariah if people use it to create games involving things which are prohibited. Since its licensed under GPL I cannot control what people want to do with it. If yes then what if the features I code arent directly involved with creation of these (prohibited) things like image compostior, water refraction scripts etc. instead of modelling and animation tools.
(There may be some grammatical and spelling errors in the above statement. The forum does not change anything from questions, comments and statements received from our readers for circulation in confidentiality.)
Check below answers in case you are looking for other related questions:

Answer:
Praise be to Allaah.

If this engine and open source will mostly be used to make permissible games, then it is permissible to make it. 

If it will mostly be used for haraam things, it is not permissible. 

This general principle applies to manufacturing and producing anything that may be used for either halaal or haraam purposes, when it is not known what each user will use it for. Attention should be paid to the way in which it is mostly used by people, because when it is not possible to know about each user, it is sufficient to know what is usually the case. If what is usually the case is that it is used for haraam purposes, it is not permissible to help with it, because of the prohibition on helping others in sin and transgression. 

It says in Fataawa al-Lajnah ad-Daa’imah (13/109): Everything that will be used in a haraam manner or it is thought most likely that it will be used in that manner, it is haraam to manufacture it or import it or sell it or distribute it among the Muslims. End quote. 

For more information please see question no. 2898, 98769 and 71170 

And Allah knows best.

Whatever written of Truth and benefit is only due to Allah's Assistance and Guidance, and whatever of error is of me. Allah Alone Knows Best and He is the Only Source of Strength.

Related Answers:

Recommended answers for you: