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:

lua\amethyst\sh\sh_conf_community.lua

You may edit your external rules url by opening:

lua\amethyst\sh\sh_conf_community.lua

Locate the following code:

{
    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
},

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).

The end result should be:

{
    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
},

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

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

Save your community config file and then do a restart.

Last updated