How exactly would I do 1? And thanks heaps! I'll add that in and reupload it as a difference file![]()
BetterChatMute
Moved
Total Downloads: 2,515 - First Release: Jan 9, 2017 - Last Update: Jan 23, 2018
- 5/5, 10 likes
-
Nevermind - THIS would help you with learning about diff. If you are using windows you can download Git For Windows -
Wulf Community Admin
-
There are no expirations every 10 seconds.
If none expired in those 10 seconds, expired will just be empty and so no change will be made to the data so saving is completely redundant.
You can believe me that I have done it that way for a reason. -
Wulf Community Admin
-
RuArt
BetterChatMute Does Not work when you have the Quest plugin installed..... -
-
@LaserHydra Just to do it the proper way and submit the code and not the plugin, with the following 3 lines you can add the Slack call:
Code:[PluginReference] Plugin Slack; string slackmsg = player.name + " muted " + target.name Slack?.Call("FancyMessage", slackmsg, player);
So the output was:
Kinesis muted Kinesispermanently.
Kinesis muted Kinesisfor 24 minutes
Kinesiswas unmuted (by Kinesis
Mute for player Kinesishas expired
This would just be super handy for monitoring staff on servers to ensure that Mute isn't being abused and also to keep track of mutes on an ongoing basisI can PM you the entire plugin edits if you don't want to have to write it all out, but I'm not sure if your implementation might be a bit cleaner.
-
Wulf Community Admin
-
If these hooks were added though I'd have a shot at making it myself! -
Wulf Community Admin
-
Also if it wasn't too much effort to be added: 2 separate permissions for permanent and time mutes. Just so that lower level staff can't go crazy permanently muting peopleAnd potentially a cap on the temp mutes as well in the config. Not sure if this is much effort to implement!
-
error in newest version 1.0.3
BetterChatMute was compiled successfully in 148ms
Unloaded plugin Better Chat Mute v1.0.1 by LaserHydra
Loaded plugin Better Chat Mute v1.0.3 by LaserHydra
Failed to initialize plugin 'BetterChatMute v1.0.3' (JsonReaderException: Unexpected character encountered while parsing value: {. Path '76561198122151604.ExpireDate', line 3, position 19.)
Unloaded plugin Better Chat Mute v1.0.3 by LaserHydra
Rolling back plugin to last good version: BetterChatMute
Loaded plugin Better Chat Mute v1.0.1 by LaserHydra -
Wulf Community Admin
-
i have delete my data file from better chat mute.
now works
[Better Chat] Error when trying to get third-party title from plugin 'Oxide.Plugins.PlayerChallenges'
System.NullReferenceException: Object reference not set to an instance of an object
at Oxide.Plugins.PlayerChallenges.GetPlayerTitles (IPlayer player) [0x00000] in <filename unknown>:0
at Oxide.Plugins.BetterChat+ChatGroup.FormatMessage (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
but my ranks on player challenges doesnt work too i cant see any ranks. have a idea ?
Player Challenges | Page 17 | Oxide -
Wulf Community Admin
-
@LaserHydra
how to make this plugin worked separately from the plugin betterChat? really need help -
LaserHydra updated BetterChat Mute with a new update entry:
1.0.4
[DOUBLEPOST=1488274518][/DOUBLEPOST]
[DOUBLEPOST=1488274551][/DOUBLEPOST]@Kinesis Hooks have been added -
I'm almost done with a new plugin, I just had 2 quick questions for you:
- I'm still a little new to this (although it seems to be working well). When it comes to the OnBetterChatMuteHandle hook, how would I extract information from
muteInfo? Sorry I've never worked with a JObject object before so I'm not sure how to reference information through it
- I was hoping to reuse your FormatDate function since it works beautifully to convert the time to natural speech in duration. Would you mind if I reused this function
for the SlackMute plugin and gave you full credit for it?
- I'm still a little new to this (although it seems to be working well). When it comes to the OnBetterChatMuteHandle hook, how would I extract information from
muteInfo? Sorry I've never worked with a JObject object before so I'm not sure how to reference information through it