-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 30edc3e
Showing
4 changed files
with
239 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM 32bit/debian:jessie AS base | ||
RUN apt-get -y update && \ | ||
apt-get -y install ca-certificates wget unzip && \ | ||
mkdir soldat && \ | ||
wget https://static.soldat.pl/downloads/soldatserver2.8.1_1.7.1.zip && \ | ||
unzip soldatserver2.8.1_1.7.1.zip -d soldat && \ | ||
chmod +x soldat/soldatserver && \ | ||
chmod -R 0777 soldat/logs && \ | ||
chmod -R u+w soldat/logs/ && \ | ||
chmod -R u+w soldat/anti-cheat/ && \ | ||
chmod 666 soldat/banned*.txt | ||
ADD ./config/ /soldat/ | ||
RUN chmod +x soldat/start.sh | ||
|
||
FROM 32bit/debian:jessie | ||
MAINTAINER Kristian Dahl Kærgaard <[email protected]> | ||
COPY --from=base /soldat /soldat | ||
RUN useradd -ms /bin/bash soldat && \ | ||
chown -R soldat:soldat /soldat | ||
USER soldat | ||
EXPOSE 23073 | ||
EXPOSE 23083 | ||
WORKDIR /soldat | ||
CMD ./start.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
Aero | ||
Airpirates | ||
Arena | ||
Arena2 | ||
Arena3 | ||
Bigfalls | ||
Blox | ||
Bridge | ||
Bunker | ||
Cambodia | ||
CrackedBoot | ||
Daybreak | ||
DesertWind | ||
Factory | ||
Flashback | ||
HH | ||
Island2k5 | ||
Jungle | ||
Krab | ||
Lagrange | ||
Leaf | ||
MrSnowman | ||
RatCave | ||
Rok | ||
Shau | ||
Tropiccave | ||
Unlim | ||
Veoto | ||
ctf_Ash | ||
ctf_B2b | ||
ctf_Blade | ||
ctf_Campeche | ||
ctf_Cobra | ||
ctf_Crucifix | ||
ctf_Death | ||
ctf_Division | ||
ctf_Dropdown | ||
ctf_Equinox | ||
ctf_Guardian | ||
ctf_Hormone | ||
ctf_IceBeam | ||
ctf_Kampf | ||
ctf_Lanubya | ||
ctf_Laos | ||
ctf_MFM | ||
ctf_Maya | ||
ctf_Mayapan | ||
ctf_Nuubia | ||
ctf_Raspberry | ||
ctf_Rotten | ||
ctf_Ruins | ||
ctf_Run | ||
ctf_Scorpion | ||
ctf_Snakebite | ||
ctf_Steel | ||
ctf_Triumph | ||
ctf_Viet | ||
ctf_Voland | ||
ctf_Wretch | ||
ctf_X | ||
htf_Arch | ||
htf_Baire | ||
htf_Boxed | ||
htf_Desert | ||
htf_Dorothy | ||
htf_Dusk | ||
htf_Erbium | ||
htf_Feast | ||
htf_Mossy | ||
htf_Muygen | ||
htf_Niall | ||
htf_Nuclear | ||
htf_Prison | ||
htf_Rubik | ||
htf_Star | ||
htf_Tower | ||
htf_Void | ||
htf_Vortex | ||
htf_Zajacz | ||
inf_Abel | ||
inf_April | ||
inf_Argy | ||
inf_Belltower | ||
inf_Biologic | ||
inf_Changeling | ||
inf_Flute | ||
inf_Fortress | ||
inf_Industrial | ||
inf_Messner | ||
inf_Moonshine | ||
inf_Motheaten | ||
inf_Outpost | ||
inf_Rescue | ||
inf_Rise | ||
inf_Warehouse | ||
inf_Warlock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
[GAME] | ||
Debug_Mode=0 | ||
Respawn_Time=60 | ||
MinWaveRespawn_Time=120 | ||
MaxWaveRespawn_Time=240 | ||
Deathmatch_Limit=30 | ||
Pointmatch_Limit=30 | ||
Teammatch_Limit=60 | ||
Capture_Limit=10 | ||
Rambomatch_Limit=30 | ||
Infiltration_Limit=90 | ||
Hold_Limit=80 | ||
GameStyle=#GAME_STYLE# | ||
Friendly_Fire=1 | ||
Guns_Collide=1 | ||
Kits_Collide=1 | ||
Loop_Maps=1 | ||
Bonus_Frequency=2 | ||
Bonus_FlameGod=0 | ||
Bonus_Predator=0 | ||
Bonus_Berserker=0 | ||
Bonus_Vest=1 | ||
Bonus_Cluster=1 | ||
Time_Limit=10 | ||
Survival_Mode=0 | ||
Survival_Clear_Weapons=0 | ||
Realistic_Mode=0 | ||
Weapons_Mode=0 | ||
Weapon_1=1 | ||
Weapon_2=1 | ||
Weapon_3=1 | ||
Weapon_4=1 | ||
Weapon_5=1 | ||
Weapon_6=1 | ||
Weapon_7=1 | ||
Weapon_8=1 | ||
Weapon_9=1 | ||
Weapon_10=1 | ||
Weapon_11=1 | ||
Weapon_12=1 | ||
Weapon_13=1 | ||
Weapon_14=1 | ||
Max_Grenades=3 | ||
Random_Bots=0 | ||
Random_Bots_1=0 | ||
Random_Bots_2=0 | ||
Random_Bots_3=0 | ||
Random_Bots_4=0 | ||
Logging=1 | ||
Stationary_Guns=0 | ||
Bullet_Time=0 | ||
NoSniperLine=1 | ||
Advance_Amount=1 | ||
Blue_Points_Time=5 | ||
Red_Points_Capture=30 | ||
HTF_Points_Time=5 | ||
Radio=1 | ||
AntiSpy_Chat=0 | ||
|
||
[NETWORK] | ||
Port=23073 | ||
Max_Players=#MAX_PLAYERS# | ||
Default_Remote_Host= | ||
Game_Password=#GAME_PASSWORD# | ||
Admin_Password=#ADMIN_PASSWORD# | ||
Connection=LAN | ||
Lobby_Register=0 | ||
ASE_Register=0 | ||
Lobby_IP= | ||
Server_Name=#SERVER_NAME# | ||
Clanmatch=0 | ||
Internet_Connection=3 | ||
Greeting_Message=Welcome to the NPF FFA Soldat servers | ||
Greeting_Message2=FriendlyFire is enabled | ||
Greeting_Message3=Be awesome to each other, and nuke some faces! | ||
Server_Info= | ||
Min_Ping=0 | ||
Max_Ping=300 | ||
Balance_Teams=#BALANCE_TEAMS# | ||
Dont_Forward=0 | ||
Vote_Percent=60 | ||
Compression=1 | ||
Max_Spectators=16 | ||
Spectator_Chat=1 | ||
Allow_Download=1 | ||
MaxConnections=50 | ||
Flooding_Packets_LAN=80 | ||
Flooding_Packets_Internet=42 | ||
Vote_Cheat_Warnings=8 | ||
Max_KnifeCheat_Warnings=14 | ||
Disable_AntiCheat_Kick=0 | ||
LogFilesUpdate=300 | ||
Max_Flood_Warnings=4 | ||
Max_Ping_Warnings=10 | ||
T1_Snapshot=35 | ||
T1_MajorSnapshot=19 | ||
T1_DeadSnapshot=50 | ||
T1_Heartbeat=135 | ||
T1_Delta=4 | ||
T1_Ping=21 | ||
T1_ThingSnapshot=31 | ||
External_Anti_Cheat=0 | ||
Disable_Minimap=1 | ||
Advanced_Spectate=1 | ||
|
||
[BOTS] | ||
Difficulty=50 | ||
Chat=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env sh | ||
|
||
sed -i \ | ||
-e "s/#GAME_STYLE#/${GAME_STYLE:-"3"}/g" \ | ||
-e "s/#MAX_PLAYERS#/${MAX_PLAYERS:-"32"}/g" \ | ||
-e "s/#GAME_PASSWORD#/${GAME_PASSWORD:-""}/g" \ | ||
-e "s/#ADMIN_PASSWORD#/${ADMIN_PASSWORD:-"changeme123"}/g" \ | ||
-e "s/#SERVER_NAME#/${SERVER_NAME:-"Just another FFA"}/g" \ | ||
-e "s/#BALANCE_TEAMS#/${BALANCE_TEAMS:-"1"}/g" soldat.ini | ||
|
||
./soldatserver -p 23073 -l ${MAX_PLAYERS:-"32"} |