Hi guys, I wrote a small plugin that should create a picture and a button when writing a command to the console. But the problem is that when I write the command to the console, nothing happens. What am I doing wrong? Tried writing [ConsoleCommand] and just [Command], but nothing worked. I attach the code below.
[ConsoleCommand("menuify")]
private void cmdOpen(BasePlayer player)
{
CuiHelper.AddUi(player, cui_openMore);
}