Updated/added configs, start.bash, and banlist.txt

This commit is contained in:
Caleb Fultz 2023-11-12 17:00:48 -05:00
parent ad7ce8f2f8
commit 6bc5a5d21d
4 changed files with 75 additions and 5 deletions

View File

@ -33,7 +33,10 @@ COPY /player/ /home/zandronum/player/
COPY /iwad/ /home/zandronum/iwad/ COPY /iwad/ /home/zandronum/iwad/
COPY /wad/ /home/zandronum/wad/ COPY /wad/ /home/zandronum/wad/
RUN wget -O /home/zandronum/config/masterbanlist.txt https://zandronum.com/banlist && cat masterbanlist.txt >> /home/zandronum/player/banlist.txt # RUN wget -O /home/zandronum/config/masterbanlist.txt https://zandronum.com/banlist && \
# cat masterbanlist.txt >> /home/zandronum/player/banlist.txt
# Zandronum has a config 'sv_enforcemasterlist'
# so this isnt needed unless you want a local static copy
USER root USER root
RUN chown -R zandronum:zandronum /home/zandronum RUN chown -R zandronum:zandronum /home/zandronum

10
bin/start.bash Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
#borrowed from mccarrmb/docker-doom on Github
zandronum-server \
-host \
-port 10666 \
-iwad "/home/zandronum/iwad/$IWAD" \
+exec "/home/zandronum/config/$CONFIG" \
+CrashLog_Dir "/home/zandronum/logs/$SERVER_NAME.log" \
+CrashLogs 2 \
+map "$START_MAP"

61
config/default.cfg Normal file
View File

@ -0,0 +1,61 @@
//game options
skill 4
deathmatch 0
fraglimit 0
timelimit 0
winlimit 0
pointlimit 0
duellimit 0
sv_weaponstay true
sv_itemrespawn true
sv_coop_losekeys false
sv_coop_loseinventory false
sv_coop_loseweapons false
sv_coop_loseammo false
sv_barrelrespawn true
sv_weapondrop true
sv_nojump true
sv_nocrouch true
sv_randomcoopstarts true
sv_disallowbots true
sv_defaultdmflags false
sv_killallmonsters_percentage 95
//community
sv_website "https://github.com/cfultz/doom-docker"
sv_motd "This server is running Zandronum on Docker"
sv_hostemail admin@your-domain.com
//host settings
sv_hostname "Zandronum on Docker"
sv_maxplayers 12
sv_maxclients 12
sv_broadcast 0
sv_maprotation false
sv_randommaprotation false
//master server settings
sv_updatemaster true
sv_masterip master.zandronum.com:15300
sv_enforcemasterbanlist true
//logging
logfile ./log.txt
sv_markchatlines true
sv_logfilenametimestamp false
sv_showlauncherqueries false
//administration
sv_adminlistfile "/home/zandronum/player/adminlist.txt"
sv_banexemptionfile "/home/zandronum/player/whitelist.txt"
sv_banfile "/home/zandronum/player/banlist.txt"
sv_enforcebans true
sv_rconpassword "rcon_password"
sv_password "connect_password"
sv_joinpassword "join_password"
sv_forcejoinpassword false
sv_forcepassword false
sv_nocallvote false
//startup map
map E1M1

View File

@ -1,6 +1,2 @@
// This is your ban list // This is your ban list
10.1.2.*: "test block" - 10.1.2.253 - enter some reason - date of ban - type of ban (ex: perm, indefinite) 10.1.2.*: "test block" - 10.1.2.253 - enter some reason - date of ban - type of ban (ex: perm, indefinite)
// This is the master Zandronum List //