# Plugin development: site settings "enabled" checkbox not working

**URL:** <https://meta.discourse.org/t/plugin-development-site-settings-enabled-checkbox-not-working/65460>\
**Category:** Development\
**Created:** [2 Julio, 2017 10:37 UTC](https://meta.discourse.org/t/plugin-development-site-settings-enabled-checkbox-not-working/65460 "2017-07-02T10:37:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)\
**Post date:** [2 Julio, 2017 10:37 UTC](https://meta.discourse.org/t/plugin-development-site-settings-enabled-checkbox-not-working/65460/1 "2017-07-02T10:37:09Z")

</div>

I declared a `myplugin_enabled` site setting in `config/settings.yml`, `config/locales/server.en.yml` and `plugin.rb` (as described [here](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-3-custom-settings/31115)),.  
However, I’ve recently discovered that unchecking the box doesn’t disable my plugin. The plugin is loaded - and works correctly, including accessing other site settings - whatever the checkbox state.  
Any hint?

---

_[View the full topic](https://meta.discourse.org/t/plugin-development-site-settings-enabled-checkbox-not-working/65460)._
