You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PagineDown/README.md

1.8 KiB

PagineDown

Discord

PagineDown is a library for generating paginated MineDown-formatted chat menu lists.

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 platform, or on platforms with adventure adapters.

Installation

PagineDown is available on JitPack. You can browse the Javadocs here.

Note that your plugin will also need to shade (or shade a library that includes) MineDown.

Maven

To use the library on Maven, in your pom.xml file, first add the JitPack repository:

    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>

Then, add the dependency in your <dependencies> section. Remember to replace Tag with the current PagineDown version.

    <dependency>
        <groupId>net.william278</groupId>
        <artifactId>PagineDown</artifactId>
        <version>Tag</version>
        <scope>compile</scope>
    </dependency>

Gradle & others

JitPack has a handy guide for how to use the dependency with other build platforms.

License

PagineDown is licensed under Apache-2.0.