MRCI/docs/internal_commands.md
Maurice ONeal e7ea316bc0 Full documentation update and minor changes
-the add_mod command now requires the -mod_path argument as it should.
-the session now filter out bad NEW_CMD frames based on bad command names and incorrect
 frame sizes.
-modules running in list mode can now send ERR frames to the session to log error
 messages to the host database.
2019-11-16 13:08:02 -05:00

185 lines
9.5 KiB
Markdown

### 7.1 Internal Commands ###
The host is extendable via 3rd party modules but the host itself have it's own internal module that load commands with direct access to the host database and several internal power functions that external commands would otherwise not have direct access to.
* [auth](intern_commands/auth.md) - login to the host using a registered user account name or email address.
* [ls_cmds](intern_commands/ls_cmds.md) - list all available commands for your current session.
* [my_info](intern_commands/my_info.md) - display information about your current session and your account.
* [recover_acct](intern_commands/recover_acct.md) - reset a user account password.
* [request_pw_reset](intern_commands/request_pw_reset.md) - request a password reset for a user account.
* [accept_ch](intern_commands/accept_ch.md) - accept an invite to a channel to become a regular member of it.
* [add_acct](intern_commands/add_acct.md) - create a new host user account.
* [add_ban](intern_commands/add_ban.md) - add an ip address to the host ban list.
* [add_cert](intern_commands/add_cert.md) - install a new SSL/TLS cert into the host from a local cert and private key file.
* [add_ch](intern_commands/add_ch.md) - create a new channel.
* [add_group](intern_commands/add_group.md) - create a new host group.
* [add_mod](intern_commands/add_mod.md) - upload a new module to install into the host.
* [add_ranked_cmd](intern_commands/add_ranked_cmd.md) - assign a rank to a command object name.
* [add_rdonly_flag](intern_commands/add_rdonly_flag.md) - add a read only flag to a certain sub-channel and privilege level.
* [add_sub_ch](intern_commands/add_sub_ch.md) - create a new sub-channel within a channel.
* [cast](intern_commands/cast.md) - broadcast text/data to all sessions listening to any matching sub-channels.
* [cert_info](intern_commands/cert_info.md) - display detailed information about an installed SSL/TLS certificate.
* [ch_owner_override](intern_commands/ch_owner_override.md) - set/unset the channel owner override flag for your current session.
* [close_host](intern_commands/close_host.md) - close the host instance.
* [close_sub_ch](intern_commands/close_sub_ch.md) - close a sub-channel for your current session.
* [cmd_info](intern_commands/cmd_info.md) - display detailed information about a command.
* [decline_ch](intern_commands/decline_ch.md) - decline an invite to a channel.
* [find_ch](intern_commands/find_ch.md) - search for channels within the host based on the channel name or channel id.
* [force_set_email](intern_commands/force_set_email.md) - overwrite/change the email address of another user's account.
* [fs_cd](intern_commands/fs_cd.md) - display or change the current directory for the current session.
* [fs_copy](intern_commands/fs_copy.md) - copy a file system object (file,directory,symlink) from one location to another.
* [fs_delete](intern_commands/fs_delete.md) - attempt to delete a file system object (file,directory,symlink) in the host.
* [fs_download](intern_commands/fs_download.md) - download a single file from the host.
* [fs_info](intern_commands/fs_info.md) - get detailed information about a file system object (file,directory,symlink) in the host.
* [fs_list](intern_commands/fs_list.md) - list all files or sub-directories in a directory.
* [fs_mkpath](intern_commands/fs_mkpath.md) - attempt to create a directory and all sub-directories of a given path.
* [fs_move](intern_commands/fs_move.md) - move/rename a file system object (file,directory,symlink) from one location to another.
* [fs_tree](intern_commands/fs_tree.md) - list all files and sub-directories of an entire directory tree.
* [fs_upload](intern_commands/fs_upload.md) - upload a single file to the host.
* [host_config](intern_commands/host_config.md) - view/change various host settings.
* [host_info](intern_commands/host_info.md) - display system information about the host.
* [invite_to_ch](intern_commands/invite_to_ch.md) - invite a host user to join a channel.
* [is_email_verified](intern_commands/is_email_verified.md) - check if your email address is verified.
* [lock_acct](intern_commands/lock_acct.md) - lock user account.
* [ls_act_log](intern_commands/ls_act_log.md) - display or manage the client activity log.
* [ls_auth_log](intern_commands/ls_auth_log.md) - display or manage the host authorization activity log.
* [ls_bans](intern_commands/ls_bans.md) - display or manage the host ip address ban table.
* [ls_certs](intern_commands/ls_certs.md) - display a list of all SSL/TLS certificates installed in the host database.
* [ls_ch_members](intern_commands/ls_ch_members.md) - list all members in a channel.
* [ls_chs](intern_commands/ls_chs.md) - list all channels you are currently a member of and all pending invites.
* [ls_dbg](intern_commands/ls_dbg.md) - display debug messages from the host instance and all session instances.
* [ls_groups](intern_commands/ls_groups.md) - list all groups currently registered in the host.
* [ls_mods](intern_commands/ls_mods.md) - list all available modules currently installed in the host.
* [ls_open_chs](intern_commands/ls_open_chs.md) - list all of the sub-channels that are currently open.
* [ls_p2p](intern_commands/ls_p2p.md) - list all p2p connections and pending p2p request you currently have.
* [ls_ranked_cmds](intern_commands/ls_ranked_cmds.md) - list all command names with assigned host ranks.
* [ls_rdonly_flags](intern_commands/ls_rdonly_flags.md) - list all read only flags currently present for a channel.
* [ls_sub_chs](intern_commands/ls_sub_chs.md) - list all sub-channels within a channel you currently a member of.
* [ls_users](intern_commands/ls_users.md) - list all users currently registered in the host database.
* [open_sub_ch](intern_commands/open_sub_ch.md) - open a sub-channel to send/receive broadcasted data to/from other peers.
* [p2p_close](intern_commands/p2p_close.md) - close the p2p connection with the client given in this command or decline a p2p request.
* [p2p_open](intern_commands/p2p_open.md) - accept the p2p request you may have received from another client connected to the host.
* [p2p_request](intern_commands/p2p_request.md) - send out a p2p request to the client session id given in this command.
* [pause](intern_commands/pause.md) - pause the current task that the command is running.
* [ping_peers](intern_commands/ping_peers.md) - ping all peer sessions with any matching sub-channels to return information about themselves to you.
* [preview_email](intern_commands/preview_email.md) - preview the confirmation or password reset emails with dummy values.
* [remove_ch_member](intern_commands/remove_ch_member.md) - remove a user as a member of a channel you currently a member of or cancel an invite.
* [rename_ch](intern_commands/rename_ch.md) - rename a channel.
* [rename_sub_ch](intern_commands/rename_sub_ch.md) - rename a sub-channel within a channel.
* [request_new_pw](intern_commands/request_new_pw.md) - enable/disable a password change request for a user on next login.
* [request_new_user_name](intern_commands/request_new_user_name.md) - enable/disable a user name change request for a user on next login.
* [restart_host](intern_commands/restart_host.md) - re-start the host instance.
* [resume](intern_commands/resume.md) - resumes the current task that the command is running.
* [rm_acct](intern_commands/rm_acct.md) - delete a user account from the host database.
* [rm_ban](intern_commands/rm_ban.md) - remove an ip address from the ban list.
* [rm_cert](intern_commands/rm_cert.md) - remove the SSL/TLS cert associated with the given common name.
* [rm_ch](intern_commands/rm_ch.md) - permanently remove a channel and all of it's sub-shannels from the host.
* [rm_mod](intern_commands/rm_mod.md) - uninstall a module from the host.
* [rm_ranked_cmd](intern_commands/rm_ranked_cmd.md) - remove a rank from a command object name.
* [rm_rdonly_flag](intern_commands/rm_rdonly_flag.md) - remove a read only flag from a certain sub-channel privilege level combination.
* [rm_sub_ch](intern_commands/rm_sub_ch.md) - remove a sub-channel within a channel.
* [set_active_flag](intern_commands/set_active_flag.md) - set or unset the active update flag of a sub-channel.
* [set_disp_name](intern_commands/set_disp_name.md) - change your account display name.
* [set_email](intern_commands/set_email.md) - change the user account email address.
* [set_email_template](intern_commands/set_email_template.md) - set the email template used by the host to send emails for user account resets and confirmations.
* [set_group](intern_commands/set_group.md) - change a user account's group.
* [set_group_rank](intern_commands/set_group_rank.md) - set the host rank of a group.
* [set_member_level](intern_commands/set_member_level.md) - set the user privilege levels of a channel member. (lower the value, the higher the privilege)
* [set_pw](intern_commands/set_pw.md) - change your account password.
* [set_sub_ch_level](intern_commands/set_sub_ch_level.md) - set the lowest privilege level that members need to be in order to open a certain sub-channel.
* [set_user_name](intern_commands/set_user_name.md) - change your account user name.
* [term](intern_commands/term.md) - terminate the current task that the command is running.
* [to_peer](intern_commands/to_peer.md) - send/receive any data directly with a client connected to the host that has accepted your p2p request or the peer's p2p request.
* [trans_group](intern_commands/trans_group.md) - transfer all user accounts from one group to another.
* [verify_email](intern_commands/verify_email.md) - verify your email address by sending a confirmation code to it.