These are all based on automated detection (intercept the minetest settings metatable methods) and lack any useful documentation, and may be incomplete (e.g. missing keys that are only discovered at runtime based on specific actions). Eventually these will be filled out and used to document settings, and make it easier to manage settings in the MT Settings UI.
This mod adds a per-player-configurable beep sound for incoming messages in the in-game chat stream, to allow players on low-traffic servers not to miss interesting goings-on in chat.
Players can use the /szutil_chatsounds
command to rewrite their own chat configuration. Sound configuration is in the form of "gain" or "gain:pitch" (where pitch is a multiplier, 1 is the default 440Hz tone) for each of the message levels:
- DMs
- mention by name in public chat
- public chat
- emotes
- player join/part
- server messages
- other
If there is no config for a message level then the last config will be used. Setting the last config to 0 mutes all remaining message levels. Setting the entire config to 0 mutes EVERYTHING.
- Using
/szutil_chatsounds
with no parameters queries the current settings. - Using
/szutil_chatsounds default
resets the config to the server or built-in default.
The default sound level can be configured server-wide. The built-in default if not overridden at the server/player level is 0.5:1.2 0.5:1.1 0.25 0.25 0.25:0.8 0