Hey, is it possible to add commands dynamically to a plugin? I found some code but I hope there is a way to do this more easily because I just want to register a command.
The simplest way is to use PlayerCommandPreProcess and listen to this command. Real dynamic registering commands need reflection to get the CommandMap that you need to register a command.