1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/examples/RCON/ExecuteCommand.txt

11 lines
369 B
Plaintext
Raw Normal View History

2025-10-21 11:36:43 +03:00
 URL = "127.0.0.1:25565";
Password = "12We...";
2025-03-16 21:02:16 +03:00
WriteTimeout = 20;
ReadTimeout = 20;
ConnectionParams = OPI_RCON.FormConnectionParameters(URL, Password, ReadTimeout, WriteTimeout);
Connection = OPI_RCON.CreateConnection(ConnectionParams);
Command = "list";
Result = OPI_RCON.ExecuteCommand(Command, Connection);