Soundboard: one sound per user at a time, and a client-side rate limit #869

Closed
opened 2026-11-18 05:55:02 +00:00 by charles · 1 comment
Owner

Requested by Wavesonics and wickedsun in #flaxative-bug-reports (https://fluxer.forked.io/channels/1554245914976059392/1572489729109131264), 2026-11-18.

  • Wavesonics: "possibly client controlled, but prevent users spamming sound board sounds, either incoming or outgoing"
  • wickedsun (Charles): "Make it so when a user plays a new sound, it stop the first one so that the sound plays only once (don't mix multiple sounds per user). Rate limit to 5/2s per user."

Wanted.

  1. One sound per user. When a soundboard sound from a user starts while another sound from the same user is still playing, the earlier one stops; sounds from different users still mix. Applies to what this client hears (incoming) and to the local user's own sounds.
  2. Rate limit, 5 sounds per 2 seconds per user. Incoming: sounds from a user beyond 5 in any 2-second window are not played (dropped, not queued). Outgoing: the client does not send more than 5 in 2 seconds (the buttons give feedback instead of sending; the server's own limit of 10 per 10 s still applies and its refusal is handled as today).
  3. Entrance sounds and the per-user mute / volume of the soundboard keep working as today; say how entrance sounds count (they are not user-triggered spam; recommended: not counted, but they do stop that user's playing sound).

The original does not do this (it mixes and relies on the server limit): record it as a deliberate divergence in the voice parity list.

**Requested by** Wavesonics and wickedsun in #flaxative-bug-reports (https://fluxer.forked.io/channels/1554245914976059392/1572489729109131264), 2026-11-18. - Wavesonics: "possibly client controlled, but prevent users spamming sound board sounds, either incoming or outgoing" - wickedsun (Charles): "Make it so when a user plays a new sound, it stop the first one so that the sound plays only once (don't mix multiple sounds per user). Rate limit to 5/2s per user." **Wanted.** 1. **One sound per user.** When a soundboard sound from a user starts while another sound from the same user is still playing, the earlier one stops; sounds from different users still mix. Applies to what this client hears (incoming) and to the local user's own sounds. 2. **Rate limit, 5 sounds per 2 seconds per user.** Incoming: sounds from a user beyond 5 in any 2-second window are not played (dropped, not queued). Outgoing: the client does not send more than 5 in 2 seconds (the buttons give feedback instead of sending; the server's own limit of 10 per 10 s still applies and its refusal is handled as today). 3. Entrance sounds and the per-user mute / volume of the soundboard keep working as today; say how entrance sounds count (they are not user-triggered spam; recommended: not counted, but they do stop that user's playing sound). The original does not do this (it mixes and relies on the server limit): record it as a deliberate divergence in the voice parity list.
Author
Owner

Fixed in nightly 2026.1118.379.

Fixed in nightly 2026.1118.379.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#869
No description provided.