From 420ff21327f2e2111efb9535ce341f84586a23fb Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 25 Dec 2021 11:05:09 +0100 Subject: [PATCH 1/2] Add Maven and Gradle usage to README.md --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index ef3e777..98a8034 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,34 @@ Our new Server API allows you to communicate between the LabyMod client and the server by using simple JSON messages. It also allows you to enable or disable LabyMod features. If you want to find out how our API works, visit https://docs.labymod.net/pages/server/introduction/ + +Creating Plugin with LabyMod API +---------------- + +```groovy +repositories { + maven { url 'https://jitpack.io' } +} + +dependencies { + implementation 'com.github.LabyMod:labymod-server-api:Tag' +} +``` + +```xml + + + jitpack.io + https://jitpack.io + + + + + + com.github.LabyMod + labymod-server-api + Tag + + +``` + From bfe44ebff38af31ba6cdc197bbb042c0a2957e8f Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 26 Dec 2021 18:33:20 +0100 Subject: [PATCH 2/2] Improve README.md --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 98a8034..2b6996f 100644 --- a/README.md +++ b/README.md @@ -11,28 +11,28 @@ Creating Plugin with LabyMod API ```groovy repositories { - maven { url 'https://jitpack.io' } + maven { url 'https://jitpack.io' } } dependencies { - implementation 'com.github.LabyMod:labymod-server-api:Tag' + implementation 'com.github.LabyMod:labymod-server-api:Tag' } ``` ```xml - - jitpack.io - https://jitpack.io - + + jitpack.io + https://jitpack.io + - - com.github.LabyMod - labymod-server-api - Tag - + + com.github.LabyMod + labymod-server-api + Tag + ```