Skip to content

Commit 55b60fe

Browse files
authored
Update README.md
1 parent 4485f7d commit 55b60fe

1 file changed

Lines changed: 61 additions & 2 deletions

File tree

README.md

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,62 @@
1-
TokenManager
1+
<h1>TokenManager</h1>
22

3-
- Read more about this resource here: https://www.spigotmc.org/resources/tokenmanager.8610/
3+
[![](https://jitpack.io/v/Realizedd/TokenManager.svg)](https://jitpack.io/#Realizedd/TokenManager)
4+
5+
A simple economy plugin for spigot. <a href="https://www.spigotmc.org/resources/tokenmanager.8610/">Spigot Project Page</a>
6+
7+
---
8+
9+
* **[Wiki](https://github.com/Realizedd/TokenManager/wiki)**
10+
* **[Commands](https://github.com/Realizedd/TokenManager/wiki/commands)**
11+
* **[Permissions](https://github.com/Realizedd/TokenManager/wiki/permissions)**
12+
* **[Support Discord](https://discord.gg/U3Yyu6G)**
13+
14+
15+
### Getting the dependency
16+
17+
#### Repository
18+
Gradle:
19+
```groovy
20+
maven {
21+
name 'jitpack-repo'
22+
url 'https://jitpack.io'
23+
}
24+
```
25+
26+
Maven:
27+
```xml
28+
<repository>
29+
<id>jitpack-repo</id>
30+
<url>https://jitpack.io</url>
31+
</repository>
32+
```
33+
34+
#### Dependency
35+
Gradle:
36+
```groovy
37+
compile group: 'com.github.realizedd', name: 'TokenManager', version: '3.2.2'
38+
```
39+
40+
Maven:
41+
```xml
42+
<dependency>
43+
<groupId>com.github.realizedd</groupId>
44+
<artifactId>TokenManager</artifactId>
45+
<version>3.2.2</version>
46+
</dependency>
47+
```
48+
49+
### plugin.yml
50+
Add TokenManager as a soft-depend to ensure TokenManager is fully loaded before your plugin.
51+
```yaml
52+
soft-depend: [TokenManager]
53+
```
54+
55+
### Getting the API instance
56+
57+
```java
58+
@Override
59+
public void onEnable() {
60+
TokenManager api = (TokenManager) Bukkit.getServer().getPluginManager().getPlugin("TokenManager");
61+
}
62+
```

0 commit comments

Comments
 (0)