# CreeperRecover
恢复所有被 Creeper 或其他实体破坏的方块
# 图片

# 指令


# 配置文件
```
{
"configVersion": 2,
"plugin": {
"bStats": true,
"ignoreUpdates": false
},
"recover": {
"recoverSpeed": 3,
"recoverDelay": 100,
"blockRecoverSound": "BLOCK_ROOTED_DIRT_PLACE",
"blockBlacklist": []
},
"target": [
{
"type": "WORLD",
"ignore": true,
"whitelist": [],
"blacklist": []
},
{
"type": "ENTITY",
"ignore": true,
"entityTypes": [
"CREEPER",
"PRIMED_TNT"
]
},
{
"type": "HEIGHT_RANGE",
"ignore": true,
"from": -64,
"to": 320
},
{
"type": "HEIGHT_FIXED",
"ignore": true,
"fixed": 32
}
]
}
```
## 选项
```
configVersion: 设置为当前配置文件版本。
bStats: 是否启用或禁用 bStats。 为了支持我,请保持其活动状态。
ignoreUpdates: 如果您不希望在插件更新时在控制台中收到消息。
recoverSpeed: 在恢复每个方块之间经过的滴答数。
recoverDelay: 在开始恢复之前等待的滴答数。
blockRecoverSound: 插件放置方块时播放的声音。
blockBlacklist: 插件会忽略此列表中包含的方块。
target: 在列表中,指定插件生效的规则。
all: 如果将“all”设置为true,则所有实体都会受到影响。 因此,如果您只想恢复 TNT,请将“all”设置为false,并在 entityTypes 设置中定义 TNT。
```
### 示例实体
```
CREEPER
PRIMED_TNT
SMALL_FIREBALL
FIREBALL
WITHER_SKULL
DRAGON_FIREBALL
```
# 配置文件示例 [target]
### 仅影响某些世界
#### 白名单: 仅影响某些世界
#### 黑名单: 影响所有世界,但排除黑名单中的世界
```
{
"type": "WORLD",
"ignore": false,
"whitelist": [],
"blacklist": []
}
```
### 仅影响 TnT 和 Creeper
```
{
"type": "ENTITY",
"ignore": false,
"entityTypes": [
"CREEPER",
"PRIMED_TNT"
]
}
```
### 仅影响从 Y-0 到 Y-320
```
{
"type": "HEIGHT_RANGE",
"ignore": false,
"from": 0,
"to": 320
}
```
### 仅影响 Y-60
```
{
"type": "HEIGHT_FIXED",
"ignore": false,
"fixed": 60
}
```
# 页面
#### [Modrinth](https://modrinth.com/plugin/creeper-recover)
#### [SpigotMC](https://www.spigotmc.org/resources/creeper-recover.98836/)
#### [DeinPlugin](https://deinplugin.net/storage/c97b3869-d8ec-4177-8d8c-b7792c96eedc)