This is a Mumble Moderator module.
Most people don't like to be recorded without being asked.
With this script everyone on your Mumble server who starts recording without permission will be deafened or kicked.
There is a list of exceptions available; also an admin can give permission to record.
The code and the configuration file can be downloaded from Github: https://github.com/Natenom/mumblemoderator-module-collection/tree/master/antirec-contextmenu.
canallowrecordingin the .ini file.
You must be a member of the group that is set in the variable canallowrecord in the .ini file of this module. After a reconnect you get two new entries if you right click a user:
Also check “Server” → “List users with permission to record”.
Of course I know that it is always possible to record something; at least this script works as a base protection against people without technical knowledge.