Packages
conch
Connects the vm, compiler, parser and analysis into a useable package. This should be the entry point to every conch installation on Roblox.
conch_analysis
Implements the analysis parts of conch and is used to handle autocomplete and suggestions.
conch_ast
Implements the parser that generates the abstract syntax tree necessary for Conch's language.
conch_standalone
Exclusive to the rbxm install of conch, conch_standalone bundles conch so that it's all self-contained. It inherits conch, but adds the ui part of conch under conch.ui
.
Conch
conch.register
Registers a new command that can be executed by any user.
conch.register_type
Registers a new type that can then be displayed on both the client and server. This is primarily useful for people wanting to add their own
conch.initiate_default_lifecycle
Initiates conch and creates the necessary connections so that everything works properly.
conch.set_role_permissions
Used by the role system, this allows you to give a set amount of permissions to a specific role. It's recommended to keep all roles and permissions stored inside a module
conch.has_permissions
Allows you to check if a user has the required permissions to perform a certain command. You can use this to limit the extent that commands can be used for certain roles.
conch.get_command_context
Returns information about the currently executing command, like the executing user. This will be available within the thread the command executes in.
UI
ui.bind_to
Binds the activation of Conch's UI to the given UserInput or KeyCode enum. This also conveniently mounts the UI if it hasn't been mounted yet.