Added a new plugin function to get slot number of command invoker, fixed plugin's error messages and plugin's names.