> For the complete documentation index, see [llms.txt](https://amethyst.rlib.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://amethyst.rlib.io/internal/rules.md).

# Rules

## ◾ About

The **url value** for your **rules** in the addon config file has not been set.

**Open your addon's config file** and set the url to a website which contains your network's rules; OR set your config to use text-based rules instead.

## ◾ Modifying

You may edit your **text-based rules** by opening:

&#x20;      **`lua\amethyst\sh\sh_conf_community.lua`**

You may edit your **external rules url** by opening:

&#x20;      **`lua\amethyst\sh\sh_conf_community.lua`**

Locate the following code:

{% tabs %}
{% tab title="lua\amethyst\sh\sh\_conf\_community.lua" %}

```lua
{
    Enabled         = true,
    Name            = cfg.RulesTitle,
    Desc            = cfg.RulesDesc,
    Icon            = cfg.RulesButton,
    func            = function( ) base:CommunityAction( cfg.RulesTitle, cfg.RulesText, false, true ) end
},
{
    Enabled         = false,
    Name            = cfg.RulesTitle,
    Desc            = cfg.RulesDesc,
    Icon            = cfg.RulesButton,
    func            = function( ) base:CommunityAction( cfg.RulesTitle, cfg.RulesLink, false, false ) end
},
```

{% endtab %}
{% endtabs %}

The top setting uses text-based rules; whereas the bottom one allows for external websites.

Change the top setting's **`Enabled`** param to false; followed by the bottom setting's **`Enabled`** param to true (flipping them).&#x20;

The end result should be:

{% tabs %}
{% tab title="lua\amethyst\sh\sh\_conf\_community.lua" %}

```lua
{
    Enabled         = false,
    Name            = cfg.RulesTitle,
    Desc            = cfg.RulesDesc,
    Icon            = cfg.RulesButton,
    func            = function( ) base:CommunityAction( cfg.RulesTitle, cfg.RulesText, false, true ) end
},
{
    Enabled         = true,
    Name            = cfg.RulesTitle,
    Desc            = cfg.RulesDesc,
    Icon            = cfg.RulesButton,
    func            = function( ) base:CommunityAction( cfg.RulesTitle, cfg.RulesLink, false, false ) end
},
```

{% endtab %}
{% endtabs %}

To edit the URL you wish to use for your external rules website; modify:

{% tabs %}
{% tab title="lua\amethyst\sh\sh\_conf\_community.lua" %}

```lua
cfg.RulesLink  = 'https://amethyst.rlib.io/internal/rules'
```

{% endtab %}
{% endtabs %}

Save your community config file and then do a restart.
