How do I register more than one command?

Hi!

I have setup multiple classes for different commands but only the original class is being registered in game? Do I need a class that registers all the commands in one go and then directs to the executor class or is it something different?

Thanks.

Can you show your code?

Generally you have your main plugin class listen to one of the game initialization events that registers all your commands.

Thanks for your reply but as I was submitting my post, I started to think about it and I believe what you have said is what I have done. It appears to be working now.

1 Like