Date: 2020/04/21 09:14:07 UTC-07:00
Type: Denizen Script
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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
Reseteo_automatico:
Debug: true
Type: World
speed: 0t
Events:
on system time 18:00:
- if <util.date.time.day> == 1:
- if <util.date.time.month> == 1:
- run Reseteo_recursos_1 d:-596603885200966|sea
- else if <util.date.time.month> == 2:
- run Reseteo_recursos_1 d:4837753214958088255
- else if <util.date.time.month> == 3:
- run Reseteo_recursos_1 d:846561022835665|ruin
- else if <util.date.time.month> == 4:
- run Reseteo_recursos_1 d:846147556|sea
- else if <util.date.time.month> == 5:
- run Reseteo_recursos_1 d:-001326165269738
- else if <util.date.time.month> == 6:
- run Reseteo_recursos_1 d:-854994388|ruin
- else if <util.date.time.month> == 7:
- run Reseteo_recursos_1 d:446519108656856
- else if <util.date.time.month> == 8:
- run Reseteo_recursos_1 d:380978523
- else if <util.date.time.month> == 9:
- run Reseteo_recursos_1 d:-534977931221645
- else if <util.date.time.month> == 10:
- run Reseteo_recursos_1 d:961724081450558
- else if <util.date.time.month> == 11:
- run Reseteo_recursos_1 d:144301249267607|ruin
- else if <util.date.time.month> == 12:
- run Reseteo_recursos_1 d:358845986351310|sea
- wait 10m
- run Reseteo_nether_1
- wait 5m
- run Reseteo_end_1
- else if <util.date.time.day> == 15:
- if <util.date.time.month> 1:
- run Reseteo_recursos_1 d:-786991116694436
- else if <util.date.time.month> == 2:
- run Reseteo_recursos_1 d:566793475807056464
- else if <util.date.time.month> == 3:
- run Reseteo_recursos_1 d:5387364523423380365|sea
- else if <util.date.time.month> == 4:
- run Reseteo_recursos_1 d:-708799528650006
- else if <util.date.time.month> == 5:
- run Reseteo_recursos_1 d:285388106794586|ruin
- else if <util.date.time.month> == 6:
- run Reseteo_recursos_1 d:293362145
- else if <util.date.time.month> == 7:
- run Reseteo_recursos_1 d:-477058078
- else if <util.date.time.month> == 8:
- run Reseteo_recursos_1 d:-635205980|sea
- else if <util.date.time.month> == 9:
- run Reseteo_recursos_1 d:1011474258|ruin
- else if <util.date.time.month> == 10:
- run Reseteo_recursos_1 d:-449379148420718
- else if <util.date.time.month> == 11:
- run Reseteo_recursos_1 d:2463335533919779154|sea
- else if <util.date.time.month> == 12:
- run Reseteo_recursos_1 d:-1766999811
Reseteo_nether_1:
Debug: true
Type: task
speed: 0t
Script:
- modifyblock entrada_nether barrier
- wait 5s
- foreach <w@NM2_nether.players>:
- narrate "<gold>[<white>La brecha interdimensional se está cerrando<gold>]" target:<[value]>
- ^title "title:<dark_red>Atención" "subtitle:<green>El Inframundo va a reiniciarse" targets:<[value]>
- wait 5t
- wait 2s
- foreach <w@NM2_nether.players>:
- narrate "<gold>[<white>Has sido enviado de vuelta a casa<gold>]" target:<[value]>
- execute as_server "cmi tppos <[value]> -36 59 37 NM2 -rng:2"
- wait 5t
- wait 5s
- execute as_server "mv regen NM2_nether -s"
- ^title "title:<dark_red>Atención" "subtitle:<green>El acceso al Inframundo está cambiando" targets:<server.list_online_players>
- wait 5s
- execute as_server "mvconfirm"
- wait 25s
- schematic load name:spawn_inframundo2
- schematic paste name:spawn_inframundo2 l@-11.0,31.0,-11.0,NM2_nether
- wait 5s
- narrate "<gold>[<white>El Inframundo ha generado un nuevo portal<gold>]" target:<server.list_online_players>
- playsound <server.list_online_players> sound:ENTITY_FIREWORK_LAUNCH volume:0.5 pitch:0.3
- modifyblock entrada_nether air
- execute as_server "cmi reload"
Reseteo_end_1:
Debug: true
Type: task
speed: 0t
Script:
- modifyblock entrada_end barrier
- wait 5s
- foreach <w@NM2_the_end.players>:
- narrate "<gold>[<white>La brecha interdimensional se está cerrando<gold>]" target:<[value]>
- ^title "title:<dark_red>Atención" "subtitle:<green>El Fin va a reiniciarse" targets:<[value]>
- wait 5t
- wait 2s
- foreach <w@NM2_the_end.players>:
- narrate "<gold>[<white>Has sido enviado de vuelta a casa<gold>]" target:<[value]>
- execute as_server "cmi tppos <[value]> -36 59 37 NM2 -rng:2"
- wait 5t
- wait 5s
- execute as_server "mv regen NM2_the_end -s"
- ^title "title:<dark_red>Atención" "subtitle:<green>El acceso al Fin está cambiando" targets:<server.list_online_players>
- wait 5s
- execute as_server "mvconfirm"
- wait 25s
- schematic load name:spawn_end2
- schematic paste name:spawn_end2 l@50.0,52.0,22.0,NM2_the_end noair
- wait 5s
- narrate "<gold>[<white>El Fin ha generado un nuevo portal<gold>]" target:<server.list_online_players>
- playsound <server.list_online_players> sound:ENTITY_FIREWORK_LAUNCH volume:0.5 pitch:0.3
- modifyblock entrada_end air
- execute as_server "cmi reload"
#Este es el script que resetea Mundo recursos. Uso: /ex run Reseteo_recursos_1
Reseteo_recursos_1:
Debug: true
Type: task
speed: 0t
Script:
# - modifyblock entrada_recursos barrier
# - foreach <server.list_offline_players>:
# - if <[value].world> == Recursos:
# - teleport <[value]> 72.0,100.0,87.0,NM2
- wait 5s
- foreach <w@Recursos.players>:
- narrate "<gold>[<white>La brecha interdimensional se está cerrando<gold>]" target:<[value]>
- ^title "title:<dark_red>Atención" "subtitle:<green>Mundo Recursos va a reiniciarse" targets:<[value]>
- wait 5t
- wait 2s
- foreach <w@Recursos.players>:
- narrate "<gold>[<white>Has sido enviado de vuelta a casa<gold>]" target:<[value]>
- execute as_server "cmi tppos <[value]> -36 59 37 NM2 -rng:2"
- wait 5t
- wait 5s
- if <[1]> == null:
- execute as_server "mv regen Recursos -s"
- else:
- execute as_server "mv regen Recursos -s <[1]>"
- ^title "title:<dark_red>Atención" "subtitle:<green>El acceso al Mundo Recursos está cambiando" targets:<server.list_online_players>
- wait 5s
- execute as_server "mvconfirm"
- wait 25s
- if <[2]> == sea:
- schematic load filename:spawn_recursos2.schematic
- schematic paste filename:spawn_recursos2.schematic l@-8.0,62.0,-8.0,recursos air
- else if <[2]> == ruin:
- schematic load filename:spawn_recursos3.schematic
- schematic paste filename:spawn_recursos3.schematic l@-8.0,62.0,-8.0,recursos air
- else:
- schematic load filename:spawn_recursos_sub.schematic
- schematic paste filename:spawn_recursos_sub.schematic l@-8.0,62.0,-8.0,recursos noair
- wait 1
- note remove as:NM2_Recursos
- note remove as:Recursos_NM2
- wait 5t
- note cu@3.0,63.0,0.0,recursos|-3.0,68.0,0.0,recursos as:Recursos_NM2
- wait 5t
- note cu@250.0,11.0,76.0,NM2|254.0,13.0,76.0,NM2 as:NM2_Recursos
- wait 5s
- define size "<cu@8.0,63.0,8.0,recursos|-8.0,71.0,-8.0,recursos.blocks[Barrier].size>"
- foreach <cu@8.0,63.0,8.0,recursos|-8.0,71.0,-8.0,recursos.blocks[Barrier]>:
- modifyblock <[value]> air
- wait 1t
# - actionbar "Reset: <[loop_index].mul[100].div<[size]>.as_int><&pc>" targets:<server.list_online_ops>
- wait 1s
- narrate "<gold>[<white>El Mundo Recursos ha generado un nuevo portal<gold>]" target:<server.list_online_players>
- playsound <server.list_online_players> sound:ENTITY_FIREWORK_LAUNCH volume:0.5 pitch:0.3
# - modifyblock entrada_recursos air
- execute as_server "cmi reload"
#Transporte_Recursos:
# Debug: true
# Type: world
# Events:
# on player enters NM2_Recursos:
# - queue clear
# - random:
# - teleport <player> l@0.5,63.0,2.5,recursos
# - repeat 1:
# - teleport <player> l@0.5,63.0,-2.5,recursos
# - look <player> l@0.5,64.5,-7.5,recursos
# on player enters Recursos_NM2:
# - queue clear
# - teleport <player> l@252.5,11.0,78.5,NM2
Embellecer_spawn_recursos:
Debug: true
Type: task
speed: 0t
Script:
- stop
- modifyblock cu@-2.0,63.0,7.0,recursos|-2.0,64.0,7.0,recursos air
- modifyblock cu@-1.0,63.0,7.0,recursos|-1.0,65.0,7.0,recursos air
- modifyblock cu@0.0,63.0,7.0,recursos|0.0,66.0,7.0,recursos air
- wait 5t
- modifyblock cu@1.0,63.0,7.0,recursos|1.0,67.0,7.0,recursos air
- modifyblock cu@2.0,64.0,7.0,recursos|2.0,66.0,7.0,recursos air
- modifyblock l@3.0,65.0,7.0,recursos air
- modifyblock l@-4.0,65.0,6.0,recursos air
- wait 5t
- modifyblock cu@-3.0,63.0,6.0,recursos|-3.0,66.0,6.0,recursos air
- modifyblock cu@-2.0,63.0,6.0,recursos|-2.0,65.0,6.0,recursos air
- modifyblock cu@-1.0,63.0,6.0,recursos|-1.0,66.0,6.0,recursos air
- wait 5t
- modifyblock cu@0.0,63.0,6.0,recursos|0.0,67.0,6.0,recursos air
- modifyblock cu@1.0,63.0,6.0,recursos|1.0,67.0,6.0,recursos air
- modifyblock cu@2.0,63.0,6.0,recursos|2.0,67.0,6.0,recursos air
- wait 5t
- modifyblock cu@3.0,64.0,6.0,recursos|3.0,66.0,6.0,recursos air
- modifyblock cu@4.0,64.0,6.0,recursos|4.0,65.0,6.0,recursos air
- wait 5t
- modifyblock cu@-4.0,65.0,5.0,recursos|-4.0,66.0,5.0,recursos air
- modifyblock cu@-3.0,63.0,5.0,recursos|-3.0,67.0,5.0,recursos air
- modifyblock cu@-2.0,63.0,5.0,recursos|-2.0,66.0,5.0,recursos air
- wait 5t
- modifyblock cu@-1.0,63.0,5.0,recursos|-1.0,67.0,5.0,recursos air
- modifyblock cu@0.0,63.0,5.0,recursos|0.0,67.0,5.0,recursos air
- modifyblock cu@1.0,63.0,5.0,recursos|1.0,67.0,5.0,recursos air
- wait 5t
- modifyblock cu@2.0,63.0,5.0,recursos|2.0,68.0,5.0,recursos air
- modifyblock cu@3.0,64.0,5.0,recursos|3.0,66.0,5.0,recursos air
- modifyblock l@4.0,65.0,5.0,recursos air
- wait 5t
- modifyblock cu@-4.0,64.0,4.0,recursos|-4.0,67.0,4.0,recursos air
- modifyblock cu@-3.0,63.0,4.0,recursos|-3.0,69.0,4.0,recursos air
- wait 5t
- modifyblock cu@-2.0,63.0,4.0,recursos|-2.0,69.0,4.0,recursos air
- modifyblock cu@-1.0,63.0,4.0,recursos|-1.0,68.0,4.0,recursos air
- modifyblock cu@0.0,63.0,4.0,recursos|0.0,67.0,4.0,recursos air
- wait 5t
- modifyblock cu@1.0,63.0,4.0,recursos|1.0,67.0,4.0,recursos air
- modifyblock cu@2.0,63.0,4.0,recursos|2.0,68.0,4.0,recursos air
- modifyblock cu@3.0,63.0,4.0,recursos|3.0,67.0,4.0,recursos air
- wait 5t
- modifyblock l@4.0,66.0,4.0,recursos air
- modifyblock l@-5.0,66.0,3.0,recursos air
- modifyblock l@-4.0,64.0,3.0,recursos air
- modifyblock cu@-4.0,66.0,3.0,recursos|-4.0,68.0,3.0,recursos air
- wait 5t
- modifyblock cu@-3.0,63.0,3.0,recursos|-3.0,69.0,3.0,recursos air
- modifyblock cu@-2.0,63.0,3.0,recursos|-2.0,69.0,3.0,recursos air
- modifyblock cu@-1.0,63.0,3.0,recursos|-1.0,68.0,3.0,recursos air
- modifyblock cu@0.0,63.0,3.0,recursos|0.0,67.0,3.0,recursos air
- wait 5t
- modifyblock cu@1.0,63.0,3.0,recursos|1.0,67.0,3.0,recursos air
- modifyblock cu@2.0,63.0,3.0,recursos|2.0,68.0,3.0,recursos air
- wait 5t
- modifyblock cu@3.0,63.0,3.0,recursos|3.0,64.0,3.0,recursos air
- modifyblock cu@3.0,66.0,3.0,recursos|3.0,67.0,3.0,recursos air
- modifyblock l@4.0,66.0,3.0,recursos air
- modifyblock cu@-5.0,65.0,2.0,recursos|-5.0,67.0,2.0,recursos air
- modifyblock cu@-4.0,63.0,2.0,recursos|-4.0,68.0,2.0,recursos air
- wait 5t
- modifyblock cu@-3.0,63.0,2.0,recursos|-3.0,69.0,2.0,recursos air
- modifyblock cu@-2.0,63.0,2.0,recursos|-2.0,69.0,2.0,recursos air
- modifyblock cu@-1.0,63.0,2.0,recursos|-1.0,68.0,2.0,recursos air
- wait 5t
- modifyblock cu@0.0,63.0,2.0,recursos|0.0,68.0,2.0,recursos air
- modifyblock cu@1.0,63.0,2.0,recursos|1.0,68.0,2.0,recursos air
- modifyblock cu@2.0,63.0,2.0,recursos|2.0,68.0,2.0,recursos air
- wait 5t
- modifyblock cu@3.0,63.0,2.0,recursos|3.0,68.0,2.0,recursos air
- modifyblock l@4.0,64.0,2.0,recursos air
- modifyblock cu@4.0,66.0,2.0,recursos|4.0,67.0,2.0,recursos air
- modifyblock cu@-4.0,64.0,1.0,recursos|-4.0,67.0,1.0,recursos air
- wait 5t
- modifyblock cu@-3.0,63.0,1.0,recursos|-3.0,68.0,1.0,recursos air
- modifyblock cu@-2.0,63.0,1.0,recursos|-2.0,69.0,1.0,recursos air
- modifyblock cu@-1.0,63.0,1.0,recursos|-1.0,68.0,1.0,recursos air
- wait 5t
- modifyblock cu@0.0,63.0,1.0,recursos|0.0,68.0,1.0,recursos air
- modifyblock cu@1.0,63.0,1.0,recursos|1.0,68.0,1.0,recursos air
- modifyblock cu@2.0,63.0,1.0,recursos|2.0,69.0,1.0,recursos air
- wait 5t
- modifyblock cu@3.0,63.0,1.0,recursos|3.0,68.0,1.0,recursos air
- modifyblock l@4.0,64.0,1.0,recursos air
- modifyblock cu@4.0,66.0,1.0,recursos|4.0,67.0,1.0,recursos air
- wait 5t
#Hasta aquí es una de las mitades del spawn de recursos.
- modifyblock cu@3.0,64.0,0.0,recursos|3.0,67.0,0.0,recursos air
- modifyblock cu@2.0,63.0,0.0,recursos|2.0,68.0,0.0,recursos air
- modifyblock cu@1.0,63.0,0.0,recursos|1.0,68.0,0.0,recursos air
- modifyblock cu@0.0,63.0,0.0,recursos|0.0,68.0,0.0,recursos air
- wait 5t
- modifyblock cu@-1.0,63.0,0.0,recursos|-1.0,68.0,0.0,recursos air
- modifyblock cu@-2.0,63.0,0.0,recursos|-2.0,68.0,0.0,recursos air
- modifyblock cu@-3.0,64.0,0.0,recursos|-3.0,67.0,0.0,recursos air
#Hasta aquí es la parte del centro.
- modifyblock cu@1.0,63.0,-7.0,recursos|1.0,65.0,-7.0,recursos air
- wait 5t
- modifyblock cu@0.0,63.0,-7.0,recursos|0.0,66.0,-7.0,recursos air
- modifyblock cu@-1.0,63.0,-7.0,recursos|-1.0,66.0,-7.0,recursos air
- wait 5t
- modifyblock cu@-2.0,64.0,-7.0,recursos|-2.0,65.0,-7.0,recursos air
- modifyblock l@3.0,66.0,-6.0,recursos air
- modifyblock cu@2.0,64.0,-6.0,recursos|2.0,67.0,-6.0,recursos air
- modifyblock cu@1.0,63.0,-6.0,recursos|1.0,68.0,-6.0,recursos air
- wait 5t
- modifyblock cu@0.0,63.0,-6.0,recursos|0.0,69.0,-6.0,recursos air
- modifyblock cu@-1.0,63.0,-6.0,recursos|-1.0,68.0,-6.0,recursos air
- modifyblock cu@-2.0,63.0,-6.0,recursos|-2.0,66.0,-6.0,recursos air
- modifyblock l@-2.0,68.0,-6.0,recursos air
- wait 5t
- modifyblock cu@-3.0,64.0,-6.0,recursos|-3.0,65.0,-6.0,recursos air
- modifyblock l@3.0,66.0,-5.0,recursos air
- modifyblock cu@2.0,64.0,-5.0,recursos|2.0,67.0,-5.0,recursos air
- modifyblock cu@1.0,63.0,-5.0,recursos|1.0,68.0,-5.0,recursos air
- wait 5t
- modifyblock cu@0.0,63.0,-5.0,recursos|0.0,70.0,-5.0,recursos air
- modifyblock cu@-1.0,63.0,-5.0,recursos|-1.0,69.0,-5.0,recursos air
- modifyblock cu@-2.0,63.0,-5.0,recursos|-2.0,69.0,-5.0,recursos air
- wait 5t
- modifyblock cu@-3.0,64.0,-5.0,recursos|-3.0,66.0,-5.0,recursos air
- modifyblock l@4.0,66.0,-4.0,recursos air
- modifyblock cu@3.0,64.0,-4.0,recursos|3.0,67.0,-4.0,recursos air
- wait 5t
- modifyblock cu@2.0,63.0,-4.0,recursos|2.0,68.0,-4.0,recursos air
- modifyblock cu@1.0,63.0,-4.0,recursos|1.0,69.0,-4.0,recursos air
- modifyblock cu@0.0,63.0,-4.0,recursos|0.0,70.0,-4.0,recursos air
- wait 5t
- modifyblock cu@-1.0,63.0,-4.0,recursos|-1.0,69.0,-4.0,recursos air
- modifyblock cu@-2.0,63.0,-4.0,recursos|-2.0,69.0,-4.0,recursos air
- modifyblock cu@-3.0,64.0,-4.0,recursos|-3.0,67.0,-4.0,recursos air
- modifyblock l@-3.0,69.0,-4.0,recursos air
- wait 5t
- modifyblock cu@4.0,66.0,-3.0,recursos|4.0,67.0,-3.0,recursos air
- modifyblock l@3.0,64.0,-3.0,recursos air
- modifyblock cu@3.0,66.0,-3.0,recursos|3.0,68.0,-3.0,recursos air
- modifyblock cu@2.0,63.0,-3.0,recursos|2.0,69.0,-3.0,recursos air
- wait 5t
- modifyblock cu@1.0,63.0,-3.0,recursos|1.0,70.0,-3.0,recursos air
- modifyblock cu@0.0,63.0,-3.0,recursos|0.0,70.0,-3.0,recursos air
- modifyblock cu@-1.0,63.0,-3.0,recursos|-1.0,69.0,-3.0,recursos air
- wait 5t
- modifyblock cu@-2.0,63.0,-3.0,recursos|-2.0,69.0,-3.0,recursos air
- modifyblock l@-3.0,64.0,-3.0,recursos air
- modifyblock cu@-3.0,66.0,-3.0,recursos|-3.0,69.0,-3.0,recursos air
- modifyblock cu@-4.0,66.0,-3.0,recursos|-4.0,67.0,-3.0,recursos air
- wait 5t
- modifyblock cu@4.0,64.0,-2.0,recursos|4.0,65.0,-2.0,recursos air
- modifyblock l@4.0,67.0,-2.0,recursos air
- modifyblock cu@3.0,63.0,-2.0,recursos|3.0,68.0,-2.0,recursos air
- wait 5t
- modifyblock cu@2.0,63.0,-2.0,recursos|2.0,69.0,-2.0,recursos air
- modifyblock cu@1.0,63.0,-2.0,recursos|1.0,68.0,-2.0,recursos air
- modifyblock cu@0.0,63.0,-2.0,recursos|0.0,69.0,-2.0,recursos air
- wait 5t
- modifyblock cu@-1.0,63.0,-2.0,recursos|-1.0,69.0,-2.0,recursos air
- modifyblock cu@-2.0,63.0,-2.0,recursos|-2.0,68.0,-2.0,recursos air
- modifyblock cu@-3.0,63.0,-2.0,recursos|-3.0,69.0,-2.0,recursos air
- wait 5t
- modifyblock cu@-4.0,64.0,-2.0,recursos|-4.0,68.0,-2.0,recursos air
- modifyblock cu@4.0,65.0,-1.0,recursos|4.0,66.0,-1.0,recursos air
- modifyblock cu@3.0,63.0,-1.0,recursos|3.0,67.0,-1.0,recursos air
- modifyblock cu@2.0,63.0,-1.0,recursos|2.0,68.0,-1.0,recursos air
- wait 5t
- modifyblock cu@1.0,63.0,-1.0,recursos|1.0,68.0,-1.0,recursos air
- modifyblock cu@0.0,63.0,-1.0,recursos|0.0,68.0,-1.0,recursos air
- modifyblock cu@-1.0,63.0,-1.0,recursos|-1.0,68.0,-1.0,recursos air
- wait 5t
- modifyblock cu@-2.0,63.0,-1.0,recursos|-2.0,68.0,-1.0,recursos air
- modifyblock cu@-3.0,63.0,-1.0,recursos|-3.0,68.0,-1.0,recursos air
- modifyblock cu@-4.0,64.0,-1.0,recursos|-4.0,66.0,-1.0,recursos air