diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-08-15 23:47:37 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-08-15 23:47:37 +0200 |
commit | 4d02db3f2be204b6bd4450b07935dc8f989f1f00 (patch) | |
tree | c778190a5f397d1a87ab034bff213a610318edce | |
parent | fde7205b204cc32b09288a6ea1abeaa38f79a551 (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>
-rw-r--r-- | modules/services/starbound.nix | 11 |
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 { |