限时抢购 50% 全场服务器优惠 最后一天!
距结束还剩: 00D 00H 00M 00S
background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
分类

Sonic Robo Blast 2 (SRB2) 管理员和命令指南


本指南介绍在 Legion Hosting 上的 Sonic Robo Blast 2 (SRB2) 服务器的管理、控制台命令、插件管理、地图轮换和游戏模式配置。有关初始设置和玩家连接说明,请参阅 SRB2 服务器设置指南

1. 服务器控制台

SRB2 服务器控制台可通过 GPanel 中的 Console 选项卡访问。在服务器运行时,直接在控制台输入栏中输入命令。

2. 常用控制台命令

命令 说明
help 列出可用的控制台命令。
map [mapname] 切换到指定地图(例如 map MAP01)。
exitlevel 强制结束当前关卡并进入下一张地图。
kick [player#] [reason] 通过玩家编号踢出玩家,可附带原因。
ban [player#] [reason] 通过玩家编号封禁玩家。
unban [ban#] 通过封禁列表编号解除封禁。
banlist 显示当前封禁列表。
listplayers 显示所有已连接的玩家及其编号。
password [pass] 更改服务器密码。使用空值可移除密码。
maxplayers [num] 更改最大玩家数量(最多 32)。
gametype [type] 更改游戏模式(例如 coopmatchctfracetag)。
pointlimit [num] 设置当前游戏模式的得分上限。
timelimit [minutes] 设置每张地图的时间限制(分钟)。0 表示禁用。
forceskin [player#] [skin] 强制玩家使用特定角色皮肤。
say [message] 向所有玩家发送服务器消息。
quit 关闭服务器。

3. 游戏模式配置

使用 gametype 命令或在 adedserv.cfg 中设置来更改当前游戏模式。

游戏类型 命令 说明
Co-op gametype coop 合作战役模式。
Competition gametype competition 基于得分的关卡竞赛。
Race gametype race 速通竞速关卡。
Match gametype match 自由混战环战斗。
Team Match gametype teammatch 团队环战斗。
CTF gametype ctf 夺旗模式。
Tag gametype tag 标记游戏模式。
Hide & Seek gametype hns 捉迷藏模式。

4. 插件和自定义内容

SRB2 支持 .pk3.wad 格式的插件。要添加自定义内容:

  1. 停止服务器。
  2. 通过 SFTP 将插件文件上传到服务器目录。
  3. adedserv.cfg 中添加以下行以在启动时加载插件:
    addfile myaddon.pk3
  4. 重新启动服务器。
插件兼容性。 所有连接到服务器的玩家必须拥有所需的插件。服务器会自动向加入的玩家发送兼容的插件,但文件过大可能导致连接速度变慢。

5. 地图轮换

通过在 adedserv.cfg 中添加地图命令来配置地图轮换。您还可以使用以下控制台变量:

  • map [mapname] -- 立即更改当前地图。
  • nextmap [mapname] -- 设置轮换中的下一张地图。
  • exitlevel -- 结束当前关卡并进入下一关。

6. 其他配置

adedserv.cfg 中添加任何控制台变量或命令,使其在服务器启动时执行。示例:

servername "My SRB2 Server"
wait 5
password MyPassword
wait 5
maxplayers 16
wait 5
gametype match
wait 5
timelimit 10
pointlimit 50
在命令之间使用 wait wait [tics] 命令在配置文件中的命令之间添加延迟。这可以防止命令处理过快而被跳过。

7. 故障排除

问题 解决方案
服务器未出现在主列表中 确认 ROOM_NR 设置正确(3328)。检查服务器是否正在运行且未因密码限制而无法列出。
玩家无法加入 在 GPanel 中检查 IP 和端口,确保密码正确,并验证服务器版本与客户端版本匹配。
插件未加载 确保 adedserv.cfg 中的 addfile 命令引用了正确的文件名,且文件位于服务器根目录中。
切换地图时服务器崩溃 某些自定义地图可能不兼容。尝试移除最近添加的插件并使用默认地图进行测试。

相关文章

需要帮助?

如果您在使用 SRB2 服务器时遇到问题,请 提交工单,并附上您的服务器 IP、问题描述以及 GPanel 控制台中的相关错误信息。


这篇文章对您有帮助吗?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.