mirror of
https://github.com/MiniDay/HamsterCurrency-Parent.git
synced 2025-08-22 12:15:31 +08:00
64 lines
1.2 KiB
Markdown
64 lines
1.2 KiB
Markdown
# HamsterCurrency
|
||
|
||
[](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>jitpack.io</id>
|
||
<url>https://jitpack.io</url>
|
||
</repository>
|
||
</repositories>
|
||
```
|
||
|
||
添加导入:
|
||
|
||
```xml
|
||
<dependency>
|
||
<groupId>cn.hamster3</groupId>
|
||
<artifactId>HamsterCurrency</artifactId>
|
||
<version>2.0.6-SNAPSHOT</version>
|
||
</dependency>
|
||
```
|
||
|
||
### Gradle
|
||
|
||
添加仓库:
|
||
|
||
```groovy
|
||
allprojects {
|
||
repositories {
|
||
maven { url 'https://jitpack.io' }
|
||
}
|
||
}
|
||
```
|
||
|
||
添加导入:
|
||
|
||
```groovy
|
||
dependencies {
|
||
implementation 'cn.hamster3:HamsterCurrency:1.3.7-SNAPSHOT'
|
||
}
|
||
```
|
||
|
||
## API
|
||
|
||
请参考[CurrencyAPI](/currency-plugin/src/main/java/cn/hamster3/currency/api/CurrencyAPI.java)
|
||
|