fixes (changelog in readme)
This commit is contained in:
parent
699a2560cc
commit
fa31ec93c6
6 changed files with 36 additions and 14 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
docker stop sandstorm-modmap
|
docker stop sandstorm-modmap
|
||||||
docker rm sandstorm-modmap
|
docker rm sandstorm-modmap
|
||||||
docker pull andrewmhub/insurgency-sandstorm
|
docker pull andrewmhub/insurgency-sandstorm
|
||||||
docker run -d --restart always --env-file /home/user/coop-modmap/modmap.env \
|
docker run -d --restart unless-stopped --env-file /home/user/coop-modmap/modmap.env \
|
||||||
--name sandstorm-modmap --net=host \
|
--name sandstorm-modmap --net=host \
|
||||||
-v /home/user/coop-modmap/Mods:/home/steam/steamcmd/sandstorm/Insurgency/Mods:rw \
|
-v /home/user/coop-modmap/Mods:/home/steam/steamcmd/sandstorm/Insurgency/Mods:rw \
|
||||||
-v /home/user/coop-modmap/config/ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer:ro \
|
-v /home/user/coop-modmap/config/ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer:ro \
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@ RUN apt-get update && apt-get install --no-install-recommends --no-install-s
|
||||||
apt-get clean autoclean && \
|
apt-get clean autoclean && \
|
||||||
apt-get autoremove -y && \
|
apt-get autoremove -y && \
|
||||||
rm -rf /var/lib/{apt,dpkg} /var/{cache,log} && \
|
rm -rf /var/lib/{apt,dpkg} /var/{cache,log} && \
|
||||||
su "steam" -c "./home/steam/steamcmd/steamcmd.sh +login anonymous +force_install_dir /home/steam/steamcmd/sandstorm/ +app_update 581330 validate +quit && \
|
su "steam" -c "./home/steam/steamcmd/steamcmd.sh +force_install_dir /home/steam/steamcmd/sandstorm/ +login anonymous +app_update 581330 validate +quit && \
|
||||||
mkdir -p /home/steam/steamcmd/sandstorm/Insurgency/Saved/SaveGames"
|
mkdir -p /home/steam/steamcmd/sandstorm/Insurgency/Saved/SaveGames"
|
||||||
WORKDIR /home/steam/steamcmd
|
WORKDIR /home/steam/steamcmd
|
||||||
USER steam
|
USER steam
|
||||||
ENTRYPOINT /home/steam/steamcmd/steamcmd.sh +login anonymous +force_install_dir /home/steam/steamcmd/sandstorm/ +app_update 581330 +quit && \
|
ENTRYPOINT /home/steam/steamcmd/steamcmd.sh +force_install_dir /home/steam/steamcmd/sandstorm/ +login anonymous +app_update 581330 +quit && \
|
||||||
/home/steam/steamcmd/sandstorm/Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping -hostname="$HOSTNAME" -Port=$PORT -QueryPort=$QUERYPORT ${LAUNCH_SERVER_ENV}
|
/home/steam/steamcmd/sandstorm/Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping -hostname="$HOSTNAME" -Port=$PORT -QueryPort=$QUERYPORT ${LAUNCH_SERVER_ENV}
|
||||||
|
|
|
||||||
30
README.md
30
README.md
|
|
@ -9,6 +9,18 @@
|
||||||
</p>
|
</p>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Changelog</summary>
|
||||||
|
|
||||||
|
```
|
||||||
|
Feb 17, 2022
|
||||||
|
some fixes in modmap.env
|
||||||
|
mod.io token moved from Engine.ini to GameUserSettings.ini (because NWI)
|
||||||
|
fixed steam warning in dockerfile "Please use force_install_dir before logon!"
|
||||||
|
changed readme
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
This repository contains a docker image with a dedicated server for Insurgency Sandstorm that you can fully customize to your need for COOP and PVP servers.
|
This repository contains a docker image with a dedicated server for Insurgency Sandstorm that you can fully customize to your need for COOP and PVP servers.
|
||||||
|
|
||||||
This image will be build daily so you don’t have to update anything inside a container. I tried to build the image as “best-practice” as possible and to document everything for you.
|
This image will be build daily so you don’t have to update anything inside a container. I tried to build the image as “best-practice” as possible and to document everything for you.
|
||||||
|
|
@ -31,6 +43,14 @@ docker run -d --restart always --env-file /home/user/coop-modmap/modmap.env \
|
||||||
```
|
```
|
||||||
Examples config files in directory [config](https://github.com/AndrewMarchukov/insurgency-sandstorm-server-dockerize/tree/master/config)
|
Examples config files in directory [config](https://github.com/AndrewMarchukov/insurgency-sandstorm-server-dockerize/tree/master/config)
|
||||||
|
|
||||||
|
Optional launch options:
|
||||||
|
|
||||||
|
```-NoEAC``` have problem with EAC just disable it
|
||||||
|
|
||||||
|
```-nominidumps``` some crash dump handler that uploads crash information to insurgency devs servers this option disable it
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### docker-compose.yml example
|
### docker-compose.yml example
|
||||||
```dockerfile
|
```dockerfile
|
||||||
version: '3.7'
|
version: '3.7'
|
||||||
|
|
@ -57,7 +77,7 @@ services:
|
||||||
HOSTNAME=[ISMC] MOD MAPS ONLY @120hz
|
HOSTNAME=[ISMC] MOD MAPS ONLY @120hz
|
||||||
PORT=12345
|
PORT=12345
|
||||||
QUERYPORT=54321
|
QUERYPORT=54321
|
||||||
LAUNCH_SERVER_ENV=-MapCycle=MapCycle -Mods ModList=Mods.txt -mutators=ISMCarmory_legacy,ImprovedAI,NoRestrictedArea,ScaleBotAmount,AdvancedSupplyPoints,WelcomeMessage,JoinLeaveMessage,FpLegs,JumpShoot -GameStatsToken=my_token -GameStats -GSLTToken=my_token -ModDownloadTravelTo=TORO?Scenario=Scenario_TORO_Checkpoint_Security
|
LAUNCH_SERVER_ENV=-MapCycle=MapCycle -Mods -ModList=Mods.txt -mutators="ISMCarmory_legacy,ImprovedAI,NoRestrictedArea,ScaleBotAmount,AdvancedSupplyPoints,WelcomeMessage,JoinLeaveMessage,FpLegs,JumpShoot" -GameStatsToken=my_token -GameStats -GSLTToken=my_token -ModDownloadTravelTo=TORO?Scenario=Scenario_TORO_Checkpoint_Security
|
||||||
```
|
```
|
||||||
|
|
||||||
## Server auto update
|
## Server auto update
|
||||||
|
|
@ -65,9 +85,9 @@ Autoupdate game server. This script will keep your game servers automaticly upda
|
||||||
|
|
||||||
Requirements: [rcon-cli](https://github.com/gorcon/rcon-cli/releases)
|
Requirements: [rcon-cli](https://github.com/gorcon/rcon-cli/releases)
|
||||||
```
|
```
|
||||||
wget https://github.com/gorcon/rcon-cli/releases/download/v0.9.1/rcon-0.9.1-amd64_linux.tar.gz
|
wget https://github.com/gorcon/rcon-cli/releases/download/v0.10.1/rcon-0.10.1-amd64_linux.tar.gz
|
||||||
tar -xvzf rcon-0.9.1-amd64_linux.tar.gz
|
tar -xvzf rcon-0.10.1-amd64_linux.tar.gz
|
||||||
cp rcon-0.9.1-amd64_linux/rcon /usr/local/bin/
|
cp rcon-0.10.1-amd64_linux/rcon /usr/local/bin/
|
||||||
```
|
```
|
||||||
|
|
||||||
Get restart script example
|
Get restart script example
|
||||||
|
|
@ -93,7 +113,7 @@ systemctl start my-server-check.service
|
||||||
## Tips and Tricks
|
## Tips and Tricks
|
||||||
### How to save RAM on UE4 Linux(Docker) dedicated server
|
### How to save RAM on UE4 Linux(Docker) dedicated server
|
||||||
|
|
||||||
if you launch multiple servers on same host you can save some memory, on 2 servers more than 1gb memory saved.
|
if you launch multiple servers on same host you can save some memory, on 2 game servers more than 1gb memory saved.
|
||||||
|
|
||||||
Make sure that parameter set on 1 after host reboot
|
Make sure that parameter set on 1 after host reboot
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,3 @@
|
||||||
[/Script/ModKit.ModIOClient]
|
|
||||||
bHasUserAcceptedTerms=True
|
|
||||||
bCachedUserDetails=True
|
|
||||||
AccessToken=my_token
|
|
||||||
|
|
||||||
[/Script/OnlineSubsystemUtils.IpNetDriver]
|
[/Script/OnlineSubsystemUtils.IpNetDriver]
|
||||||
MaxInternetClientRate=100000
|
MaxInternetClientRate=100000
|
||||||
MaxClientRate=100000
|
MaxClientRate=100000
|
||||||
|
|
|
||||||
7
config/ini/GameUserSettings.ini
Normal file
7
config/ini/GameUserSettings.ini
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
[/Script/ModKit.ModIOClient]
|
||||||
|
bHasUserAcceptedTerms=True
|
||||||
|
AccessToken=write_here_modio_token
|
||||||
|
AccessExpiryTime=-1
|
||||||
|
bCachedUserDetails=False
|
||||||
|
CachedUser=(ID=0,NameId="",Username="",DateOnline=0,Avatar=(Thumb_50x50="",Thumb_100x100="",Filename="",Original=""),Timezone="",Language="",ProfileUrl="")
|
||||||
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
HOSTNAME=[ISMC] MOD MAPS ONLY @120hz
|
HOSTNAME=[ISMC] MOD MAPS ONLY @120hz
|
||||||
PORT=12345
|
PORT=12345
|
||||||
QUERYPORT=54321
|
QUERYPORT=54321
|
||||||
LAUNCH_SERVER_ENV=-MapCycle=MapCycle -Mods ModList=Mods.txt -mutators=ISMCarmory_legacy,ImprovedAI,NoRestrictedArea,ScaleBotAmount,AdvancedSupplyPoints,WelcomeMessage,JoinLeaveMessage -GameStatsToken=my_token -GameStats -GSLTToken=my_token -ModDownloadTravelTo=TORO?Scenario=Scenario_TORO_Checkpoint_Security
|
LAUNCH_SERVER_ENV=-MapCycle=MapCycle -Mods -ModList=Mods.txt -mutators="ISMCarmory_legacy,ImprovedAI,NoRestrictedArea,ScaleBotAmount,AdvancedSupplyPoints,WelcomeMessage,JoinLeaveMessage" -GameStatsToken=my_token -GameStats -GSLTToken=my_token -ModDownloadTravelTo=TORO?Scenario=Scenario_TORO_Checkpoint_Security
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue