• File: NoGiveNotices.cs
  • Full Path: /var/www/FileManager/Files/RUST PLUGINS/NoGiveNotices.cs
  • Date Modified: 01/24/2022 5:34 PM
  • File size: 491 bytes
  • MIME-type: text/plain
  • Charset: utf-8
 
Open Back
namespace Oxide.Plugins
{
    [Info("No Give Notices", "https://topplugin.ru / https://discord.com/invite/5DPTsRmd3G", "1.0.1")]
    [Description("Prevents F1 item giving notices from showing in the chat")]
    class NoGiveNotices : RustPlugin
    {
        private object OnServerMessage(string message, string name)
        {
            if (message.Contains("gave") && name == "SERVER")
            {
                return true;
            }

            return null;
        }
    }
}