UserPFP Backup DB Addition (Not Default)

This commit is contained in:
thororen1234 2024-07-17 00:18:38 -04:00
parent 7913fb47be
commit 5e26c8a436

View file

@ -24,10 +24,19 @@ const settings = definePluginSettings({
],
},
urlForDB: {
type: OptionType.STRING,
type: OptionType.SELECT,
description: "Which Database url to use to load avatars, KNOW WHAT YOUR DOING",
default: "https://userpfp.github.io/UserPFP/source/data.json",
placeholder: "Default value: https://userpfp.github.io/UserPFP/source/data.json"
options: [
{
label: "UserPFP Default DB",
value: "https://userpfp.github.io/UserPFP/source/data.json",
default: true
},
{
label: "UserPFP Backup DB",
value: "https://userpfp.thororen.com/UserPFP/source/data.json"
}
]
}
});