HI, I found a conflict with wulf's plugin, I also have seen this talked about before but the "solution" by changing "SERVER" name in the cs file didn't work. I'm using <color=#e65212><size=16>My Server Name</size></color>"
Conflict with No Give Notices?Not An Issue
This plugin sends its own message, so it would have to filter as well. It isn't conflicting, it just isn't filtering, only resending.
Wulf
This plugin sends its own message, so it would have to filter as well. It isn't conflicting, it just isn't filtering, only resending.
I tried adding
"Messages to not modify": [
"gave"
]
But still shows the message when I give items to myself
just don't use NoGiveNotices, it already does that part
Removed NoGiveNotices still showsTricky
just don't use NoGiveNotices, it already does that part
SERVER: EarthsDefect gave themselves 1 x Beancan Grenade
I edited the serverChat plugin
#region OnServerHook
private object OnServerMessage(string message, string name)
{
string title = $"<color={config.TitleColor}><size={config.TitleSize}>{config.Title}</size></color>";
string msg = $"<color={config.MessageColor}><size={config.MessageSize}>{message}</size></color>";
if (message.Contains("gave") && name == "SERVER")
{
return true;
}
Server.Broadcast(msg, title, config.ChatIcon);
return true;
}
#endregion
notices about gave no longuer show up .
#region OnServerHook
private object OnServerMessage(string message, string name)
{
string title = $"<color={config.TitleColor}><size={config.TitleSize}>{config.Title}</size></color>";
string msg = $"<color={config.MessageColor}><size={config.MessageSize}>{message}</size></color>";
if (message.Contains("gave") && name == "SERVER")
{
return true;
}
Server.Broadcast(msg, title, config.ChatIcon);
return true;
}
#endregion
notices about gave no longuer show up .
Locked automatically