Added plugin command function and permission system