Creating console commands
This page will help you to create console commands on the server for your plugins.
[ConsoleCommand("hi", "Says hi to you")]
public static string TestCommand()
{
return "Hi console"
}[ConsoleCommand("mycommand")]
public static void TestCommand(string[] args)
{
// Do your stuff with the args string array. (does not include the initial command)
}Last updated