From c88341458af2bc72378090e0e6a6bc0178f2ce7b Mon Sep 17 00:00:00 2001 From: FlorianMichael <60033407+FlorianMichael@users.noreply.github.com> Date: Sat, 18 Nov 2023 23:17:43 +0100 Subject: [PATCH] Updated README file --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 71fe303..a2e1924 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ If you just want to talk or need help with Classic4J feel free to join my ## How to add this to your project ### Gradle/Maven -To use Classic4J with Gradle/Maven you can use [Maven Central](https://mvnrepository.com/artifact/de.florianmichael/Classic4J), [Lenni0451 server](https://maven.lenni0451.net/#/releases/de/florianmichael/Classic4J) or [Jitpack](https://jitpack.io/#FlorianMichael/Classic4J). +To use Classic4J with Gradle/Maven you can use [Maven Central](https://mvnrepository.com/artifact/de.florianmichael/Classic4J), [Lenni0451's repository](https://maven.lenni0451.net/#/releases/de/florianmichael/Classic4J) or [Jitpack](https://jitpack.io/#FlorianMichael/Classic4J). You can also find instructions how to implement it into your build script there. ### Jar File @@ -36,7 +36,7 @@ The internal API is located in the **de.florianmichael.classic4j.util** package. ## Example usage ### BetaCraft -Classic4J allows you to dump the server list from betacraft.uk and generate a MP Pass from the BetaCraft launcher, keep in mind that for the MP Pass generator you need to implement the ExternalInterface from above +Classic4J allows you to dump the server list from https://betacraft.uk/ and generate an MP Pass from the BetaCraft launcher, keep in mind that for the MP Pass generator you need to implement the ExternalInterface from above ```java BetaCraftHandler.requestServerList(serverList -> { System.out.println(serverList.servers().size()); @@ -44,7 +44,7 @@ BetaCraftHandler.requestServerList(serverList -> { System.out.println(serverList.serversWithOnlineMode(false)); // offline mode }); -final String mpPass = BetaCraftHandler.requestMPPass("", "", 25565, serverId -> { +final String mpPass = BetaCraftHandler.requestMPPass("", "", 25565 /* server port */, serverId -> { // You have to call the joinServer Statement in here }); ```