about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-08-15 23:47:37 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-08-15 23:47:37 +0200
commit4d02db3f2be204b6bd4450b07935dc8f989f1f00 (patch)
treec778190a5f397d1a87ab034bff213a610318edce /modules/services
parentfde7205b204cc32b09288a6ea1abeaa38f79a551 (diff)
modules/starbound: Add "maxTeamSize" option
This option has been added in the nightly prior to Starbound 1.0.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/starbound.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/services/starbound.nix b/modules/services/starbound.nix
index ce7ecd24..0058cda0 100644
--- a/modules/services/starbound.nix
+++ b/modules/services/starbound.nix
@@ -35,7 +35,8 @@ let
     }) cfg.users;
 
     inherit (cfg)
-      allowAssetsMismatch maxPlayers safeScripts serverName serverFidelity;
+      allowAssetsMismatch maxPlayers maxTeamSize safeScripts serverName
+      serverFidelity;
 
     clearPlayerFiles = false;
     clearUniverseFiles = false;
@@ -269,6 +270,14 @@ in {
         Maximum amount of players to allow concurrently.
       '';
     };
+
+    maxTeamSize = mkOption {
+      type = types.int;
+      default = 4;
+      description = ''
+        Maximum amount of players to allow within a party.
+      '';
+    };
   } // mkListenerOptions "game server" 21025;
 
   config = mkIf cfg.enable {