Skip to content

Commit 7e19fa6

Browse files
committed
readme
1 parent ea018d3 commit 7e19fa6

14 files changed

Lines changed: 100 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ jobs:
4848
name: Version ${{ github.ref_name }}
4949
tag_name: ${{ github.ref_name }}
5050
files: |
51-
build/libs/build/libs/revivetoken-${{github.ref_name}}.jar
51+
build/libs/revivetoken-${{github.ref_name}}.jar
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# ReviveToken
2+
3+
[English](#english-version)
4+
5+
复活币![coin](src/main/resources/assets/revivetoken/textures/item/coin.png)
6+
消耗 **1****复活币**可以在当前位置原地复活,复活币不会掉落
7+
![DeathScreen](img/1.png)
8+
gif:
9+
![DeathScreenGIF](img/2.gif)
10+
11+
## 新增内容
12+
13+
- 物品:复活币![coin](src/main/resources/assets/revivetoken/textures/item/coin.png)
14+
![coin in creativeTab](img/3.png)
15+
- **交易**:
16+
1. 图书管理员
17+
![trade1](img/4.png)
18+
2. 流浪商人-一般交易
19+
![trade2](img/6.png)
20+
3. 流浪商人-稀有交易
21+
![trade3](img/5.png)
22+
- "原地复活"按钮
23+
![DeathScreen](img/1.png)
24+
25+
## 可自定义内容
26+
27+
配置文件示例:
28+
29+
```toml
30+
#Specify the Token item to consume
31+
token = "revivetoken:coin"
32+
#Specify the Item count to consume
33+
# Default: 1
34+
# Range: > 0
35+
cost = 1
36+
#Disable the trade recipes of Coin
37+
notrade = false
38+
```
39+
40+
改变`token`可以改变复活时消耗什么物品(不掉落的物品也会随之改变)
41+
改变`cost`可以改变复活时消耗多少币
42+
`notrade`改为`true`可以取消添加的交易配方
43+
44+
## FAQ
45+
46+
**Q: 为什么我背包里明明有币但是没有立即复活的按钮?**
47+
**A:** 币不够/币不符合你填的配置文件
48+
49+
**Q: Fabric / Forge / 1.20.1?**
50+
**A:** 不会做,但欢迎 PR
51+
52+
## English Version
53+
54+
Revive Token - Coin ![coin](src/main/resources/assets/revivetoken/textures/item/coin.png)
55+
Consuming **1** Revive Token allows you to respawn on the spot. Tokens will not drop on death.
56+
![DeathScreen](img/1e.png)
57+
gif:
58+
![DeathScreenGIF](img/2e.gif)
59+
60+
## New Features
61+
62+
- Item: Revive Token ![coin](src/main/resources/assets/revivetoken/textures/item/coin.png)
63+
![coin in creativeTab](img/3e.png)
64+
- **Trades**:
65+
1. Librarian
66+
![trade1](img/4e.png)
67+
2. Wandering Trader – Common Trade
68+
![trade2](img/6e.png)
69+
3. Wandering Trader – Rare Trade
70+
![trade3](img/5e.png)
71+
- "Revive" button
72+
![DeathScreen](img/1e.png)
73+
74+
## Customizable Settings
75+
76+
Sample configuration file:
77+
78+
```toml
79+
#Specify the Token item to consume
80+
token = "revivetoken:coin"
81+
#Specify the Item count to consume
82+
# Default: 1
83+
# Range: > 0
84+
cost = 1
85+
#Disable the trade recipes of Coin
86+
notrade = false
87+
```
88+
89+
Changing `token` lets you define which item is consumed upon revival (non-droppable items will also change accordingly).
90+
Changing `cost` lets you set how many tokens are consumed when reviving.
91+
Set `notrade` to `true` to disable the added trade recipes.
92+
93+
## FAQ
94+
95+
**Q: Why doesn’t the respawn button appear even though I have tokens in my inventory?**
96+
**A:** Not enough tokens / tokens don’t match the item defined in the config file.
97+
98+
**Q: Fabric / Forge / 1.20.1 support?**
99+
**A:** Not implemented. PRs are welcome.

img/1.png

357 KB
Loading

img/1e.png

236 KB
Loading

img/2.gif

1.4 MB
Loading

img/2e.gif

1.04 MB
Loading

img/3.png

22.4 KB
Loading

img/3e.png

84.3 KB
Loading

img/4.png

140 KB
Loading

img/4e.png

199 KB
Loading

0 commit comments

Comments
 (0)