BetterChat Mute

Simple mute system, made for use with BetterChat

Total Downloads: 1,728 - First Release: Jan 9, 2017 - Last Update: Jun 18, 2017

5/5, 8 likes
  1. 1.0.8

    LaserHydra
    * attempting to fix second offset when time muting
    + added API functions
    Code (C#):
    void API_Mute(IPlayer target, IPlayer player, bool callHook = true, bool broadcast = true)
    void API_TimeMute(IPlayer target, IPlayer player, TimeSpan timeSpan, bool callHook = true, bool broadcast = true)
    bool API_Unmute(IPlayer target, IPlayer player, bool callHook = true, bool broadcast = true)
    void API_SetGlobalMute(bool state)
    List<string> API_GetMuteList()
    bool API_GetGlobalMuteState()
    bool...
    GhostPLKR likes this.
  2. 1.0.7

    LaserHydra
    + added command
    • toggleglobalmute
    + added permission
    • betterchatmute.use.global

    Global mute can be bypassed by anybody with the permission betterchatmute.use.global
    GhostPLKR and jemes. like this.
  3. 1.0.6

    LaserHydra
    * fixed for BetterChat 5.0.6+
    Kolobok likes this.
  4. 1.0.5

    LaserHydra
    * fixed server console not having permission to mute permanently
    + added hook void OnBetterChatMuteExpired(IPlayer player)
    Togoshige, GhostPLKR, nivex and 2 others like this.
  5. 1.0.4

    LaserHydra
    * small code readjustments
    + added permission betterchatmute.permanent required for permanent muting
    + added hooks
    • OnBetterChatMuted(IPlayer target, IPlayer initiator)
    • OnBetterChatTimeMuted(IPlayer target, IPlayer initiator, DateTime expireDate)
    • OnBetterChatUnmuted(IPlayer target, IPlayer initiator)
    • OnBetterChatMuteHandle(IPlayer player, JObject? muteInfo) : return non-null to cancel
    jemes. likes this.