Index: TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/GamePrefs.openapi.yaml
===================================================================
--- TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/GamePrefs.openapi.yaml	(revision 463)
+++ TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/GamePrefs.openapi.yaml	(revision 463)
@@ -0,0 +1,144 @@
+openapi: 3.1.0
+info:
+  title: GamePrefs
+  version: '1'
+
+components:
+  schemas:
+    GamePrefElementInt:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - WebDashboardPort
+        type:
+          type: string
+          const: 'int'
+        value:
+          type: integer
+          examples:
+            - 8000
+        default:
+          type: integer
+          examples:
+            - 8080
+      required:
+        - name
+        - type
+        - value
+        - default
+
+    GamePrefElementFloat:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - SaveDataLimit
+        type:
+          type: string
+          const: 'float'
+        value:
+          type: number
+          format: float
+          examples:
+            - 150
+        default:
+          type: number
+          format: float
+          examples:
+            - -1
+      required:
+        - name
+        - type
+        - value
+        - default
+
+    GamePrefElementBool:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - EnableMapRendering
+        type:
+          type: string
+          const: 'bool'
+        value:
+          type: boolean
+          examples:
+            - true
+        default:
+          type: boolean
+          examples:
+            - false
+      required:
+        - name
+        - type
+        - value
+        - default
+
+    GamePrefElementString:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - GameWorld
+        type:
+          type: string
+          const: 'string'
+        value:
+          type: string
+          examples:
+            - Navezgane
+        default:
+          type: string
+          examples:
+            - ''
+      required:
+        - name
+        - type
+        - value
+        - default
+
+    GamePrefList:
+      type: array
+      items:
+        anyOf:
+          - $ref: '#/components/schemas/GamePrefElementInt'
+          - $ref: '#/components/schemas/GamePrefElementFloat'
+          - $ref: '#/components/schemas/GamePrefElementBool'
+          - $ref: '#/components/schemas/GamePrefElementString'
+
+
+paths:
+  /api/gameprefs:
+    get:
+      tags:
+        - ServerState
+      summary: GamePrefs list
+      description: Fetch a list of GamePrefs
+      operationId: GamePrefs.get
+      responses:
+        200:
+          description: List of GamePrefs
+          content:
+            application/json:
+              schema:
+                type: object
+                properties:
+                  data:
+                    $ref: '#/components/schemas/GamePrefList'
+                  meta:
+                    $ref: './openapi.yaml#/components/schemas/ResultEnvelopeMeta'
+                required:
+                  - data
+                  - meta
+        403:
+          $ref: './openapi.yaml#/components/responses/Unauthorized'
+      security:
+        - apiTokenName: [ ]
+          apiTokenSecret: [ ]
+        - sessionCookie: [ ]
Index: TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/GameStats.openapi.yaml
===================================================================
--- TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/GameStats.openapi.yaml	(revision 463)
+++ TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/GameStats.openapi.yaml	(revision 463)
@@ -0,0 +1,123 @@
+openapi: 3.1.0
+info:
+  title: GameStats
+  version: '1'
+
+components:
+  schemas:
+    GameStatElementInt:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - TimeOfDayIncPerSec
+        type:
+          type: string
+          const: 'int'
+        value:
+          type: integer
+          examples:
+            - 6
+      required:
+        - name
+        - type
+        - value
+
+    GameStatElementFloat:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - GameDifficultyBonus
+        type:
+          type: string
+          const: 'float'
+        value:
+          type: number
+          format: float
+          examples:
+            - 1
+      required:
+        - name
+        - type
+        - value
+
+    GameStatElementBool:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - IsSpawnEnemies
+        type:
+          type: string
+          const: 'bool'
+        value:
+          type: boolean
+          examples:
+            - true
+      required:
+        - name
+        - type
+        - value
+
+    GameStatElementString:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - GameWorld
+        type:
+          type: string
+          const: 'string'
+        value:
+          type: string
+          examples:
+            - Navezgane
+      required:
+        - name
+        - type
+        - value
+
+    GameStatList:
+      type: array
+      items:
+        anyOf:
+          - $ref: '#/components/schemas/GameStatElementInt'
+          - $ref: '#/components/schemas/GameStatElementFloat'
+          - $ref: '#/components/schemas/GameStatElementBool'
+          - $ref: '#/components/schemas/GameStatElementString'
+
+
+paths:
+  /api/gamestats:
+    get:
+      tags:
+        - ServerState
+      summary: GameStats list
+      description: Fetch a list of GameStats
+      operationId: GameStats.get
+      responses:
+        200:
+          description: List of GameStats
+          content:
+            application/json:
+              schema:
+                type: object
+                properties:
+                  data:
+                    $ref: '#/components/schemas/GameStatList'
+                  meta:
+                    $ref: './openapi.yaml#/components/schemas/ResultEnvelopeMeta'
+                required:
+                  - data
+                  - meta
+        403:
+          $ref: './openapi.yaml#/components/responses/Unauthorized'
+      security:
+        - apiTokenName: [ ]
+          apiTokenSecret: [ ]
+        - sessionCookie: [ ]
Index: TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/ServerInfo.openapi.yaml
===================================================================
--- TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/ServerInfo.openapi.yaml	(revision 463)
+++ TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/ServerInfo.openapi.yaml	(revision 463)
@@ -0,0 +1,117 @@
+openapi: 3.1.0
+info:
+  title: ServerInfo
+  version: '1'
+
+components:
+  schemas:
+    ServerInfoElementInt:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - TimeOfDayIncPerSec
+        type:
+          type: string
+          const: 'int'
+        value:
+          type: integer
+          examples:
+            - 6
+      required:
+        - name
+        - type
+        - value
+
+    ServerInfoElementFloat:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - GameDifficultyBonus
+        type:
+          type: string
+          const: 'float'
+        value:
+          type: number
+          format: float
+          examples:
+            - 1
+      required:
+        - name
+        - type
+        - value
+
+    ServerInfoElementBool:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - IsSpawnEnemies
+        type:
+          type: string
+          const: 'bool'
+        value:
+          type: boolean
+          examples:
+            - true
+      required:
+        - name
+        - type
+        - value
+
+    ServerInfoElementString:
+      type: object
+      properties:
+        name:
+          type: string
+          examples:
+            - GameWorld
+        type:
+          type: string
+          const: 'string'
+        value:
+          type: string
+          examples:
+            - Navezgane
+      required:
+        - name
+        - type
+        - value
+
+    ServerInfoList:
+      type: array
+      items:
+        anyOf:
+          - $ref: '#/components/schemas/ServerInfoElementInt'
+          - $ref: '#/components/schemas/ServerInfoElementFloat'
+          - $ref: '#/components/schemas/ServerInfoElementBool'
+          - $ref: '#/components/schemas/ServerInfoElementString'
+
+
+paths:
+  /api/serverinfo:
+    get:
+      tags:
+        - ServerState
+      summary: ServerInfo
+      description: Fetch the ServerInfo
+      operationId: ServerInfo.get
+      responses:
+        200:
+          description: List of ServerInfo data
+          content:
+            application/json:
+              schema:
+                type: object
+                properties:
+                  data:
+                    $ref: '#/components/schemas/ServerInfoList'
+                  meta:
+                    $ref: './openapi.yaml#/components/schemas/ResultEnvelopeMeta'
+                required:
+                  - data
+                  - meta
Index: TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/ServerStats.openapi.yaml
===================================================================
--- TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/ServerStats.openapi.yaml	(revision 463)
+++ TFP-WebServer/WebServer/src/WebAPI/APIs/ServerState/ServerStats.openapi.yaml	(revision 463)
@@ -0,0 +1,52 @@
+openapi: 3.1.0
+info:
+  title: ServerStats
+  version: '1'
+
+components:
+  schemas:
+    ServerStatsObject:
+      type: object
+      properties: 
+        gameTime:
+          $ref: './openapi.yaml#/components/schemas/TypeGameTimeObject'
+          description: Current in-game time
+        players:
+          type: integer
+          description: Currently logged in players
+        hostiles:
+          type: integer
+          description: Currently active hostiles, including hostile animals
+        animals:
+          type: integer
+          description: Currently active (non-hostile) animals
+      required:
+        - gameTime
+        - players
+        - hostiles
+        - animals
+
+
+paths:
+  /api/serverstats:
+    get:
+      tags:
+        - ServerState
+      summary: ServerStats
+      description: Fetch the current server stats
+      operationId: ServerStats.get
+      responses:
+        200:
+          description: Server stats
+          content:
+            application/json:
+              schema:
+                type: object
+                properties:
+                  data:
+                    $ref: '#/components/schemas/ServerStatsObject'
+                  meta:
+                    $ref: './openapi.yaml#/components/schemas/ResultEnvelopeMeta'
+                required:
+                  - data
+                  - meta
