Files
HamsterCurrency-Parent/README.MD
2022-01-16 16:54:02 +08:00

64 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# [HamsterCurrency](https://github.com/MiniDay/HamsterCurrency-Parent)
[![](https://jitpack.io/v/cn.hamster3/HamsterCurrency.svg)](https://jitpack.io/#cn.hamster3/HamsterCurrency)
仓鼠的多货币经济插件
# 依赖前置
- [HamsterAPI](https://github.com/MiniDay/HamsterAPI/releases)
- [HamsterService](https://github.com/MiniDay/HamsterService/releases) (仅跨服模式需要)
- [Vault](https://www.spigotmc.org/resources/vault.34315/) 仅开启Vault经济系统时需要
- [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) (非必须)
# 开发者
## 依赖导入
### Maven
添加仓库:
```xml
<repositories>
<repository>
<id>airgame-repo</id>
<url>https://maven.airgame.net/repository/maven-repo/</url>
</repository>
</repositories>
```
添加导入:
```xml
<dependency>
<groupId>cn.hamster3</groupId>
<artifactId>HamsterCurrency</artifactId>
<version>2.0.9-SNAPSHOT</version>
</dependency>
```
### Gradle
添加仓库:
```groovy
allprojects {
repositories {
maven { url 'https://maven.airgame.net/repository/maven-repo/' }
}
}
```
添加导入:
```groovy
dependencies {
implementation 'cn.hamster3:HamsterCurrency:2.0.9-SNAPSHOT'
}
```
## API
请参考[CurrencyAPI](/currency-plugin/src/main/java/cn/hamster3/currency/api/CurrencyAPI.java)