Being a developer myself, when I create a piece of code to do a specific thing and release it to the public it's not for monetary gain, but to help others than need it by using my source. However, if they wanted additional features added to it, you could have a pot, and once the feature is achieved the pot would be deposited to the developer.
have in mind that this will only work if you have great workers, that are able and willing to help theirselves. This attitude will be destroyed by continous bad leadership and will not come back very fast.
Tell me about it. Been there, done that.
But to be fair, if you have good management, they'll do a good job of hiring in the right type of people as well. So it works both ways.
Saved me a couple of times.