Skip to content

playlegendold/LegendShowLog

Repository files navigation

LegendShowLog

LegendShowLog provides a command to quickly paste current logs onto a paste server. This helps a lot with debugging.

Commands & permissions

Command Permission
/showlog showlog.paste

Config options

LegendShowLog's config provides options to use a custom paste server. LegendShowLog is designed and tested only for hastebin.

Option Description
showlog.log_path Path to latest log file
showlog.post_url Post endpoint of hastebin server
showlog.paste_url Root url of hastebin server

Maven Repository

LegendShowLog is available through our Maven repository. You have to replace version with your desired values.

Gradle (Kotlin)

repositories {
    maven("https://repository.playlegend.net/artifactory/opensource/")
}

dependencies {
    compileOnly("net.playlegend:legendshowlog-bukkit:VERSION")
}

Maven

<repositories>
    <!-- This adds the Legend Maven repository to the build -->
    <repository>
        <id>legend-repo</id>
        <url>https://repository.playlegend.net/artifactory/opensource</url>
    </repository>
</repositories>

<dependency>
    <groupId>net.playlegend</groupId>
    <artifactId>legendshowlog-bukkit</artifactId>
    <version>VERSION</version>
</dependency>

Build a custom version

To build your own version of LegendShowLog just execute the following command in project root.

./gradlew shadowJar

You can find your artifacts in /build/libs/.