pg9182 / northstar-dedicated

Docker image for the Northstar dedicated server.
https://ghcr.io/pg9182/northstar-dedicated
zlib License
101 stars 18 forks source link

How to configure a map rotation through maps in northstar #103

Open jamesla opened 8 months ago

jamesla commented 8 months ago

Given the following how do I give it a set of maps to rotate through, while staying in gungame??

Currently when the map ends it switches to attrition

---
version: '3'
services:
  titanfall2-gungame:
    image: ghcr.io/pg9182/northstar-dedicated:1-tf2.0.11.0
    pull_policy: always
    environment:
      - NS_PORT=37015
      - NS_SERVER_NAME=Test
      - |
        NS_EXTRA_ARGUMENTS=
          +setplaylist private_match 
          +mp_gamemode gg
          +map mp_glitch
          +ns_should_return_to_lobby 0
          +net_compresspackets_minsize 64
          +net_compresspackets 1
          +spewlog_enable 0
          +sv_maxrate 127000
          +ns_auth_allow_insecure 1
    volumes:
      - /home/james/Titanfall2:/mnt/titanfall:ro
      - /home/james/Titanfall2/mods:/mnt/mods:ro
    ports:
      - '37015:37015/udp'
jamesla commented 7 months ago

bump @GeckoEidechse ☝️

GeckoEidechse commented 7 months ago

Sorry, forgot to respond to this. I think the most common approach to achieve a specific map rotation is to use the MapSelect mod from Thunderstore.

+map only specifies the initial map, after that it follows rotation specified in the playlist. No clue why it jumped to Attrition as the gamemode for you though.