Skip to content

Navigation & Rules

The left navigation bar is generated dynamically from the sections object in config/config.js. Each section can be shown or hidden individually.

The sections

js
sections: {
    "first-theme":  { enabled: true, title: "RULES",   icon: "gavel",               description: "..." },
    "second-theme": { enabled: true, title: "GALLERY", icon: "collections_bookmark", description: "..." },
    "third-theme":  { enabled: true, title: "TEAM",    icon: "groups",              description: "..." },
    "four-theme":   { enabled: true, title: "UPDATE",  icon: "browser_updated",     description: "..." },
    "five-theme":   { enabled: true, title: "NEWS",    icon: "newspaper",           description: "..." },
},
FieldDescription
enabledtrue shows the section (button + content), false hides it entirely
titleLabel shown in the navigation bar
iconA Google Material Symbols icon name
descriptionSubtitle shown below the section title

TIP

When a section is disabled (enabled: false), the others rearrange automatically. You could, for example, keep only RULES and NEWS.

The five keys (first-themefive-theme) map to the five sections of the script:

KeySectionDetail page
first-themeRulesbelow
second-themeGalleryGallery & Team
third-themeTeamGallery & Team
four-themeUpdates / PatchnotesDiscord patchnotes
five-themeNewsNews

Rules section

The RULES section lists your server's roleplay rules via the rules object.

js
rules: {
    title: "RULES",
    elements: [
        {
            title: "Mass RP",
            description: "Play your character realistically, avoid breaking RP immersion.",
        },
        {
            title: "Power Gaming (PG)",
            description: "Do not force unrealistic or impossible actions.",
        },
        // ...
    ],
},
FieldDescription
titleSection title (header)
elementsArray of rules
elements[].titleRule name
elements[].descriptionDetailed explanation of the rule

Add / edit a rule

Add or edit an object in elements. There is no strict limit to the number of rules; the list scrolls if needed.

js
{
    title: "Combat Logging",
    description: "Do not leave the game to escape an RP situation.",
},