Steam Support Wiki
 
 

Setting up a Steam Source Dedicated Server

 
 

指南:建立Steam Source专用服务器

该页面正在建设中。请访问 技术支持页面 以获得更多技术支持信息(英文)。

该页面的内容由 Steam 支持部门和 Steam 用户社区共同维护 - 请小心任何连至外部网站的链接。

Steam 支持部门不会以任何理由向您索取您的 Steam 帐号密码,也绝对不会要求您将您的 Steam 帐号密码输入网站页面。

您必须创建一个Steam帐号来运行您的专用服务器。如果您希望获得更多说明,请查看主题安装Steam。若您想用您的常用Steam帐号运行专用服务器,那么您将不能使用该正好加入您的服务器进行游戏。

请注意 您的服务器帐号中不用注册任何游戏就能够建立游戏主机。

创建服务器

Source 专有服务器软件可以用作以下游戏 (除去 The Ship 以及 SiN Episodes: Emergence) 的主机:


配置菜单选项

  • Game - 选择你想架设主机的游戏
  • Server Name - 设置主机名称, 名称会显示在 Steam 的服务器浏览器中
  • Map - 设置你想使用的地图 (你必须启动服务器以使本选项可选)
  • Network - 如果你不想允许任何在你的网络外的玩家加入游戏, 选择 LAN; 如果你允许网络外的玩家加入游戏, 选择 Internet
  • Max Players - 设置服务器允许的最大玩家数
  • UDP Port - 设置你希望服务器使用的端口 (默认端口为: 27015)
  • RCON Password - 设置远程服务器管理员密码
  • Secure (Valve Anti-Cheat) - 点选此选项将启用 Valve Anti-Cheat System (VAC) (Valve 反作弊系统) 检测并阻挡在你服务器上的作弊玩家; 取消此选项可允许所有玩家加入

当你配置好服务器设置后, 在 Start Dedicated Server 窗口下, 点击 Start Server 按钮即可开始运行服务器.


Half-Life 专有服务器选项

当你启动 Half-Life 专有服务器后, 你可以在不重启服务器的前提下更改下列菜单选项:

  • 服务器名称
  • 地图
  • 网络设置
  • RCON 密码
  • 玩家密码
  • 地图循环

双击相应名称以更改某个值.


主标签

Main (主标签) 包含了大部分当你启动服务器时的设置, 但同时也包含了两个新的设置:

  • Player Password - 指定一个密码, 玩家必须输入此密码才可进入服务器. 如果你希望只与你的朋友进行游戏, 这就是一个不错的选项
  • Map Cycle - 指定你想玩的若干地图以及它们的排序. 这些地图将依照你的地图时间限制或最多胜利数量限制进行循环. 时间或胜利限制选项可在选项标签中找到


选项标签

Configure (选项标签) 允许你管理游戏中的设置.

  • Time limit - 指定每个地图的游戏时间 (默认值: 无限)
  • Win limit (rounds) - 指定某一方的胜利数量限制, 当胜利数量达到数值则将更换地图 (默认值: 无限)
  • Round limit (rounds) - 指定回合数量限制, 当回合数量达到数值则将更换地图 (默认值: 无限)
  • Time per round (minutes) - 指定每一回合的时间限制 (默认值: 5 分钟)
  • Freeze time (seconds) - 指定每回合开始前的时间 (默认值: 6 秒)
  • Buy Time (minutes) - 指定每回合购买区域处于激活状态的时间 (默认值: 1.5 分钟)
  • Starting Money - 指定每一方开始游戏时的金钱数量 (默认值: $800)
  • Footsteps - 指定玩家是否可听到其他玩家的脚步声 (默认值: 开启)
  • Death camera type - 指定玩家死后的观察视角
    • Spectate Anyone - 玩家可观察任意玩家 (此选项为默认值)
    • Spectate team only - 玩家可观察本方的任意玩家
    • Only First Person - 玩家只能观察几个有限的区域. 玩家不能跟踪任何其他玩家, 或是在地图中自由移动
  • Disable chase/death cam (fade to black) - 玩家死后屏幕将陷入黑暗 (默认值: 关闭)
  • Friendly fire - 玩家可伤害本方队员 (默认值: 关闭)
  • Kill Team killers round after TK - 指定当玩家杀死队友后是否在下局开始时自动死亡 (默认值: 关闭)
  • Kick idle and team killing (3TKs) players - 玩家在一定时间内没有动作将被踢出服务器; 玩家杀害三名或三名以上队友将被踢出服务器 (默认值: 开启)
  • Kick players who team kill at this early in the round (seconds) - 指定服务器将在回合开始时杀死队友的玩家踢出服务器的时间 (默认值: 5(秒))
  • Kick hostage killers (kills allowed, 0 is off) - 指定玩家可杀死的最大人质数, 超过此数量将被踢出服务器 (默认值: 13)
  • Allow Flashlight - 玩家可以使用手电 (默认值: 关闭)


统计标签

Steam Half-Life 专有服务器提供了多种可视统计表. 你可以最近游戏分钟, 小时或者日观看统计. 要加入某项统计数据, 在对话框右侧的对话框中点选相应选项即可.

你可以通过改动 Vertical Units 来显示任意统计数据的范围.

Display Options (显示选项)

  • Players - 显示玩家人数统计信息
  • Ping - 显示服务器 Ping 值
  • In - 显示 ping in
  • Out - 显示 ping out
  • CPU - 显示 CPU 占用率
  • FPS - 显示每秒帧数

玩家标签

Players (玩家标签) 显示所有当前在服务器上的玩家. 你可以使用玩家菜单踢出或者禁止玩家进入服务器.

  • Kick - 被踢出的玩家将掉离服务器
  • Ban - 你可以选择暂时或永久禁止玩家进入服务器. 你可以手动输入一个 IP 地址或者使用玩家的 Steam ID 来禁止玩家

禁止标签

Bans (禁止标签) 允许你管理被禁止的玩家列表. 你可以移除或者编辑被禁止的时间限制.

  • Add - 点击 Add 键在列表中增加一个玩家, 你需要该玩家的 IP 地址或者 SteamID
  • Remove - 如需要移除一个被禁止的玩家, 选择该玩家, 并点击 Remove 键.
  • Edit - 编辑一个玩家的被禁止时间
  • Import' - 引入一个禁止列表 (如果你下载了一个禁止列表, 或者从另一个服务器上保存了一份禁止列表, 你可以将该列表从这里加入你的服务器)

控制台标签

Console (控制台) 可将服务器的所有活动打印出来.

你也可以利用控制台输入服务器指令.

  • maps <partial name> - 列出所有包含某段字母的地图 (例如: maps de_ 将显示所有包含字段 de_ 的文件)
  • users - 显示所有连接端用户列表
  • addip <minutes> <IP> - 禁止某 IP 地址的玩家指定的分钟数 (输入 0 分钟将永久禁止该 IP 地址)
  • banid <minutes> <SteamID> - 禁止某 SteamID 的玩家指定的分钟数 (输入 0 分钟将永久禁止该 SteamID)
  • changelevel <map> - 更改服务器当前地图为名为 <map> 的地图
  • dropclient <UserID> - 将用户名为 UserID 的玩家踢出服务器
  • heartbeat - 手动发送一个 heartbeat 指令到主服务器
  • info <SteamID> - 显示目标客户端的用户基于 SteamID 的信息
  • kick <Player> or kick <UserID> - 踢出目标名称或 UserID 的玩家
  • listid - 列出所有服务器上被禁止玩家的 SteamID
  • listip - 列出所有服务器上被禁止玩家的 IP 地址



Interested in assisting with translation? Apply to become a Steam Support Wiki Translator
English content to translate (START)

You must create a Steam account to run your dedicated server. If you would like instructions, please see the Installing Steam topic. If you attempt to run a dedicated server from your normal Steam account, you will not be able to joint your server using the same account.

Note: You do not need to register any games to your server account in order to host games.




Create a Server

The Source Dedicated Server software can be used to host the following games (with the exceptions of The Ship and SiN Episodes: Emergence):


Configure Menu Options

  • Game - Select the Source game that you would like to host
  • Server Name - Set the name which will appear for your server under the Steam server browser
  • Map - Set the map which you would like to serve (you must start the server to enable this option)
  • Network - Select LAN if you do not wish to allow players outside your home network to join the game or select Internet to allow players from other networks to join
  • Max Players - Sets the maximum number of players allowed on the server
  • UDP Port - Sets the port which you would like the server to use (Default: 27015)
  • RCON Password - Set a password to allow for remote server administration
  • Secure (Valve Anti-Cheat) - Check this box to enable the Valve Anti-Cheat System (VAC) to detect and block cheaters on your server or un-check the box to allow all players to join

Once you have configured your server's settings in the Start Dedicated Server window, click the Start Server button to create your server.


Half-Life Dedicated Server Options

After you have started your Half-Life Dedicated Server, you can change the following menu options without restarting the server:

  • Server Name
  • Map
  • Network
  • RCON Password
  • Player Password
  • Map Cycle

To edit a value, double-click on its name.


Main Tab

The Main tab includes many of the settings you specified when starting the server, but there are also two new settings you can specify:

  • Player Password - Specifies a password players must enter in order to play on your server. This is a good option to implement if you wish to play only with your friends
  • Map Cycle - Specifies the maps you wish to play and the order in which they appear. The maps will cycle according to either your Map time limit or Max win settings available from the Configure tab


Configure Tab

The Configure tab allows you to manage in-game options.

  • Time limit - Specifies a time limit on each map (Default: no limit)
  • Win limit (rounds) - Specifies a limit on wins one team can have before a map change (Default: no limit)
  • Round limit (rounds) - Specifies a limit for the number of rounds you play on each map (Default: no limit)
  • Time per round (minutes) - Specifies the amount of time each round lasts (Default: 5 minutes)
  • Freeze time (seconds) - Specifies the amount of time before a round starts (Default: 6 seconds)
  • Buy Time (minutes) - Specifies the amount of time a buy zone is active (Default: 1.5 minutes)
  • Starting Money - Specifies the amount of money each team starts with (Default: $800)
  • Footsteps - Specifies whether players can hear footsteps of other players (Default: enabled)
  • Death camera type - Specifies players’ Camera view after dying
    • Spectate Anyone - A player can watch any other player in the game (Default)
    • Spectate team only - A player can watch only his own team players in the game
    • Only First Person - A player can only move the camera to look in different locations while bound to where the player died. The player cannot follow other players, or move about the map freely
  • Disable chase/death cam (fade to black) - Death cam will fade to black (Default: disabled)
  • Friendly fire - Players can injure players on their own team (Default: disabled)
  • Kill Team killers round after TK - Specifies whether a player who kills a teammate will be killed at spawn time on the next round (Default: disabled)
  • Kick idle and team killing (3TKs) players - Players who have not moved for a set amount of time will be kicked from the server, Players who have killed 3 or more teammates will be kicked from the server (Default: enabled)
  • Kick players who team kill at this early in the round (seconds) - Specifies the amount of time that the server will kick a player for killing a team member at the beginning of a round (Default: 5)
  • Kick hostage killers (kills allowed, 0 is off) - Specifies the number of hostages a player can kill before being kicked from the server (Default: 13)
  • Allow Flashlight - Flashlight can be used by players (Default: disabled)


Statistics Tab

The Steam Half-Life Dedicated Server offers a variety of viewable statistics. You can view statistics from the most recent minute, hour, or day. To add a stat to the view, check its box on the right-hand side of the dialog box.

You can change the Vertical Units to display the range of any one of these stats.

Display Options

  • Players - Display player number statistics
  • Ping - Display server ping
  • In - Display ping in
  • Out - Display ping out
  • CPU - Display CPU usage
  • FPS - Display frames per second


Players Tab

The Players tab displays all players currently on your server. You can use the Players menu to kick or ban players from your server.

  • Kick - Kicking a player will drop the player from your server
  • Ban - You have the option to temporarily or permanently ban players from your server. You can manually enter an IP address or use the player's Steam ID to ban the player from your server


Bans Tab

The Bans tab allows you to manage those bans that are in place on your server. You can remove a ban or edit the ban’s time limit.

  • Add - To add a player via the Add button, you will need the player's IP address or SteamID
  • Remove - To remove a ban, highlight the player you would like to unban, then click the Remove button
  • Edit - Edit a player's ban time
  • Import' - Import a ban list (if you have a downloaded a ban list or saved a ban list from a different server you can add it to your server here)


Console Tab

The Console will print a log of all activity on your server.

You may also use the console to enter server commands.

  • maps <partial name> - Lists all maps containing a partial name (Example: maps de_ would list all maps with filenames which contain de_)
  • users - Display the list of UserID's for clients on the server
  • addip <minutes> <IP> - Bans a player by IP address for a specified number of minutes (enter 0 minutes to permanently ban an IP address)
  • banid <minutes> <SteamID> - Bans a player by SteamID for a specified number of minutes (enter 0 minutes to permanently ban a player by SteamID)
  • changelevel <map> - Changes the server to the specified <map> file
  • dropclient <UserID> - Kicks a client by UserID
  • heartbeat - Manually sends a heartbeat to the master server
  • info <SteamID> - Displays user information about the requested client based on SteamID
  • kick <Player> or kick <UserID> - Kicks a user by Player name or UserID
  • listid - Lists all SteamIDs in your server ban list
  • listip - Lists all IP addresses in your server ban list



(END) English content to translate
Interested in assisting with translation? Apply to become a Steam Support Wiki Translator


 
 
  link: Valve Software MediaWiki Logo