请选择 进入手机版 | 继续访问电脑版

扫一扫,访问微社区

手机短信登录

 找回密码
 立即注册

扫一扫,访问微社区

手机短信登录

查看: 53|回复: 1

Steam正版七日杀如何架设服务器(windows) | windows平台怎么...

[复制链接]

17

主题

20

帖子

144

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
144

最佳新人活跃会员热心会员推广达人宣传达人灌水之王突出贡献优秀版主荣誉管理论坛元老

发表于 2019-5-1 23:49:06 | 显示全部楼层 |阅读模式
首先确保你在steam上购买了七日杀(英文名:7 Days to Die)


安装服务器

打开steam平台,鼠标指向菜单的“库”,在下拉下单中选择“工具”,如下图所示:
找到 7 Days to Die Dedicated Server ,点击右键,选择安装游戏…,等待下载安装完毕。
安装完毕之后,不要急着打开,在 7 Days to Die Dedicated Server 上面点右键,选择属性,点本地文件标签,再点浏览本地文件夹…,如下图所示:
找到serverconfig.xml文件,用notepad++或其他类似编辑器打开,修改相应的服务器设置。
英文水平有限,翻译的不是太好,凑合看看吧。点击下图可查看高清大图
设置完毕,保存退出。然后找到同目录下的startdedicated.bat文件,双击运行,稍等片刻就开启成功。
注意:七日杀服务器是无界面运行的。当内存占用较小时,可能会开启失败,请自行在任务管理器中查看。
如果您是外网独立服务器,那么直接把ip和端口号告诉朋友,就可以一起开心地玩耍了;
如果您是家庭网络,可能需要设置此服务器为dmz主机,将内网ip映射到外网。请参考下文:
http://www.7risha.cc/thread-16-1-1.html
管理服务器

推荐用系统自带的telnet功能
快捷键 Win + R,打开运行窗口,输入 cmd,点确定,输入 telnet 127.0.0.1 8081,回车。
默认情况下,系统是并没有开启telnet服务的,您可以参考下文开启:
http://www.7risha.cc/thread-17-1-1.html
也可以用putty来连接服务器,这里就不细说了。
七日杀服务端命令

admin => Manage user permission levels


aiddebug => Toggles AIDirector debug output.

audio => Watch audio stats

ban => Manage ban entries

BiomeParticles => Debug

buff => Applies a buff to the local player

buffplayer => Apply a buff to a player

chunkcache cc => shows all loaded chunks in cache

commandpermission cp => Manage command permission levels

creativemenu cm => enables/disables the creativemenu

DeathScreen => Display DeathScreen

debuff => Removes a buff from the local player

debuffplayer => Remove a buff from a player

debugmenu dm => enables/disables the debugmenu

debugweather => Dumps internal weather state to the console.

dof => Control DOF

enablescope es => toggle debug scope

exhausted => Makes the player exhausted.

exportitemicons => Exports all ItemIcons

gamestage => usage: gamestage – displays the gamestage of the local player.

getgamepref gg => Gets game preferences

getgamestat ggs => Gets game stats

gettime gt => Get the current game time

givequest => usage: givequest questname

giveself => usage: giveself itemName qualityLevel (default quality is 600)

giveselfskillxp => usage: giveselfskillxp Mining Tools 10000

giveselfxp => usage: giveselfxp 10000

help => Help on console and specific commands

kick => Kicks user with optional reason. “kick playername reason”

kickall => Kicks all users with optional reason. “kickall reason”

kill => Kill a given entity

killall => Kill all players

lgo listgameobjects => List all active game objects

lights => Debug views to optimize lights

listents le => lists all entities

listplayerids lpi => Lists all players with their IDs for ingame commands

listplayers lp => lists all players

listthreads lt => lists all threads

loggamestate lgs => Log the current state of the game

loglevel => Telnet/Web only: Select which types of log messages are shown

mem => Prints memory information and calls garbage collector

memcl => Prints memory information on client and calls garbage collector

pplist => Lists all PersistentPlayer data

prefab =>

profilenetwork => Writes network profiling information

profiling => Enable Unity profiling for 5 seconds

removequest => usage: removequest questname

repairchunkdensity rcd => check and optionally fix densities of a chunk

saveworld sa => Saves the world manually.

say => Sends a message to all connected clients

setgamepref sg => sets a game pref

setgamestat sgs => sets a game stat

settargetfps => Set the target FPS the game should run at (upper limit)

settempunit stu => Set the current temperature units.

settime st => Set the current game time

showalbedo albedo => enables/disables display of albedo in gBuffer

showchunkdata sc => shows some date of the current chunk

showClouds => Artist command to show one layer of clouds.

showhits => Show hit entity locations

shownexthordetime => Displays the wandering horde time

shownormals norms => enables/disables display of normal maps in gBuffer

showspecular spec => enables/disables display of specular values in gBuffer

shutdown => shuts down the game

sounddebug => Toggles SoundManager debug output.

spawnairdrop => Spawns an air drop

spawnentity se => spawns an entity

spawnentityat sea => Spawns an entity at a give position

spawnscouts => Spawns zombie scouts

SpawnScreen => Display SpawnScreen

spawnsupplycrate => Spawns a supply crate where the player is

spawnwanderinghorde => Spawns a wandering horde of zombies

spectrum => Force a particular lighting spectrum.

stab => stability

starve => Makes the player starve.

staticmap => Switches Navazgane map between static and dynamic

switchview sv => Switch between fpv and tpv

SystemInfo => List SystemInfo

teleport tp => Teleport the local player

teleportplayer tele => Teleport a given player

thirsty => Makes the player thirsty.

traderarea => …

updatelighton => Commands for UpdateLightOnAllMaterials and UpdateLightOnPlayers

version => Get the currently running version of the game and loaded mods

visitmap => Visit an given area of the map. Optionally run the density check on each visited chunk.

water => Control water settings

weather => Control weather settings

weathersurvival => Enables/disables weather survival

whitelist => Manage whitelist entries

zip => Control zipline settings



温馨提示:
1、在论坛里发表的文章仅代表作者本人的观点,与本网站立场无关。
2、论坛的所有内容都不保证其准确性,有效性,时间性。阅读本站内容因误导等因素而造成的损失本站不承担连带责任。
3、当政府机关依照法定程序要求披露信息时,论坛均得免责。
4、若因线路及非本站所能控制范围的故障导致暂停服务期间造成的一切不便与损失,论坛不负任何责任。
5、注册会员通过任何手段和方法针对论坛进行破坏,我们有权对其行为作出处理。并保留进一步追究其责任的权利。

0

主题

2

帖子

16

积分

新手上路

Rank: 1

积分
16
发表于 2019-5-2 22:01:34 | 显示全部楼层
hao ke le  hao ke le
回复

使用道具 举报

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

本版积分规则

GMT+8, 2019-5-24 09:09 , Processed in 0.136210 second(s), 20 queries .

© 2001-2011 Powered by Discuz! X3.4. Theme By Yeei!

快速回复 返回顶部 返回列表