I found in the docs, it's removed since version 0.12.3, which is sad.
dash-docs.github.io/en/developer-reference#setgenerate
I should be free to use my resources as I wish, because while almost impossible, it's still possible. Sounds more like a protection to miners than something that's...