This tutorial aims to show you how to create custom console commands using the new console attributes.
Console commands are method attributes, that means that you just have to add [ConsoleCommand(name: "...", docs:"...")] or [ConsoleCommand("...","...")] above your method.
The name argument is the command name itself.
The docs argument is the command description.
Your method does not need to be public but it needs to be static!
If you want to get the arguments of your command when its ran you can simply add a string[] parameter named args as shown below.
1
[ConsoleCommand(name:"useful",docs:"this command is useful.")]