

#Rocketchat code block install
Make sure to actually clone the repo, since you will probably need to add some code to it in order to make your new functionality work.Īfter that, cd into Rocket.Chat folder and run: meteor npm install PATH_TO_APPS_ENGINE Now, you need to setup a local Rocket.Chat server, so head to the project's README for instructions on getting started (if you haven't already). When developing new functionalities, you need to integrate the local version of the Apps-Engine with your local version of Rocket.Chat.įirst of all, make sure you've installed all required packages and compiled the changes you've made to the Apps-Engine, since that is what Rocket.Chat will execute: npm install npm run compile Some features the Engine allows Apps to use:

Send messages to users and livechat visitors.The Apps-Engine is Rocket.Chat's plugin framework - it provides the APIs for Rocket.Chat Apps to interact with the host system. What does the Apps-Engine enable you to do? Simple interface with settings and checkbox to allow/disallow them. Idea is to allow the implementer to have a default set of restricted ones while letting the admin/owner of the server to restrict it even further or lift the restriction on some more. The implementer of this should restrict the server setting access and environmental variables.The language strings are only done on the clients ( TAPi18next.addResourceBundle(lang, projectName, translations) ).Apps which don't provide a valid uuid4 id will be assigned one, but this is not recommended and your App should provide an id.Icon image and text: that allows using an image or a text to trigger the chat block.This option solves the problem of having a persistent chat window.Ĭhat user block: Provides a block with an image or text trigger to open/close the chat block. It comes with the same configurations as the previous block with the following additions: New window options: Allows opening the Rocket.Chat iFrame in a new window.Show the embedded version of the chat inside the iFrame: Activates the "Embedded" version of the Rocket.

#Rocketchat code block password
Chat password of the admin Then save.Ĭonfiguring the Chat Accounts configuration
