Can’t get command to work
        [ChatCommand("rename")]
        private void RenameCommand(IPlayer player, string command, string[] args)
        {
            if (player.IsAdmin)
            {
                player.Rename(args[0]);
            }
        }

I'm trying to allow admins to change their names. Everything works if instead of args[0] i put a string like "TEST" but nothing works with args any ideas why?

ChatCommand is not a valid attribute for the signature you are using. You would need Command instead and have the plugin set to CovalencePlugin.
5e13a8d5b2bc5.jpg Wulf
ChatCommand is not a valid attribute for the signature you are using. You would need Command instead and have the plugin set to CovalencePlugin.
As always Wulf thanks for the quick response