Command Input Event

This event is called whenever a command is executed in the game.

The commands can be prefixed by "api.", but LAPI automatically removes it before passing it to the plugins.

As usual, only application devs should call this event, DO NOT call this from your plugin

Calling

This event takes a String, being the complete command (either with or without the "api." prefix)

string myCommand = "api.plugins.list";
CommandInputEvent.Call(myCommand);

CommandListener

It's highly recommend for plugin developers to use the CommandListener to work with commands

Last updated