Update to new StreamDeck SDK, bug fixes and QOL tweaks

This commit is contained in:
oitsjustjose 2025-06-12 22:01:07 -05:00
commit fc40a1b522
26 changed files with 1421 additions and 413 deletions

View file

@ -0,0 +1,9 @@
{
"Description": "Use this to create your own plugin",
"Name": "ForgeServ API Status",
"Category": "Utilities",
"net.forgeserv.api.action": {
"Name": "ForgeServ API Status",
"Tooltip": "Made by oitsjustjose 💚"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View file

@ -0,0 +1,54 @@
{
"Actions": [
{
"Controllers": ["Encoder"],
"Encoder": {
"layout": "$A1",
"TriggerDescription": {
"LongTouch": "(Does Nothing)",
"Push": "(Does Nothing)",
"Rotate": "Scrolls between servers",
"Touch": "(Does Nothing)"
}
},
"Icon": "imgs/actions/actionIcon",
"Name": "Server Status",
"PropertyInspectorPath": "ui/select-server.html",
"States": [
{
"Image": "imgs/actions/actionIcon",
"TitleAlignment": "middle"
}
],
"Tooltip": "Gets the Player Count on a given server returned by the API",
"UUID": "net.forgeserv.api.action"
}
],
"Author": "oitsjustjose",
"Category": "ForgeServ API Status",
"CategoryIcon": "imgs/plugin/pluginIcon",
"CodePath": "bin/plugin.js",
"Description": "A ForgeServ server status tool",
"Icon": "imgs/plugin/pluginIcon",
"Name": "ForgeServ API Status",
"Nodejs": {
"Debug": "enabled",
"Version": "20"
},
"OS": [
{
"MinimumVersion": "12",
"Platform": "mac"
},
{
"MinimumVersion": "10",
"Platform": "windows"
}
],
"SDKVersion": 2,
"Software": {
"MinimumVersion": "6.4"
},
"UUID": "net.forgeserv.api",
"Version": "0.1.0.0"
}

View file

@ -0,0 +1,48 @@
<!DOCTYPE html>
<html>
<head lang="en">
<title>ForgeServ Status Settings</title>
<meta charset="utf-8" />
<script src="https://sdpi-components.dev/releases/v3/sdpi-components.js"></script>
</head>
<body>
<sdpi-item label="Server Index">
<sdpi-textfield
setting="serverIndex"
type="number"
value="0"
placeholder="0"
pattern="\d*"
required
showlabels
></sdpi-textfield>
</sdpi-item>
<sdpi-item label="Refresh Frequency (Seconds)">
<sdpi-textfield
setting="refreshFrequency"
type="number"
value="5"
placeholder="5"
pattern="\d*"
required
showlabels
></sdpi-textfield>
</sdpi-item>
<sdpi-item label="Reset Timeout (Seconds)">
<sdpi-textfield
setting="resetTimeout"
type="number"
value="10"
placeholder="10"
pattern="\d*"
required
showlabels
></sdpi-textfield>
</sdpi-item>
</body>
</html>