{ "info": { "id": "example-plugin", "name": "Example Plugin", "authors": [ { "name": "Jiiks", "discord_id": "81388395867156480", "github_username": "Jiiks", "twitter_username": "Jiiksi" }, { "name": "Samuel Elliott", "url": "https://samuelelliott.ml", "discord_id": "284056145272766465", "github_username": "samuelthomas2774", "twitter_username": "_samuelelliott" }, { "name": "Mioni", "discord_id": "418494039050944513" }, "Just a string" ], "version": "1.0", "description": "Example Plugin Description.\n\nDescriptions are preformatted (you can use newlines).", "icon": "icon.svg", "icon_type": "image/svg+xml" }, "main": "index.js", "dependencies": { "Example Module": "1.0" }, "defaultConfig": [ { "category_default_comment": "default category has no header and is always displayed first", "id": "default", "settings": [ { "id": "array-1", "type": "array", "value": null, "text": "Test settings array", "hint": "Just a test. Inline should be left as false here in most cases. (Only set it to true if there's only one setting otherwise it takes up too much space. Or you could put it in a drawer.)", "inline": false, "min": 0, "max": 5, "settings": [ { "category_default_comment": "default category has no header and is always displayed first", "category": "default", "settings": [ { "id": "default-0", "type": "bool", "value": false, "text": "Bool Test Setting 3", "hint": "Bool Test Setting Hint 3" }, { "id": "default-1", "type": "text", "value": "defaultValue", "text": "Text Test Setting", "hint": "Text Test Setting Hint" } ] } ], "schemes": [ { "id": "scheme-1", "name": "Test scheme", "hint": "Can even use schemes here.", "icon_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Cow_female_black_white.jpg/220px-Cow_female_black_white.jpg", "settings": [ { "category": "default", "settings": [ { "id": "default-0", "value": true } ] } ] }, { "id": "scheme-2", "name": "Another test scheme", "icon_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Cow_female_black_white.jpg/220px-Cow_female_black_white.jpg", "settings": [ { "category": "default", "settings": [ { "id": "default-0", "value": false }, { "id": "default-1", "value": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Cow_female_black_white.jpg/220px-Cow_female_black_white.jpg" } ] } ] } ] }, { "id": "default-0", "type": "bool", "value": false, "text": "Bool Test Setting 3", "hint": "Bool Test Setting Hint 3" }, { "id": "default-1", "type": "text", "value": "defaultValue", "text": "Text Test Setting", "hint": "Text Test Setting Hint" }, { "id": "default-2", "type": "dropdown", "value": "opt1", "text": "Dropdown Test Setting", "hint": "Dropdown Test Setting Hint", "options": [ {"id": "opt1", "value": "opt1", "text": "Option 1"}, {"id": "opt2", "value": "opt2", "text": "Option 2"}, {"id": "opt3", "value": "opt3", "text": "Option 3"}, {"id": "opt4", "value": "opt4", "text": "Option 4"}, {"id": "opt5", "value": "opt5", "text": "Option 5"} ] }, { "id": "default-5", "type": "radio", "value": "opt1", "text": "Radio Test Setting", "hint": "Radio Test Setting Hint", "options": [ {"id": "opt1", "value": "opt1", "text": "Option 1"}, {"id": "opt2", "value": "opt2", "text": "Option 2"}, {"id": "opt3", "value": "opt3", "text": "Option 3"}, {"id": "opt4", "value": "opt4", "text": "Option 4"}, {"id": "opt5", "value": "opt5", "text": "Option 5"} ], "fullwidth": true }, { "id": "default-6", "type": "number", "value": 0, "text": "Number Test Setting", "hint": "Number Test Setting Hint" }, { "id": "test-multiline-1", "type": "text", "multiline": true, "text": "Multiline Text Test Setting", "hint": "Multiline Text Test Setting Hint" }, { "id": "test-slider-1", "type": "slider", "value": 0, "min": 0, "max": 100, "step": 1, "unit": "%", "text": "Slider Test Setting", "hint": "Slider Test Setting Hint" }, { "id": "test-slider-2", "type": "slider", "value": 0, "min": 0, "max": 100, "step": 1, "unit": "%", "points": { "0": "0%", "100": "100%" }, "text": "Slider Test Setting", "hint": "Slider with two points." }, { "id": "default-3", "type": "file", "value": null, "text": "Test File Setting 1", "hint": "File selector with the default options." }, { "id": "default-4", "type": "file", "value": null, "text": "Test File Setting 2", "hint": "File selector with custom button text and the ability to open directories and multiple items.", "dialogOptions": { "buttonLabel": "Select", "properties": [ "openFile", "openDirectory", "multiSelections" ] } } ] }, { "id": "custom-settings", "name": "Custom settings", "type": "drawer", "settings": [ { "id": "custom-1", "type": "custom", "value": false, "component": { "template": "