找回密码
 立即注册
  • QQ空间
  • 回复
  • 收藏

SCUM1.0本地自建(架设)服务器的图文教程

SCUM1.0本地自建(架设)服务器的图文教程-1.jpg
首先声明我的电脑配置
处理器14600KF
内存DDR5 16gb+16gb双通道
显卡英伟达4060
如果有公网IP,你可以在windows电脑上自建服务器,内网穿透,或者DDNS映射到你的域名+端口,其他人也可以加入你的服务器
关于内网穿透,教程网上很多
通过网盘分享的文件:
链接: httPS://pan.bAIdu.com/s/1oH0c1xLhmK4AqMiRnJd3Rg 提取码: 0831 复制这段内容后打开百度网盘手机App,操作更方便哦
工具steam cmd
步骤,1--下载steamcmd.zip
2---解压----
SCUM1.0本地自建(架设)服务器的图文教程-2.jpg
然后运行steamcmd.exe
#####注意steamcmd.exe解压路径不要有中文##
在SteamCMD中执行命令login anonymous

SCUM1.0本地自建(架设)服务器的图文教程-3.jpg
运行完后

SCUM1.0本地自建(架设)服务器的图文教程-4.jpg
接着输入app_update 3792580 validate +quit

SCUM1.0本地自建(架设)服务器的图文教程-5.jpg
运行完后的效果

SCUM1.0本地自建(架设)服务器的图文教程-6.jpg
找到steamcmd\steamapps\common\SCUM Server\SCUM\Binaries\Win64\SCUMServer.exe
双击启动SCUMServer.exe,,过一会
查看任务管理器可以看到有一个SCUM的进程就表示运行,成功

SCUM1.0本地自建(架设)服务器的图文教程-7.jpg
下一步启动你的steam-scum

SCUM1.0本地自建(架设)服务器的图文教程-8.jpg
多人联机---输入ip地址
127.0.0.1:7779

SCUM1.0本地自建(架设)服务器的图文教程-9.jpg
创建角色--开启你在人渣大陆的新旅途
步骤是我在的电脑上实际后正常运行的效果
#############################################
下面附SCUM---官方文档
SCUM Server Tutorial   SCUM 服务器教程
After downloading the server files from Steam, you will have 2 options to start the server; we will cover both of them.
从 Steam 下载服务器文件后,您将有 2 个选项来启动服务器;我们将涵盖这两个问题。
STARTING THE SERVER    启动 服务器First option:   第一个选项:
Starting the server via Steam’s launcher.
通过 Steam 的启动器启动服务器。
This should be as simple as pressing “LAUNCH” on Steam. By default, the server should launch with the -log command line argument included, which opens the server window where you can monitor its status.
这应该就像在 Steam 上按“LAUNCH”一样简单。默认情况下,服务器启动时应包含 -log 命令行参数,这将打开服务器窗口,您可以在其中监控其状态。
To add new command line arguments, right-click on SCUM Server, then enter the additional arguments in the “LAUNCH OPTIONS” field. After each argument, you will need to press space to separate them.
要添加新的命令行参数,请右键单击 SCUM Server,然后在 “LAUNCH OPTIONS” 字段中输入其他参数。在每个参数之后,您需要按空格   键来分隔它们。

SCUM1.0本地自建(架设)服务器的图文教程-10.jpg

SCUM1.0本地自建(架设)服务器的图文教程-11.jpg
Second option:
第二种选择:
Starting the Server via CMD:
通过 CMD 启动服务器:
To start the server using Command Prompt (CMD), you will need to navigate to the server files. These are located in Steam's installation folder:
要使用命令提示符 (CMD) 启动服务器,您需要导航到服务器文件。这些位于 Steam 的安装文件夹中:
...\SteamLibrary\steamapps\common\SCUM Server
...\Steam 库\steamapps\common\SCUM 服务器
Inside this directory, you will see a few folders. The one we need to start the server is called "SCUM".
在此目录中,您将看到一些文件夹。我们需要启动服务器的那个叫做 “SCUM”。

SCUM1.0本地自建(架设)服务器的图文教程-12.jpg
Inside the “SCUM” folder, open “Binaries\Win64”, which contains the SCUMServer.exe used to start the server via CMD.
在 “SCUM” 文件夹中,打开 “Binaries\Win64”,其中包含用于通过 CMD 启动服务器的 SCUMServer.exe。
Once you're in the Win64 folder, open Command Prompt (CMD). Drag the SCUMServer.exe into the CMD window, then add the necessary arguments to start the server.
进入 Win64 文件夹后,打开命令提示符 (CMD)。 将 SCUMServer.exe 拖动到 CMD 窗口中,然后添加必要的参数以启动服务器。

SCUM1.0本地自建(架设)服务器的图文教程-13.jpg
LIST OF USEFUL ARGUMENTS    有用的参数列表-log   -日志
Adding this command line argument will launch the server with a visual console that displays the SCUM.log in real time, allowing you to monitor the server's activity as it runs.
添加此命令行参数将使用实时显示 SCUM.log 的可视化控制台启动服务器,从而允许您在服务器运行时监视服务器的活动。
One important thing to note: clicking on the server window will pause the server tick. As a result, all players will be kicked from the server and will not be able to reconnect until it is unpaused. You can unfreeze the server by pressing “ESC”, so it's best to avoid clicking on the server console window during runtime.
需要注意的重要一点是:单击服务器窗口将暂停服务器刻度。因此,所有玩家都将被踢出服务器,并且在服务器取消暂停之前无法重新连接。您可以通过按 “ESC” 来解冻服务器,因此最好避免在运行时单击服务器控制台窗口。

SCUM1.0本地自建(架设)服务器的图文教程-14.jpg
To better understand the log, here’s what certain entries represent:
为了更好地理解日志,以下是某些条目的含义:
C - Any Character   C - 任何字符
P - Prisoner   P - 囚犯
Z - Zombie   Z - 僵尸
R - Razor   R - 剃须刀
S - Sentry   S - 哨兵
A- Animal   A- 动物
V - Vehicle   V - 车辆
IV - Item Virtualization   IV - 项目虚拟化
NO - Network Object   NO - 网络对象
-port=7000   -端口 = 7000
Adding the -port=7000 argument will start the server on the specified port. When connecting to the server, you will need to use the format IP:port.
添加 -port=7000 参数将在指定端口上启动服务器。连接到服务器时,您需要使用 IP:port 格式 。
Important: The response port used for client connections is always the defined port +2. So, if you start the server with -port=7000, players will need to connect using IP:7002.
重要提示:   用于客户端连接的响应端口   始终是定义的端口 +2。因此,如果您使用 -port=7000 启动服务器,玩家将需要使用 IP:7002 进行连接 。
If no port is defined, the server will use the default port 7779
如果未定义端口,服务器将使用默认端口 7779
-MaxPlayers=64   -最大玩家数=64
By default, this value is set to 64 and can be configured in the ServerSettings.ini file or in-game through the “Server Settings” menu. This menu is accessible to users listed in the ServerSettingsAdminUsers.ini file.
默认情况下,此值设置为 64 ,可以在 ServerSettings.ini 文件中或通过 “服务器设置” 菜单在游戏中进行配置。此菜单可供 ServerSettingsAdminUsers.ini 文件中列出的用户访问。
Both configuration files are located at:
两个配置文件都位于:
...\SCUM Server\SCUM\Saved\Config\WindowsServer
...\SCUM 服务器\SCUM\Saved\Config\WindowsServer
When the -MaxPlayers argument is added to the server startup command, it will override the value set in ServerSettings.ini. For example, if ServerSettings.ini allows 64 players but the startup command includes -MaxPlayers=10, then the server will only allow 10 players to connect.
将 -MaxPlayers 参数添加到服务器启动命令时,它将覆盖   ServerSettings.ini 中设置的值 。例如,如果 ServerSettings.ini 允许 64 名玩家,但启动命令包含 -MaxPlayers=10,则服务器将只允许 10 名玩家   连接。
-nobattleye   -不战斗
Starting the server with this argument will launch the server without Battleye.
使用此参数启动服务器将启动没有 Battleye 的服务器。
This is not something we recommend, as it would mean you would have no anti-cheat protection on your server.
我们不建议这样做,因为这意味着您的服务器上将没有反作弊保护。
SHUTTING DOWN THE SERVER    关闭服务器
To properly shut down the server, press “CTRL + C” in the Command Prompt window. This key combination initiates the shutdown process of the server.
要正确关闭服务器,请在命令提示符窗口中按 “CTRL + C”。 此组合键将启动 Server 的关闭过程。
Important: Do not click the “X” button on the server log window, as this will not shut the server down correctly.
重要提示: 请勿   单击服务器日志窗口上的 “X” 按钮,因为这不会正确关闭服务器。
To confirm that the server has shut down properly, navigate to the following folder:
要确认服务器已正确关闭,请导航到以下文件夹:
...\SCUMServer\SCUM\Saved\SaveFiles
If you see two files named SCUM.db-shm and SCUM.db-wal in that folder, it means the server was not shut down properly or is still running in the background.
如果您在该文件夹中看到两个名为 SCUM.db-shm 和 SCUM.db-wal 的文件,则表示服务器未正确   关闭或仍在后台运行 。

SCUM1.0本地自建(架设)服务器的图文教程-15.jpg
CONFIGURATION OF THE SERVER
服务器的配置
After the initial start of the server, the necessary files for the configuration of the server will be generated, those files include all the .ini files you are able to edit.
服务器初始启动后,将生成服务器配置所需的文件,这些文件包括您可以编辑的所有.ini 文件。
To access those files, you will need to navigate to the “Saved - Config - WindowsServer”
要访问这些文件,您需要导航到“已保存 - 配置 - WindowsServer”
“...\SCUM Server\SCUM\Saved\Config\WindowsServer”

SCUM1.0本地自建(架设)服务器的图文教程-16.jpg
Let’s dive a bit deeper into what file does what here:
让我们更深入地了解一下什么文件在这里做什么:
AdminUsers.ini
AdminUsers.ini
Placing SteamIDs into this folder will give players admin rights, they will be able to execute basic commands. It’s also possible to give players access to additional commands by placing additional arguments in the brackets next to their SteamID.
将 SteamID 放入此文件夹将赋予玩家管理员权限,他们将能够执行基本命令。还可以通过在玩家的 SteamID 旁边的括号中放置额外的参数来让玩家访问额外的命令。
Accessible arguments:    可访问参数:
[SetGodMode]   [设置上帝模式]
Gives player access to the “#SetGodMode True/False” command, which enables or disables instant building.
允许玩家访问“#SetGodMode True/False”命令,该命令启用或禁用即时构建。
[RestartServer]   [重启服务器]
Gives player access to the “#RestartServer pretty please” command, which will initiate a shutdown sequence of the server.
让玩家能够访问 “#RestartServer pretty please” 命令,该命令将启动服务器的关闭序列。
Example of adding a user to AdminUsers.ini
将用户添加到 AdminUsers.ini 的示例
76561199637135087 <- admin commands
76561199637135087 <- 管理员命令
76561199637135087[SetGodMode] <- admin commands + setgodmode
76561199637135087[SetGodMode] <- 管理员命令 + setgodmode
76561199637135087[SetGodMode, RestartServer] admin commands + setgodmode + restartserver pretty please
76561199637135087[SetGodMode, RestartServer] 管理员命令 + setgodmode + restartserver 请漂亮
BannedUsers.ini
All players who are banned from your server will end up in this file, you are also able to place SteamIDs of the users manually into this file.
所有被禁止进入您服务器的玩家都将出现在此文件中,您也可以手动将用户的 SteamID 放入此文件中。
EconomyOverride.json
In this file, you are able to adjust the prices of items and services at the traders in safe zones. There are a few examples on how this is done already in the file, all you need to do is replace the name of the item or the service that you want to adjust, and place it at the corresponding trader.
在此文件中,您可以调整安全区贸易商的商品和服务价格。文件中已经有一些关于如何完成此作的示例,您需要做的就是替换要调整的项目或服务的名称,并将其放置在相应的交易者处。
More information about modifying the economy:
有关修改经济的更多信息:
https://store.steampowered.com/news/app/513710/view/3131696199142015448
Tool to help with the economy modification:
帮助经济修改的工具:
https://trader.scum-global.com/
ExclusiveUsers.ini
In this file, you are able to place SteamIDs of the players you want to have access to the server, any player that is not on this list will not have access to your server. This will become active only after you enter the first SteamID into the file.
在此文件中,您可以放置要访问服务器的玩家的 SteamID,任何不在此列表中的玩家都将无权访问您的服务器。只有在您将第一个 SteamID 输入到文件中后,此选项才会生效。
GameUserSettings.ini and Input.ini
GameUserSettings.ini 和 Input.ini
These files have no use for the server, so you can ignore them completely.
这些文件对服务器没有用处,因此您可以完全忽略它们。
RaidTimes.json
This file is used to set the global raid times. More information about it can be found here:
https://store.steampowered.com/news/app/513710/view/4202497395525190702
ServerSettings.ini
Inside this file, you can find all the settings for the server. It’s possible to manually configure the settings without entering the game through this file.
ServerSettingsAdminUsers.ini
In this file, you are able to give access to the in-game server settings configuration. All you will need to do is enter the SteamID into the file, after that, the specified player should have access to the in-game server settings.
SilencedUsers.ini
In this file, you are able to see which players were silenced and what is the duration of their silence on the server.
WhitelistedUsers.ini
In this file, you are able to place SteamIDs of the players you want to have priority to connect to the server, this means that any player which is on this list will have priority access to the server, even if the server is full (if the server is full one player will be kicked out from the server).
LOOT MODIFICATION
All information about the loot modification can be found in our extensive guide here:
https://docs.google.com/document/d/1TIxj5OUnyrOvnXyEn3aigxLzTUQ-o-695luaaK2PTW0
CUSTOM QUESTS
All information about the custom quests can be found in the guide here:
https://docs.google.com/document/d/1B1qooypdebE2xvJ33cb-BIH5MEEsvi9w4v-vrgcYO1k/edit?tab=t.0#heading=h.o19tfspdpkw9
SERVER LOGS
The output displayed in the server window when the server is running is saved in the “Logs” folder, located at:
...\SCUM Server\SCUM\Saved\Logs

SCUM1.0本地自建(架设)服务器的图文教程-17.jpg
To access the rest of the logs, navigate to:
...\SCUM Server\SCUM\Saved\SaveFiles\Logs

SCUM1.0本地自建(架设)服务器的图文教程-18.jpg
CONNECTING TO THE SERVER
To connect to the server you started, use the IP address 127.0.0.1 (this refers to your local machine and will always connect to your locally running server, this includes only the owner of the server on the machine where the server is started, not other players).
If you started the server on a specific port, be sure to include the port number after the IP address, like this:
127.0.0.1:PORT
You can find out your IPv4 by running CMD and typing in the command “ipconfig”.
To find out your public IP, simply type into Google “What is my IP”.

SCUM1.0本地自建(架设)服务器的图文教程-19.jpg
Making the server accessible to the public
To make your server accessible to the public, you will need to contact your ISP to enable “CGNAT”.
After that is done, you will need to do port forwarding so players can connect to your server. Here are some basic steps you can do:
Login to your router via the default gateway address
Enter the router username and password
Locate Port Forwarding settings, typically this will be under Advanced and then Port Forwarding or Virtual Server.
On the Port Forwarding page, you will be prompted to enter a custom name for setup. Then you will enter the desired port you are forwarding in the port field. Select “TCP/UDP” under Protocol or “Both” if you are unsure which protocol you are using. Next, enter the internal IP address of the device you are port forwarding to (your IPv4) and click ”Apply” or “Save”.
Confirm that your Port Forwarding is working, you can check it by going to a website like http://www.portchecktool.com and entering the port you have just opened.
Once everything is set up and the server is running, you can share your public IP address with your friends so they can connect directly, or they can find your server through the server browser.
For more information about port forwarding and more in-depth tutorials, check tutorials online or consult with your ISP.
回复

使用道具 举报

大神点评(3)

KennethEren 楼主 7 天前 显示全部楼层
+1111
回复 支持 反对

使用道具 举报

能用阿里云腾讯云之类的开服务器吗?
回复 支持 反对

使用道具 举报

开服务器的最低配置是什么?
回复 支持 反对

使用道具 举报

说点什么

您需要登录后才可以回帖 登录 | 立即注册
HOT • 推荐