Hi so I'm new to CSharp and I was trying to make my own command for rust that will trow out some text I've been trying to study peoples work to understand what is needed to make this work with no joy.what have I done wrong.
using System;
using System.Collections.Generic;
using Oxide.Core.Libraries.Covalence;
namespace Oxide.Plugins
{
[Info("RulesCommand", "TenzO", "1.0")]
[Description("Allows players to read the server rules.")]
class ServerRules : RustPlugin
{
[Command("rules")]
void cmdRules(IPlayer p, string command, string[] args)
{
p.Reply("<color=#ff0000ff>write rules here blar blar no being racist cunt.</color>");
}
}
} 