rcon 1.0.0 rcon: ^1.0.0 copied to clipboard
A client for Minecraft's RCON protocol written in Dart. RCON is a protocol that allows server administrators to remotely execute Minecraft commands.
RCON.dart #
A client for Minecraft's RCON protocol written in Dart.
Usage #
import 'package:rcon/rcon.dart';
main() async {
Client client = await Client.create("192.168.1.1", 25575);
client.login("test");
print(client.send(Message.create(client, PacketType.command, "help")));
client.close();
}
copied to clipboard
Command Line Usage #
For command line usage, run the example.dart file.