It`s normal?
Code:[N-B-T] ХОМЯЧЕК: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s) Gh0st: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s) Fantom: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s) Skidrow: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s) Skadi: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s) VAPE_NaTiOn: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s) blackpearL: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s) Death_Knigth: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s) your mom's name?: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s) CapJack: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s) Froyline: -736365 day(s), -16 hour(s), -37 minute(s), -40 second(s)
BetterChatMute
Moved
Total Downloads: 2,515 - First Release: Jan 9, 2017 - Last Update: Jan 23, 2018
- 5/5, 10 likes
-
Plugin not working since update
It tells the person they are muted but still allows them to talk in general chat.
same as Loyalty plugin it tells them they have reached a new rank but it does not give them the rank
Sorted this after removing CapsNoCaps plugin as they no longer work togetherLast edited by a moderator: Feb 11, 2017 -
Does rebooting the server w/ concurrently muted people turn their times to that? I haven't tested it yet. -
When i doing temporary mute, for example 60 minutes, everything is fine, i can see proper output of the /mutelist command. In 60 minutes, player is being unmuted, and using /mutelist shows "There is nobody muted at the moment.". Checking data/BetterChatMute.json, and there is muted guy. If i reloading the plugin, player is getting muted again, and when i type /mutelist, i see that output with -736365 day(s). Only manual /unmute command removes the player from data/BetterChatMute.json and unmutes him forever. -
Manually edit BetterChatMute.cs and on the line 99 add command SaveData(mutes);
So it would look like this:
Code:... timer.Repeat(10, 0, () => { List<string> expired = mutes.Where(m => m.Value.Expired).Select(m => m.Key).ToList(); foreach (string id in expired) { mutes.Remove(id); server.Broadcast(lang.GetMessage("Mute Expired", this).Replace("{player}", players.FindPlayerById(id)?.Name)); Puts(lang.GetMessage("Mute Expired", this).Replace("{player}", players.FindPlayerById(id)?.Name)); } ---->SaveData(mutes); }); ...
-
-
-
-
Calling hook OnUserChat resulted in a conflict between the following plugins: BetterChat - True (Boolean), BetterChatMute (False (Boolean))
-
-
Calling hook OnBetterChat resulted in a conflict between the following plugins: BetterChatMute - False (Boolean), CapsNoCaps (а ничо (String)) -
Try to remove it and see if it'l help -
Add console command plz))) Ops... mute "nick\id" "time"
Cool plugin))) -
-
@LaserHydra just a feature request for 2 things
- If player mutes could be printed to Console, with the mute duration, player and mute initiator for logging later. Just helpful to keep tabs on Staff actions
- A hook with Slack | Oxide, that prints in a similar way to SlackReport | Oxide the above things to Slack. This would be amazing for people
managing multiple servers and keeping tabs on things even when not ingame/looking at console
- If player mutes could be printed to Console, with the mute duration, player and mute initiator for logging later. Just helpful to keep tabs on Staff actions
-
-
Done!
I've finally made a fix for this!
Ok, so here is the fixed version with some additional changes. Here is a full list of what I've added:
1) Fixed -736365 day(s) bug after plugin reloading
2) Added time for reply to time-muted players, so they can see how long until unmute.
3) Added admin name to the mute/time mute. Both to console and players, so everyone can see who gave a player mute.
4) Added call to SaveData after removing expireid mutes
Especcially for @LaserHydra -
Code:public class Date { public string _value = "00/00/00/01/01/0001"; //We don't need _cachedDateTime here at all - it doesn't sotres at data file internal DateTime value { get { //return _cachedDateTime; //As i mention above - time cache is not being stored at the data file, we only have _value int[] date = (from val in _value.Split('/') select Convert.ToInt32(val)).ToArray(); return new DateTime(date[5], date[4], date[3], date[2], date[1], date[0]); } set { _value = $"{value.Second}/{value.Minute}/{value.Hour}/{value.Day}/{value.Month}/{value.Year}"; } } }
Last edited by a moderator: Feb 16, 2017 -
Wulf Community Admin
-
Here is a full list of what I've added:
1) Fixed -736365 day(s) bug after plugin reloading
2) Added time for reply to time-muted players, so they can see how long until unmute.
3) Added admin name to the mute/time mute. Both to console and players, so everyone can see who gave a player mute.
4) Added call to SaveData after removing expireid mutes
I don't really care if over users would be able to get my patch. I basicly made it for myself only. Just wanted to share the working version with over users. -
Wulf Community Admin