RCON Game Server Protocol
Remotely administer game servers using the RCON protocol — send commands and receive responses from Minecraft, Source, ARK, and more.
Remotely administer game servers using the RCON protocol — send commands and receive responses from Minecraft, Source, ARK, and more.
Implement remote console administration for game servers with a native Delphi RCON client component.
The sgcWebSockets RCON component implements the Source RCON protocol used by many game servers. Authenticate, send console commands, and receive responses programmatically. Build server management dashboards, automated moderation tools, and monitoring systems.
Connect to a game server and send commands.
uses
sgcWebSocket_API_RCON;
var
RCON: TsgcWebSocketAPI_RCON;
procedure TForm1.FormCreate(Sender: TObject);
begin
RCON := TsgcWebSocketAPI_RCON.Create(nil);
RCON.Host := '192.168.1.100';
RCON.Port := 25575;
RCON.Password := 'server-password';
RCON.OnRCONResponse := OnResponse;
RCON.Connect;
end;
procedure TForm1.SendCommand;
begin
RCON.ExecCommand('list');
end;
procedure TForm1.OnResponse(Sender: TObject;
aResponse: string);
begin
Memo1.Lines.Add(aResponse);
end;
Deep-link to the component reference, grab the ready-to-run demo project, and download the trial.