Port to MineDown-adventure, run on the Adventure platform

v2-dev
William 2 years ago
parent 0b6171a39c
commit afa93b3298

@ -6,7 +6,9 @@ PagineDown is a library for generating paginated [MineDown](https://github.com/P
![](images/list-example-in-game.png) ![](images/list-example-in-game.png)
Requires Java 11+. PagineDown is a library that is intended to be used with MineDown (not standalone) -- your project will need to shade MineDown to use it. Requires Java 11+. PagineDown is a library that is intended to be used with MineDown-adventure (not standalone) -- your project will need to shade MineDown-adventure to use it.
PagineDown (v1.1+) runs on the [adventure](https://docs.adventure.kyori.net/) platform, or on platforms with adventure adapters.
## Installation ## Installation
PagineDown is available on JitPack. You can browse the Javadocs [here](https://javadoc.jitpack.io/net/william278/PagineDown/latest/javadoc/). PagineDown is available on JitPack. You can browse the Javadocs [here](https://javadoc.jitpack.io/net/william278/PagineDown/latest/javadoc/).

@ -4,7 +4,7 @@ plugins {
} }
group 'net.william278' group 'net.william278'
version '1.0.2' version '1.1'
repositories { repositories {
mavenCentral() mavenCentral()
@ -12,11 +12,11 @@ repositories {
} }
dependencies { dependencies {
compileOnly 'de.themoep:minedown:1.7.1-SNAPSHOT' compileOnly 'de.themoep:minedown-adventure:1.7.1-SNAPSHOT'
compileOnly 'org.jetbrains:annotations:23.0.0' compileOnly 'org.jetbrains:annotations:23.0.0'
testImplementation 'de.themoep:minedown:1.7.1-SNAPSHOT' testImplementation 'de.themoep:minedown-adventure:1.7.1-SNAPSHOT'
testImplementation 'net.md-5:bungeecord-chat:1.16-R0.4' testImplementation 'net.kyori:adventure-platform-bukkit:4.1.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
} }

@ -1,7 +1,7 @@
package net.william278.paginedown; package net.william278.paginedown;
import de.themoep.minedown.MineDown; import de.themoep.minedown.adventure.MineDown;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import java.util.List; import java.util.List;

Loading…
Cancel
Save