Skip to content

Commit 29109c4

Browse files
committed
Updated README with Maven information
1 parent 288b60e commit 29109c4

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,27 @@ A modern version of Fanciful
44

55
This library aims to completely replace [Fanciful](https://bukkit.org/threads/lib-fanciful-pleasant-chat-message-formatting.195148/), which sadly has stopped being updated. I figured I'd take a stab at re-creating it, and even making it better.
66

7-
The best thing about this library? It's only a [single class file](https://github.com/Rayzr522/JSONMessage/blob/master/src/main/java/me/rayzr522/jsonmessage/JSONMessage.java), so you can just drag and drop it into your project!
7+
## Installation
8+
9+
For those of you using Maven, just add the following to your `pom.xml` file:
10+
11+
```xml
12+
<repository>
13+
<id>rayzr-repo</id>
14+
<url>https://cdn.rawgit.com/Rayzr522/maven-repo/master/</url>
15+
</repository>
16+
```
17+
18+
```xml
19+
<dependency>
20+
<groupId>me.rayzr522</groupId>
21+
<artifactId>jsonmessage</artifactId>
22+
<version>1.0.0</version>
23+
</dependency>
24+
```
25+
26+
Otherwise, just drag n' drop the [single class file](https://github.com/Rayzr522/JSONMessage/blob/master/src/main/java/me/rayzr522/jsonmessage/JSONMessage.java) into your project.
27+
> If you are not yet using Maven, you should be. Really, you should. It's amazing.
828
929
## Usage
1030

0 commit comments

Comments
 (0)