How do I register more than one command?


#1

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.


#2

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.


#3

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.