When a new feature is released, you can use the `livechat_version_notice` short code to display an infobox with the version with which the features is available.This short code takes the version number as parameter.Here is an example:
![Screenshot of a Peertube video page, with a chat on the right. At the bottom of the chat, there is a "{{% livechat_label login_using_external_account %}}" button.](/peertube-plugin-livechat/images/external_login_button.png?classes=shadow,border&height=200px "{{% livechat_label login_using_external_account %}} button")
These rules could be used to run arbitrary code on the server.If you are a hosting provider, and you don't want to allow Peertube admins to write such rules, you can disable the online editing by creating a `disable_mod_firewall_editing` file in the plugin directory (`plugins/data/peertube-plugin-livechat/disable_mod_firewall_editing`).This is opt-out, as Peertube admins can already run arbitrary code just by installing any plugin.You can still use mod_firewall by editing files directly on the server.
You can also edit these firewall rules directly on the server, in the `plugins/data/peertube-plugin-livechat/prosody/mod_firewall_config/` directory.File names must only contains alphanumerical characters, underscores and hyphens.The extension must be `.pfw`, or `.pfw.disabled` if you want to disable a file.Please be sure that the peertube system user has write access to these files, else the web editing interface will fail.Once you have edited these files, you must reload prosody.This can be done by saving the plugin settings, or saving the mod_firewall configuration in the web interface, or by restarting Peertube.
When you save the configuration, the server will automatically reload it, and your rules will apply immediatly.You can check that there is no parsing error in the Prosody error log.To do so, you can read the `plugins/data/peertube-plugin-livechat/prosody/prosody.err` file, or use the [diagnostic tool](/peertube-plugin-livechat/documentation/installation/troubleshooting/) that will show last Prosody errors.
Don't hesitate to share your rules.To do so, you can for example edit this [page](/peertube-plugin-livechat/contributing/document/#write-documentation).
![Screenshot of the "{{% livechat_label share_chat_link %}}" dialog, on the "{{% livechat_label share_chat_dock %}} tab. A token was generated, and is selectionable."](/peertube-plugin-livechat/images/share_dock.png?classes=shadow,border&height=200px "Share link popup - dock tab")
![Screenshot of OBS with a new dock including the chat. The user is logged in with their Peertube account, and can chat directly from OBS.](/peertube-plugin-livechat/images/obs_dock.png?classes=shadow,border&height=200px "OBS - Dock")