9
0
mirror of https://github.com/Xiao-MoMi/Custom-Nameplates.git synced 2025-12-26 02:19:28 +00:00
Files
Custom-Nameplates/README.md
XiaoMoMi cc8c3d6bcd 2.4.2
2024-07-25 22:41:15 +08:00

2.1 KiB

Custom-Nameplates

CodeFactor Grade Code Size 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}")
}