Skip to content

Plugin Functions

Caleb K edited this page Apr 7, 2026 · 2 revisions

Plugin Functions

Here are some ways your plugin can interact and modify MusiWeb!

Displaying Content

In your Javascript, display([contentJSON, title]) will display the JSON file provided in contentJSON. That JSON file should look like this:

    {
        "item-main-1": "",
        "item-main-2": "",
        "item-main-3": "",
        "item-main-4": "",
        "item-main-5": "",
        "item-main-6": "",
        "item-main-7": "",
        "item-main-8": "",
        "item-main-9": "",
        "item-main-10": "",
        "item-main-11": "",
        "item-main-12": "",
        "item-main-13": "",
        "item-main-14": "",
        "item-main-15": "",
        "item-main-16": "",
        "item-main-17": "",
        "item-main-18": "",
        "item-main-19": "",
        "item-main-20": "",
        "item-main-21": "",
        "info-infobox": ""

    }

unfinished...

Clone this wiki locally