szutilpack-cd2025/szutil_chatsounds
Aaron Suen 68eb61b873 Remove stub settingtypes.txt files
These were intended to make it possible to access these settings
in the MT settings UI.  However, apparently it's not possible to
have nil as a default, and MT throws warnings in this scenario.
Remove these settings until that's properly supported.
2024-10-20 11:50:28 -04:00
..
2020-06-07 09:09:11 -04:00
2022-04-01 13:08:12 -04:00
2023-06-20 07:30:35 -04:00

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