added random generatd world to 7dtd and increasd xp, not deployed yet

This commit is contained in:
2026-09-20 18:16:40 -06:00
parent 1f7f25a750
commit d429053aa4
3 changed files with 22 additions and 21 deletions

View File

@@ -1,2 +1,2 @@
[internal-apps]
internal-apps
internal-apps ansible_user=boxswapper ansible_become_password="bQ4Sxf5Ycrw#7ag4j$"

View File

@@ -47,22 +47,22 @@
state: absent
when: sdtd_mods | length == 0
- name: Create 7 Days to Die Mods directory (container user)
ansible.builtin.file:
path: /opt/apps/7dtd/serverfiles/Mods
state: directory
owner: '1000'
group: '1000'
mode: '0755'
# - name: Create 7 Days to Die Mods directory (container user)
# ansible.builtin.file:
# path: /opt/apps/7dtd/serverfiles/Mods
# state: directory
# owner: '1000'
# group: '1000'
# mode: '0755'
- name: Deploy 7 Days to Die mods from vendored zips
ansible.builtin.unarchive:
src: "mods/{{ item }}"
dest: /opt/apps/7dtd/serverfiles/Mods
owner: '1000'
group: '1000'
mode: '0755'
loop: "{{ sdtd_mods }}"
# - name: Deploy 7 Days to Die mods from vendored zips
# ansible.builtin.unarchive:
# src: "mods/{{ item }}"
# dest: /opt/apps/7dtd/serverfiles/Mods
# owner: '1000'
# group: '1000'
# mode: '0755'
# loop: "{{ sdtd_mods }}"
- name: Template 7 Days to Die serverconfig from vars.yml
ansible.builtin.template:

View File

@@ -1,3 +1,4 @@
## add generic 755 directory for application here
directories:
- /opt/apps/npm
@@ -166,21 +167,21 @@ sdtd_telnet_password: HDRSEsueredu3rf3
## Change the seed + set sdtd_game_world: RWG for a fresh random-gen world on first boot
## (Navezgane = built-in map, instant start, no generation time).
sdtd_servername: "Boxswapper 7DTD"
sdtd_server_description: "You wiill die in 7 Days, retard"
sdtd_server_description: "You will die in 7 Days, retard"
sdtd_website_url: ""
sdtd_region: NorthAmericaEast
sdtd_language: English
## Visibility of this server: 2 = public, 1 = only shown to friends, 0 = not listed. As you are never friend of a dedicated server setting this to "1" will only work when the first player connects manually by IP.
sdtd_visibility: "0"
sdtd_visibility: "1"
## SteamNetworking disabled = direct connect via forwarded ports (correct setup for this box);
## leave empty ("" ) to allow the Steam relay fallback if port forwards break.
sdtd_disabled_network_protocols: SteamNetworking
sdtd_port: 26900
sdtd_max_players: 8
sdtd_game_mode: GameModeSurvival
sdtd_game_world: Navezgane
sdtd_game_world: RWG
sdtd_worldgen_seed: boxswapper
sdtd_worldgen_size: 8192
sdtd_worldgen_size: 10240
sdtd_game_name: Boxswapper
## Difficulty: 0 = Scavenger, 1 = Adventurer, 2 = Nomad, 3 = Warrior, 4 = Survivalist, 5 = Insane
sdtd_difficulty: "2"
@@ -207,6 +208,6 @@ sdtd_eac_enabled: "true"
## ADDS mods — retiring to an EMPTY list wipes the whole server Mods dir; swapping one mod
## for another (non-empty list) requires removing the retired folder from the box by hand.
sdtd_mods: []
sdtd_xp_multiplier: 100
sdtd_xp_multiplier: 500
sdtd_telnet_enabled: "true"