限时抢购 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
分类

Squad 管理员设置和 RCON 命令


本指南介绍如何在 Legion Hosting 托管的 Squad 专用服务器上设置管理员、版主和 RCON 访问。有关核心服务器配置(Server.cfg、地图、许可证),请参阅 Squad 专用服务器设置指南

开始之前: 所有配置文件位于 SquadGame/ServerConfig/ 目录中。使用 GPanel 文件管理器或 SFTP 进行编辑。

Admins.cfg -- 管理员和版主管理

位于 SquadGame/ServerConfig/Admins.cfg,此文件定义管理员组并将 Steam ID 分配给它们。管理员通过其 64 位 SteamID 进行识别。

查找 SteamID64

您可以在 steamid.io 上查询任何 Steam 个人资料。您需要的值格式如下:76561198012345678

文件格式

//----------------------------------------------
// Admin Groups
// Syntax: Group=GroupName:Permission1,Permission2,...
//----------------------------------------------

Group=Superadmin:changemap,cheat,private,balance,chat,kick,ban,config,cameraman,immune,manageserver,featuretest,reserve,demos,clientdemos,pause,plugins,debug,teamchange

Group=Admin:changemap,chat,kick,ban,config,immune,reserve,manageserver,teamchange

Group=Moderator:chat,kick,ban,teamchange

Group=VIP:reserve

//----------------------------------------------
// Admin Assignments
// Syntax: Admin=SteamID64:GroupName
//----------------------------------------------

Admin=76561198012345678:Superadmin
Admin=76561198087654321:Admin
Admin=76561198011112222:Moderator
Admin=76561198033334444:VIP

可用权限

权限 描述
changemap 可以在游戏中途更改当前图层/地图。
chat 可以向所有玩家发送管理员广播消息。
kick 可以将玩家从服务器踢出。
ban 可以封禁服务器上的玩家。
manageserver 可以管理服务器设置并重启服务器。
immune 防止该管理员被其他管理员踢出或封禁。
reserve 允许用户在服务器满员时使用预留位置加入。
teamchange 允许绕过换队限制。
balance 允许管理员在队伍之间移动玩家以保持平衡。
config 可以通过 RCON 修改服务器配置。
对 Admins.cfg 的更改在服务器重启后生效。您无需编辑其他文件即可添加或移除管理员。

RCON 设置和访问

RCON(远程控制台)允许您使用 SQUAD RCON 或任何支持 Squad 协议的通用 RCON 客户端远程管理服务器。

在 Server.cfg 中启用 RCON

SquadGame/ServerConfig/Server.cfg 中添加或验证以下配置块:

[RCON]
RCON_Password=YourStrongPasswordHere
MaxRCONConnections=10
RCON 端口: 您的 RCON 端口由 GPanel 自动分配。检查 GPanel 中的网络选项卡以查看分配给您的 RCON 端口。除非您拥有私有 IP,否则请勿硬编码端口号。
设置 描述
RCON_Password 连接 RCON 接口时所需的密码。请使用强壮且唯一的密码。
MaxRCONConnections 允许的最大同时 RCON 客户端连接数。

使用 RCON 客户端连接

  1. 打开您的 RCON 客户端(例如 SQUAD RCON、mcrcon 或兼容 Squad 的管理工具)。
  2. 输入您服务器的 IP 地址。在 GPanel 上查找 -- 请参阅如何查找您的服务器 IP 和端口
  3. 将端口设置为 GPanel 网络选项卡中显示的 RCON 端口。
  4. 输入您设置的 RCON_Password
  5. 连接 -- 您将能够直接运行命令。

常用 RCON 命令

AdminBroadcast <message>         -- Broadcast a message to all players
AdminKick <SteamID/Name> <reason> -- Kick a player
AdminBan <SteamID/Name> <duration> <reason> -- Ban a player (0 = permanent)
AdminChangeLayer <LayerName>    -- Change the current layer immediately
AdminSetNextLayer <LayerName>   -- Set the next layer in rotation
ListPlayers                      -- List all connected players with their IDs
ShowNextMap                      -- Display the next layer in rotation
AdminForceTeamChange <PlayerID>  -- Force a player to switch teams
AdminDisbandSquad <TeamID> <SquadID> -- Disband a squad
AdminEndMatch                    -- End the current match

需要帮助?

如果您遇到本文未涵盖的问题,我们的支持团队随时为您提供帮助。

相关文章:


这篇文章对您有帮助吗?

Ready to Get Started?

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