Skip to content

WizardlyBump17/WLib

Repository files navigation

WLib

wakatime


Build yourself

Linux

Pre-requisites

  1. Git installed;
  2. JDK 16 installed (JDK 21 for branches related to 1.20.6+);
  3. BuildTools ran for all Minecraft versions of the branch you are on;
    1. If you are on the "1.20.6+" branch, you don't need to do that;
    2. This can be automated by running the scripts/buildtools/build-spigot.sh script;
      1. For this approach, you will need to have installed:
        1. SDKMAN!;
        2. curl.

Building

  1. Run ./gradlew build;
  2. The .jar to use on the Spigot (or Paper) server will be located at core/build/libs/WLib-<version>.jar;
  3. The .jar to use on BungeeCord will be located at bungee/build/libs/WLib-BungeeCord-<version>.jar.

Add as dependency

Follow the Gradle instructions or the Maven instructions
(Soon I will show how to do it)

Then add the dependency. Replace MODULE with a module and VERSION with a version
Maven:

<dependencies>
    <dependency>
        <groupId>com.wizardlybump17.wlib</groupId>
        <artifactId>MODULE</artifactId>
        <version>VERSION</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Gradle:

dependencies {
    implementation('com.wizardlybump17.wlib:MODULE:VERSION')
}

To add it into your plugin, add the following at your plugin.yml

softdepend: [WLib]

About

A simple library to help in Spigot plugins development for Java

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •