Skip to content

Conversation

@hougan-dev
Copy link
Contributor

No description provided.

hougan-dev and others added 10 commits April 24, 2025 23:11
Adds player mute functionality, including API endpoints and a worker to manage muted players. This allows for muting players, retrieving mute information, and automatically unmuting players when their mute expires. Also introduces configuration options for enabling/disabling components like signages and kills collection. Integrates checks to prevent muted players from sending messages.
Ensures that players are only muted if their mute has not expired.

This change prevents players from being incorrectly muted
after their mute duration has ended.
Updates mute messages for clarity and consistency
Enhances broadcast logic to notify all active players
Refactors time display format in mute messages
Corrects the mute check in chat processing to ensure that the mute is only applied if the mute duration hasn't expired.
This prevents players from being incorrectly muted even after their mute period has ended.
Refines GetLeftTime function to show detailed time remaining.
Revises user notification messages for consistency and clarity.
Eliminates redundant unmute broadcast behavior.

Improves user experience by providing clear time formats and
organized notification messages.
Ensures that the initiator's Steam ID can be null when sending chat messages.

This prevents a potential null reference exception when accessing the initiator's Steam ID, especially in cases where the initiator might not have a valid Steam ID.
Ensures that the `OnClientCommand` hook correctly handles chat messages,
preventing issues with commands that might start with "chat.say /".
… mute system.

This allows server owners to choose whether or not the plugin should interact with a mute system, providing flexibility and compatibility with different server setups.

Unsubscribes from the `OnClientCommand` hook when the mutes component is disabled, preventing unnecessary code execution.
…not being correctly parsed.

Adds a new API `RA_IsPlayerMuted` to check if a player is muted and returns the remaining mute duration.
@hougan-dev hougan-dev merged commit 604bb12 into main May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants