mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2025-12-19 15:09:23 +00:00
3.0
This commit is contained in:
49
README.md
49
README.md
@@ -1,44 +1,37 @@
|
||||
# This project is undergoing a major refactoring
|
||||
|
||||
# Custom-Nameplates
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
[](https://jitpack.io/#Xiao-MoMi/Custom-Nameplates)
|
||||
<a href="https://mo-mi.gitbook.io/xiaomomi-plugins/plugin-wiki/customnameplates" alt="GitBook">
|
||||
<img src="https://img.shields.io/badge/docs-gitbook-brightgreen" alt="Gitbook"/>
|
||||
</a>
|
||||
|
||||
CustomNameplates is a Paper plugin that provides unlimited customization for nametags, bossbars, actionbars and chat bubbles.
|
||||
[](https://github.com/Xiao-MoMi/Custom-Nameplates/)
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## 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.
|
||||
Install JDK 17 & 21. \
|
||||
Start terminal and change directory to the project folder.\
|
||||
Execute ".\gradlew build" and get the artifact under /target folder
|
||||
|
||||
#### 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.
|
||||
Import the project and execute gradle build action. \
|
||||
Get the artifact under /target folder
|
||||
|
||||
## Support the developer
|
||||
|
||||
Polymart: https://polymart.org/resource/customnameplates.2543 \
|
||||
Afdian: https://afdian.net/@xiaomomi
|
||||
Afdian: https://afdian.com/@xiaomomi
|
||||
|
||||
## Use CustomNameplates API
|
||||
## CustomNameplates API
|
||||
|
||||
### Maven
|
||||
|
||||
```
|
||||
```html
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jitpack</id>
|
||||
@@ -46,37 +39,37 @@ Afdian: https://afdian.net/@xiaomomi
|
||||
</repository>
|
||||
</repositories>
|
||||
```
|
||||
```
|
||||
```html
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.github.Xiao-MoMi</groupId>
|
||||
<artifactId>Custom-Nameplates</artifactId>
|
||||
<version>{LATEST}</version>
|
||||
<version>{VERSION}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
```
|
||||
### Gradle (Groovy)
|
||||
|
||||
```
|
||||
```groovy
|
||||
repositories {
|
||||
maven { url 'https://jitpack.io' }
|
||||
}
|
||||
```
|
||||
```
|
||||
```groovy
|
||||
dependencies {
|
||||
compileOnly 'com.github.Xiao-MoMi:Custom-Nameplates:{LATEST}'
|
||||
compileOnly 'com.github.Xiao-MoMi:Custom-Nameplates:{VERSION}'
|
||||
}
|
||||
```
|
||||
### Gradle (Kotlin)
|
||||
|
||||
```
|
||||
```kotlin
|
||||
repositories {
|
||||
maven("https://jitpack.io/")
|
||||
}
|
||||
```
|
||||
```
|
||||
```kotlin
|
||||
dependencies {
|
||||
compileOnly("com.github.Xiao-MoMi:Custom-Nameplates:{LATEST}")
|
||||
compileOnly("com.github.Xiao-MoMi:Custom-Nameplates:{VERSION}")
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user