Update readme.md
This commit is contained in:
68
readme.md
68
readme.md
@@ -2,10 +2,17 @@
|
|||||||
|
|
||||||
## Dependency
|
## Dependency
|
||||||
|
|
||||||
|
Latest version: <br>
|
||||||
|
[  ](https://bintray.com/bluefireoly/KSpigot/KSpigot/_latestVersion)
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Gradle (Kotlin-Script)</summary>
|
||||||
|
<p>
|
||||||
|
|
||||||
**The repository:**
|
**The repository:**
|
||||||
```kotlin
|
```kotlin
|
||||||
repository {
|
repository {
|
||||||
maven("https://dl.bintray.com/bluefireoly/KSpigot")
|
jcenter()
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -17,8 +24,55 @@ dependencies {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Latest version: <br>
|
</p>
|
||||||
[  ](https://bintray.com/bluefireoly/KSpigot/KSpigot/_latestVersion)
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Gradle (Groovy)</summary>
|
||||||
|
<p>
|
||||||
|
|
||||||
|
**The repository:**
|
||||||
|
```groovy
|
||||||
|
repository {
|
||||||
|
jcenter()
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**The dependency:**
|
||||||
|
|
||||||
|
```groovy
|
||||||
|
dependencies {
|
||||||
|
implementation 'net.axay:KSpigot:VERSION_HERE'
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Maven</summary>
|
||||||
|
<p>
|
||||||
|
|
||||||
|
**The repository:**
|
||||||
|
```xml
|
||||||
|
<repository>
|
||||||
|
<id>jcenter</id>
|
||||||
|
<name>jcenter</name>
|
||||||
|
<url>https://jcenter.bintray.com</url>
|
||||||
|
</repository>
|
||||||
|
```
|
||||||
|
|
||||||
|
**The dependency:**
|
||||||
|
```xml
|
||||||
|
<dependency>
|
||||||
|
<groupId>net.axay</groupId>
|
||||||
|
<artifactId>KSpigot</artifactId>
|
||||||
|
<version>VERSION_HERE</version>
|
||||||
|
</dependency>
|
||||||
|
```
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</details>
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
@@ -130,7 +184,7 @@ val wand = itemStack(Material.GOLD_BLOCK) {
|
|||||||
#### For complex chat components
|
#### For complex chat components
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
chatComponent {
|
val component = chatComponent {
|
||||||
|
|
||||||
text("You got a friend request! ") {
|
text("You got a friend request! ") {
|
||||||
color = col("#4FEA40")
|
color = col("#4FEA40")
|
||||||
@@ -249,4 +303,10 @@ listener.register(plugin)
|
|||||||
listener.unregister()
|
listener.unregister()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Structures
|
||||||
|
|
||||||
|
Tutorial coming soon...
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
> Any questions? Feel free to contact me!
|
> Any questions? Feel free to contact me!
|
Reference in New Issue
Block a user