Skip to content

Commit

Permalink
API 10.1 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Feb 3, 2024
1 parent 609951c commit 737ca64
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tgstation-server-control-panel",
"version": "5.4.3",
"tgs_api_version": "10.0.0",
"tgs_api_version": "10.1.0",
"private": true,
"homepage": "https://tgstation.github.io/tgstation-server-control-panel",
"repository": "github:tgstation/tgstation-server-control-panel",
Expand Down
9 changes: 9 additions & 0 deletions src/components/views/Instance/Edit/Server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,15 @@ function Server(props: WrappedComponentProps): JSX.Element {
DreamDaemonRights.CreateDump
)
},
minidumps: {
type: FieldType.Boolean as FieldType.Boolean,
name: "fields.instance.watchdog.minidumps",
defaultValue: watchdogSettings.minidumps,
disabled: !hasDreamDaemonRight(
instanceEditContext.instancePermissionSet,
DreamDaemonRights.SetMinidumps
)
},
allowWebClient: {
type: FieldType.Boolean as FieldType.Boolean,
name: "fields.instance.watchdog.allowwebclient",
Expand Down
3 changes: 3 additions & 0 deletions src/translations/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,8 @@
"perms.dreamdaemon.setmapthreads.desc": "Allows setting the `-map-threads` command line option.",
"perms.dreamdaemon.broadcastmessage": "Send Broadcast Messages",
"perms.dreamdaemon.broadcastmessage.desc": "Allows sending arbitrary messages from TGS clients to the running game server for broadcasting to players.",
"perms.dreamdaemon.setminidumps": "Change Core Dump Type",
"perms.dreamdaemon.setminidumps.desc": "Allows switching between creating minidumps and full core dumps.",
"perms.chatbots": "Chat Bots",
"perms.chatbots.writeenabled": "Set Enabled",
"perms.chatbots.writeenabled.desc": "Allows activation and deactivation of chat bots.",
Expand Down Expand Up @@ -773,6 +775,7 @@
"fields.instance.watchdog.autostartprofiler": "Start BYOND profiler automatically",
"fields.instance.watchdog.allowwebclient": "Allow BYOND web client connections",
"fields.instance.watchdog.logoutput": "Log DreamDaemon Output",
"fields.instance.watchdog.minidumps": "Use minidumps instead of full core dumps",
"fields.instance.watchdog.visibility": "BYOND hub visibility",
"fields.instance.watchdog.visibility.Public": "Public",
"fields.instance.watchdog.visibility.Private": "Private",
Expand Down

0 comments on commit 737ca64

Please sign in to comment.