9
0
mirror of https://github.com/Xiao-MoMi/Custom-Nameplates.git synced 2025-12-19 15:09:23 +00:00

Update README.md

This commit is contained in:
XiaoMoMi
2025-01-26 23:24:44 +08:00
parent 8c1a858e2a
commit 63ec5e8a92

View File

@@ -1,7 +1,6 @@
# Custom-Nameplates # Custom-Nameplates
![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/Xiao-MoMi/Custom-Nameplates) ![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/Xiao-MoMi/Custom-Nameplates)
[![](https://jitpack.io/v/Xiao-MoMi/Custom-Nameplates.svg)](https://jitpack.io/#Xiao-MoMi/Custom-Nameplates)
<a href="https://mo-mi.gitbook.io/xiaomomi-plugins/plugin-wiki/customnameplates" alt="GitBook"> <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"/> <img src="https://img.shields.io/badge/docs-gitbook-brightgreen" alt="Gitbook"/>
</a> </a>
@@ -41,42 +40,29 @@ Afdian: https://afdian.com/@xiaomomi/
```html ```html
<repositories> <repositories>
<repository> <repository>
<id>jitpack</id> <id>xiaomomi repo</id>
<url>https://jitpack.io/</url> <url>https://repo.momirealms.net/</url>
</repository> </repository>
</repositories> </repositories>
``` ```
```html ```html
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.github.Xiao-MoMi</groupId> <groupId>net.momirealms</groupId>
<artifactId>Custom-Nameplates</artifactId> <artifactId>custom-nameplates</artifactId>
<version>{VERSION}</version> <version>3.0.19</version>
<scope>provided</scope> </dependency>
</dependency>
</dependencies> </dependencies>
``` ```
### Gradle (Groovy)
```groovy
repositories {
maven { url 'https://jitpack.io' }
}
```
```groovy
dependencies {
compileOnly 'com.github.Xiao-MoMi:Custom-Nameplates:{VERSION}'
}
```
### Gradle (Kotlin) ### Gradle (Kotlin)
```kotlin ```kotlin
repositories { repositories {
maven("https://jitpack.io/") maven("https://repo.momirealms.net/")
} }
``` ```
```kotlin ```kotlin
dependencies { dependencies {
compileOnly("com.github.Xiao-MoMi:Custom-Nameplates:{VERSION}") compileOnly("net.momirealms:custom-nameplates:3.0.19")
} }
``` ```