Killing Floor

Killing Floor

Not enough ratings
Ubuntu 搭建自定义服务器
By soyoker
   
Award
Favorite
Favorited
Unfavorite
安装 SteamCMD
Ubuntu 系统
创建名为 steam 的用户以用于运行服务器端:
sudo useradd -m -s /bin/bash steam
安装 SteamCMD:
sudo add-apt-repository multiverse -y sudo dpkg --add-architecture i386 sudo apt update -y sudo apt-get remove needrestart -y echo steam steam/license note '' | sudo debconf-set-selections echo steam steam/question select "I AGREE" | sudo debconf-set-selections sudo apt install steamcmd -y
CentOS 系统
更多详细信息,请访问 SteamCMD Wiki
安装 Killing Floor 服务器端
下载安装 Killing Floor 服务端文件:
sudo -u steam /usr/games/steamcmd
Steam>login <你的 steam 账户> <你的 steam 密码> Steam>app_update 215360 validate Steam>quit
注:Killing Floor 服务端下载会验证账户订阅状态,所以需要登录账户。
配置 Killing Floor 服务器端
单次运行服务端,使其生成默认的配置文件:
su - steam cd Steam/steamapps/common/Killing\ Floor\ Dedicated\ Server\ -\ Linux/System/ ./ucc-bin server KF-bioticslab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 -nohomedir
分别配置管理员账户,管理员密码,游戏密码,启用网页控制台,完成基本配置:
vi KillingFloor.ini
... [Engine.GameReplicationInfo] ; 服务器名称 ServerName=Killing Floor Server ShortName=KF Server ServerRegion=0 ; 管理员账户 AdminName= xxxx AdminEmail= ; 服务器欢迎信息 MessageOfTheDay= xxxx ... [UWeb.WebServer] Applications[0]=xWebAdmin.UTServerAdmin ApplicationPaths[0]=/ServerAdmin Applications[1]=xWebAdmin.UTImageServer ApplicationPaths[1]=/images ; 改为 True 启用网站控制台 bEnabled=True ListenPort=8075 ... [Engine.AccessControl] ; 管理员密码 AdminPassword= ; 游戏密码 GamePassword= bBanByID=True ...
管理 Killing Floor 服务器端
懒人版:
screen -S KF-SERVER /home/steam/Steam/steamapps/common/Killing\ Floor\ Dedicated\ Server\ -\ Linux/System/ucc-bin server KF-bioticslab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 -nohomedir
ctrl+a+d 退出界面即可。