mirror of
https://github.com/MiniDay/HamsterCurrency-Parent.git
synced 2025-08-22 20:25:30 +08:00
Initial commit
This commit is contained in:
63
README.MD
Normal file
63
README.MD
Normal file
@@ -0,0 +1,63 @@
|
||||
# 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)
|
||||
|
Reference in New Issue
Block a user