-
Notifications
You must be signed in to change notification settings - Fork 0
/
deinplugin.yaml
225 lines (211 loc) · 5.29 KB
/
deinplugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
specVersion: 1
type: plugin
name: CreeperRecover
authors:
- HttpRafa
supportedPlatforms:
- spigot
- paper
supportedGameVersions: ^1.20
category: protection
introduction:
de: 'Ein Plugin was Blöcke, die durch Explosionen zerstört wurden Wiederherstellt'
en: 'Recovers all destroyed blocks by Creeper or other Entities'
description:
de: |
# Bilder
![Example 1](https://i.postimg.cc/vHJMc4Qj/2021-12-31-17-53-38.gif)
# Commands
![Command 1](https://raw.githubusercontent.com/HttpRafa/CreeperRecover/master/images/command1.png)
![Command 2](https://raw.githubusercontent.com/HttpRafa/CreeperRecover/master/images/command2.png)
# Konfiguration
```
{
"configVersion": 1,
"plugin": {
"bStats": true,
"ignoreUpdates": false
},
"recover": {
"recoverSpeed": 3,
"blockRecoverSound": "BLOCK_GRAVEL_PLACE"
},
"target": [
{
"type": "ENTITY",
"ignore": false,
"all": true,
"entityTypes": [
"CREEPER",
"PRIMED_TNT"
]
},
{
"type": "HEIGHT_RANGE",
"ignore": false,
"from": -64,
"to": 320
},
{
"type": "HEIGHT_FIXED",
"ignore": true,
"fixed": 32
}
]
}
```
## Optionen
```
configVersion: Konfigurationsversion
bStats: Ob bStats aktiviert sein soll.
ignoreUpdates: Wenn keine Meldung in der Konsole angezeigt werden soll, wenn das Plugin ein Update hat.
recoverSpeed: Die Anzahl der Ticks zwischen jedem Block, der wiederhergestellt wird.
blockRecoverSound: Der Ton, der abgespielt werden soll, wenn das Plugin einen Block platziert.
target: In der Liste werden Regeln angegeben, wo das Plugin wirken soll.
all: Wenn "all" auf "true" gesetzt ist, sind alle Entitäten betroffen. Wenn Sie also möchten, dass nur TNT wiederhergestellt wird, setzen Sie "all" auf "false" und definieren Sie TNT in der Einstellung „entityTypes“.
```
### Beispiel Entitäten
```
CREEPER
PRIMED_TNT
SMALL_FIREBALL
FIREBALL
WITHER_SKULL
DRAGON_FIREBALL
```
# Konfigurations Beispiele[target]
### Effect all entities
```
{
"type": "ENTITY",
"ignore": false,
"all": true
}
```
### Effect only TnT and Creepers
```
{
"type": "ENTITY",
"ignore": false,
"entityTypes": [
"CREEPER",
"PRIMED_TNT"
]
}
```
### Effect only from Y-0 to Y-320
```
{
"type": "HEIGHT_RANGE",
"ignore": false,
"from": 0,
"to": 320
}
```
### Effect only at Y-60
```
{
"type": "HEIGHT_FIXED",
"ignore": false,
"fixed": 60
}
```
en: |
# Images
![Example 1](https://i.postimg.cc/vHJMc4Qj/2021-12-31-17-53-38.gif)
# Commands
![Command 1](https://raw.githubusercontent.com/HttpRafa/CreeperRecover/master/images/command1.png)
![Command 2](https://raw.githubusercontent.com/HttpRafa/CreeperRecover/master/images/command2.png)
# Config
```
{
"configVersion": 1,
"plugin": {
"bStats": true,
"ignoreUpdates": false
},
"recover": {
"recoverSpeed": 3,
"blockRecoverSound": "BLOCK_GRAVEL_PLACE"
},
"target": [
{
"type": "ENTITY",
"ignore": false,
"all": true,
"entityTypes": [
"CREEPER",
"PRIMED_TNT"
]
},
{
"type": "HEIGHT_RANGE",
"ignore": false,
"from": -64,
"to": 320
},
{
"type": "HEIGHT_FIXED",
"ignore": true,
"fixed": 32
}
]
}
```
## Options
```
configVersion: Is set to the current config version.
bStats: Whether bStats is enabled or disabled. To support me please leave it active.
ignoreUpdates: If you don't want to receive a message in the console when the plugin has a update.
recoverSpeed: The amount of ticks between each block that is being recovered.
blockRecoverSound: Is the sound played when the plugin places a block.
target: In the list, rules are specified where the plugin should take effect.
all: If "all" is set to true all entities will be affected. So if you want only TNT to be recovered then set "all" to false and define TNT in the entityTypes setting.
```
### Example Entities
```
CREEPER
PRIMED_TNT
SMALL_FIREBALL
FIREBALL
WITHER_SKULL
DRAGON_FIREBALL
```
# Config Examples[target]
### Effect all entities
```
{
"type": "ENTITY",
"ignore": false,
"all": true
}
```
### Effect only TnT and Creepers
```
{
"type": "ENTITY",
"ignore": false,
"entityTypes": [
"CREEPER",
"PRIMED_TNT"
]
}
```
### Effect only from Y-0 to Y-320
```
{
"type": "HEIGHT_RANGE",
"ignore": false,
"from": 0,
"to": 320
}
```
### Effect only at Y-60
```
{
"type": "HEIGHT_FIXED",
"ignore": false,
"fixed": 60
}
```
icon: https://raw.githubusercontent.com/HttpRafa/CreeperRecover/master/images/icon.png