kt-rcon: mucking about
This commit is contained in:
parent
29daff5abc
commit
6c5613b283
1 changed files with 3 additions and 3 deletions
|
|
@ -7,12 +7,12 @@ import kotlinx.coroutines.runBlocking
|
||||||
fun main(): Unit = runBlocking {
|
fun main(): Unit = runBlocking {
|
||||||
KtRconClient3(
|
KtRconClient3(
|
||||||
"localhost",
|
"localhost",
|
||||||
27715,
|
27015,
|
||||||
Password("coh9oongoojahX4")
|
Password("chofeengook8Shu")
|
||||||
).use { client ->
|
).use { client ->
|
||||||
|
|
||||||
// client.send(PacketType.AUTH_REQUEST, "passwrd")
|
// client.send(PacketType.AUTH_REQUEST, "passwrd")
|
||||||
client.send(PacketType.AUTH_REQUEST, "coh9oongoojahX4")
|
client.send(PacketType.AUTH_REQUEST, "chofeengook8Shu")
|
||||||
delay(10.seconds)
|
delay(10.seconds)
|
||||||
|
|
||||||
client.send(PacketType.EXEC_COMMAND, "/help")
|
client.send(PacketType.EXEC_COMMAND, "/help")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue