add item commands
This commit is contained in:
48
README.md
Normal file
48
README.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# BedwarsXP
|
||||
|
||||
[](LICENSE)
|
||||
|
||||
BedwarsXP - BedwarsRel addon (A Minecraft Server Plugin)
|
||||
|
||||
BedwarsRel起床战争小游戏插件的经验起床Addon
|
||||
|
||||
## 功能特性
|
||||
|
||||
- **经验经济系统**:将 BedwarsRel 的资源经济转换为经验值经济
|
||||
- **资源兑换商店**:添加经验兑换分类,允许玩家将资源转换为经验
|
||||
- **命令商店物品支持**:支持配置执行命令的商店物品(如权限、传送等命令)
|
||||
- **全经验模式**:支持将所有商店物品转换为经验交易
|
||||
|
||||
## 最近更新
|
||||
|
||||
### 新增:命令商店物品支持
|
||||
|
||||
现在支持在商店中配置执行命令的物品,而非仅给予物品:
|
||||
|
||||
```yaml
|
||||
shop:
|
||||
- item1:
|
||||
type: EXP_BOTTLE
|
||||
amount: 10
|
||||
reward:
|
||||
type: STONE
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: §eVIP权限
|
||||
commands:
|
||||
- "lp user %player% parent add vip"
|
||||
```
|
||||
|
||||
- `%player%` 变量会被替换为购买玩家的名称
|
||||
- 支持 XP 交易和传统物品交易两种模式
|
||||
- 购买时会自动扣除相应的经验或资源
|
||||
|
||||
## 协议
|
||||
|
||||
本项目基于 [GPL-2.0](LICENSE) 协议开源。
|
||||
|
||||
> This program is free software; you can redistribute it and/or modify
|
||||
> it under the terms of the GNU General Public License as published by
|
||||
> the Free Software Foundation; either version 2 of the License, or
|
||||
> (at your option) any later version.
|
||||
Reference in New Issue
Block a user