Thanks very much for your reply with the streamlined version!

To be honest, I now had to settle for calling the actions like this

var command="echo 'b8:27:eb:b7:29:4a mixer volume -2' | nc -q0 9090" mcApi.osCommandExecuter().executeLinuxCommand(command);

Meaning, the command get's "netcat'ed" to the server - is there just by chance a comparable API call as well?

Thanks again very much for your work,