Update to new StreamDeck SDK, bug fixes and QOL tweaks
This commit is contained in:
parent
7b599600b1
commit
fc40a1b522
26 changed files with 1421 additions and 413 deletions
9
net.forgeserv.api.sdPlugin/en.json
Normal file
9
net.forgeserv.api.sdPlugin/en.json
Normal 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 💚"
|
||||
}
|
||||
}
|
||||
BIN
net.forgeserv.api.sdPlugin/imgs/actions/actionIcon.png
Normal file
BIN
net.forgeserv.api.sdPlugin/imgs/actions/actionIcon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
BIN
net.forgeserv.api.sdPlugin/imgs/actions/actionIcon@2x.png
Normal file
BIN
net.forgeserv.api.sdPlugin/imgs/actions/actionIcon@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
BIN
net.forgeserv.api.sdPlugin/imgs/plugin/pluginIcon.png
Normal file
BIN
net.forgeserv.api.sdPlugin/imgs/plugin/pluginIcon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 88 KiB |
BIN
net.forgeserv.api.sdPlugin/imgs/plugin/pluginIcon@2x.png
Normal file
BIN
net.forgeserv.api.sdPlugin/imgs/plugin/pluginIcon@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 88 KiB |
54
net.forgeserv.api.sdPlugin/manifest.json
Normal file
54
net.forgeserv.api.sdPlugin/manifest.json
Normal 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"
|
||||
}
|
||||
48
net.forgeserv.api.sdPlugin/ui/select-server.html
Normal file
48
net.forgeserv.api.sdPlugin/ui/select-server.html
Normal 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>
|
||||
Loading…
Reference in a new issue