# Disable core plugin at startup

**URL:** https://meta.discourse.org/t/disable-core-plugin-at-startup/281451
**Category:** Self-hosting
**Created:** [October 7, 2023, 12:52pm UTC](https://meta.discourse.org/t/disable-core-plugin-at-startup/281451 "2023-10-07T12:52:38Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [October 7, 2023, 1:59pm UTC](https://meta.discourse.org/t/disable-core-plugin-at-startup/281451/7 "2023-10-07T13:59:44Z")

</div>

> [@How to remove the Discourse chat plugin completely from an install](https://meta.discourse.org/t/how-to-remove-the-discourse-chat-plugin-completely-from-an-install/250848/1):
>
> The code is disabled in the admin settings but would prefer to not waste any bits loading this plugin which we don’t plan to use. Could not find any Discourse config parameter to disable this plugin from being loaded when the container is built (now we can only disable, but the plugin code is loaded). Ideally, for us, would be to have a config variable in the container build YML file which instructs the build to omit this plugin code (searched and did not find one). Thanks

---

_[View the full topic](https://meta.discourse.org/t/disable-core-plugin-at-startup/281451)._
