# Declare plugin conflicts

This feature requires version 5.0.0 or above. :::

Sometimes, you may want your plugin to not run with certain other plugins. For example, the "Hello, Dolly" plugin in the official Blessing Skin plugin cannot run at the same time as the "Yiyan" plugin, because both plugins display their own content in the same place on the page.

Therefore Blessing Skin provides a way for you to indicate which plugins cannot be run at the same time.

Through the conflictsfield under the enchants field in the ``package.jsonfile , you can declare which plugins your plugin cannot run at the same time.

E.g:

{
  "enchants" : {
    "conflicts" : {
      "a" : "*" ,
      "b" : "^3.0.0"
    }
  } 
}

As above, conflictsis a key-value pair structure. The key is the name of other plug-ins, and the value indicates which versions of the plug-in have conflicts. Semantic versions can be used here.

According to the above example, the current plug-in cannot run with any version of the aplug-in; it cannot run with the 3.xversion of the bplug-in. In other words, this will allow bplugins to run side-by-side with versions other than 3.x (such as ``2.xor 4.x) .