Skip to content

Xiao-MoMi/Custom-Nameplates

Repository files navigation

Custom-Nameplates

CodeFactor Grade bStats Servers bStats Players GitHub Gitbook

CustomNameplates is a Paper plugin that provides unlimited customization for nametags, bossbars, actionbars and chat bubbles.

How to build

Windows

Command Line

Install JDK 17 and set the JDK installation path to JAVA_HOME as an environment variable.
Start powershell and change directory to the project folder.
Execute ".\gradlew build" and get the jar at /target/CustomNameplates-universe-version.jar.

IDE

Import the project and execute gradle build action.

About Proxy

If you are using a proxy, configurate the proxy in gradle.properties. Otherwise comment the lines in gradle.properties.

Support the developer

Polymart: https://polymart.org/resource/customnameplates.2543
Afdian: https://afdian.net/@xiaomomi

Use CustomNameplates API

Maven

<repositories>
  <repository>
    <id>jitpack</id>
    <url>https://jitpack.io/</url>
  </repository>
</repositories>
<dependencies>
  <dependency>
    <groupId>com.github.Xiao-MoMi</groupId>
    <artifactId>Custom-Nameplates</artifactId>
    <version>{LATEST}</version>
    <scope>provided</scope>
  </dependency>
</dependencies>

Gradle (Groovy)

repositories {
    maven { url 'https://jitpack.io' }
}
dependencies {
    compileOnly 'com.github.Xiao-MoMi:Custom-Nameplates:{LATEST}'
}

Gradle (Kotlin)

repositories {
    maven("https://jitpack.io/")
}
dependencies {
    compileOnly("com.github.Xiao-MoMi:Custom-Nameplates:{LATEST}")
}