squad战术小队steam服务器搭建教程。
squad战术⼩队steam服务器搭建教程。
squad战术⼩队steam服务器搭建教程
本篇⽂章采⽤的是windows server 2016环境搭建
准备环境
准备⼀台windows server服务器
下载所需的软件及脚本 也可参考wiki上⾯的⽂档安装:
Visual C++ Redistributable for Visual Studio 2013 vc_
Visual C++ Redistributable for Visual Studio 2015 vc_
DirectX End-User Runtimes (June 2010)
上⾯⼏个软件装完后可以安装steamcmd
企业理念
安装steamcmd
developer.valvesoftware/wiki/SteamCMD#Downloading_SteamCMD
下⾯截图是我准备好的,后⾯也会有打包下载。
安装SteamCMD
双击安装
安装完成后会显⽰Loading Steam API…ok(安装完成后关掉cmd命令窗⼝)
steamcmd安装完后在steam⽂件夹内会出现以下⽂件:
安装squad服务端
安装启动squad会⽤到下⾯三个⽂件
更新调⽤⽂档
// -> Start of “”
@ShutdownOnFailedCommand 1 // -> set to 0 if updating multiple servers at once
@NoPromptForPassword 1 // -> disables promt for password on execution
login anonymous // -> logs in with steams public anonymous account
// -> Your Server instance
force_install_dir D:\Servers\SquadServer // -> will create a folder named “squad_server” in SteamCMDs parent directory app_update 403240 validate // -> will update the squad server and validate the files recived
// -> End of the Script
quit
update server.bat 游戏下载/更新脚本
SET STEAMCMD=D:\
SET SQUADSERVER=D:\servers\
SET UPDATESCRIPT=D:\steam\
start %STEAMCMD% +runscript %UPDATESCRIPT%
exit
start server.bat 启动服务端脚本
SET STEAMCMD=D:\
SET SQUADSERVER=D:\servers\
SET UPDATESCRIPT=D:\steam\
start %SQUADSERVER% Port=7787 QueryPort=27165 FIXEDMAXPLAYERS=80 RANDOM=ALWAYS -log exit
1-安装squadserver
双击update server.bat下载squad服务端,下载完成后命令窗⼝会⾃动关闭(⼤概下载20分钟左右吧,看⽹速)
2-基本配置
服务器名称/服务器⼈数/服务器权限等
D:\servers\squadserver\SquadGame\ServerConfig
Admins.cfg 设置权限之类的
/
Valid access levels are as follows
startvote - not used
changemap
pause - Pause server gameplay
cheat - Use server cheat commands
private - Password protect server
balance - Group Ignores server team balance中国十大木地板
chat - Admin chat and Server broadcast
kick
ban
config - Change server config
cameraman - Admin spectate mode
immune - Cannot be kicked / banned
manageserver - Shutdown server
featuretest - Any features added for testing by dev team
reserve - Reserve slotyy礼包
demos - Record Demos on the server side via admin commands
clientdemos - Record Demos on the client side via commands or the replay UI.
debug - show admin stats command and other debugging info
teamchange - No timer limits on team change
forceteamchange - Can issue the ForceTeamChange command
canseeadminchat - This group can see the admin chat and teamkill/admin-join notifications
/
/
// The Format for adding groups is:
// Group=:<Permission 1>,<Permission 2>,<Permission 3>
//
// For example:
// Group=MyGroup: pause, demos, changemap
/
/
// The groups below are the defaults, add to or change them as needed:
/
Group=Admin:kick,ban,changemap,balance
Group=Moderator:kick,ban,balance
/
// The format for adding admins is:
// Admin=<Steam ID #>:
/
Server.cfg 设置服务器名字,⼈数之类的
ServerName=“♥[CN] SCYUN>萌新欢乐对战平台[插件平衡]#1”
/
/ Control visibility in the server browser
ShouldAdvertise=truewinkawaks金手指
// Set the server to LAN mode
IsLANMatch=false
// Max player count on the server
MaxPlayers=90
// Number of reserved slots for admins / members
NumReservedSlots=0
// Size of the server queuing, for regular user
PublicQueueLimit=25
// Map rotation mode: it can be
/
/ LevelList(use order in level rotation config file)
// LayerList (use order in layer rotation config file)
// or
// LevelList_Randomized
// LayerList_Randomized
// which are randomized version of previous options
MapRotationMode=LayerList
// Should the Map/Layer rotations list be randomized at start?
RandomizeAtStart=true
// Should Faction be voted for on generic layers? Randomized if false.
UseVoteFactions=false
/
/ Should next Map be voted for at end of round?
UseVoteLevel=false
// Should next Layer be voted for at end of round?
UseVoteLayer=false
// Completly Allow or Disallow Team change to all players. Only user with Level_Balance access level can bypass this flag AllowTeamChanges=true
// If set to false, players can change teams regardless of team balance. Otherwise, the NumPlayersDiffForTeamChanges Value is used
PreventTeamChangeIfUnbalanced=true
// Maximum Allowed difference in player count between teams. This takes into account the team the player leaves and the team the player joins
NumPlayersDiffForTeamChanges=3
RejoinSquadDelayAfterKick=180
RecordDemos=falsednf弹药用什么武器
// Whether public clients are allowed to record.
// If you do not want public clients to record, but you do want to allow certain ones to, you can give the admin access level “ClientDemos”.
// There is a difference between “ClientDemos” and “Demos”. “Demos” allows access to server commands for recording server-sided demos, while “ClientDemos” only allows clientside demos (no admin commands) AllowPublicClientsToRecord=false
ServerMessageInterval=300
// Forces the server to do non-seamless travel (disconnect when changing maps) every X seconds
// ForceNonSeamlessTravelIntervalSeconds=43200
// The following are required for Licensed servers, but can be changed for non-licensed servers
TKAutoKickEnabled=true
AutoTKBanNumberTKs=7
AutoTKBanTime=300
VehicleKitRequirementDisabled=false
AllowCommunityAdminAccess=true
// Only Offworld Industries developers are admins
AllowDevProfiling=true
AllowQA=true
宝宝取名字// The below commands are optional for all servers
VehicleClaimingDisabled=false
ServerMessages.cfg 服务器公屏公告滚屏显⽰
License.cfg 这个是认证服务器永的许可证<,申请的话去这⾥
3-启动服务端
上⾯都整完了,可以启动squad服务了。
双击 start server.bat ⽂件启动服务,确定>安装⼀个UE4
如果安装时出现⽆法安装.NET Framework 请根据我下⾯的步骤来安装这个。
[s][p]
安装.NET Framework 3.5/2.0/3.0
左边开始->控制⾯板->启⽤或关闭windows功能
[/p]
安装完成后重启⼀下服务器吧
再次双击启动脚本 start server.bat
我服务器做过认证,在服务器浏览器⾥⾯能到,如果没有申请认证那么在⾃定义浏览器⾥⾯。

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。