Date: 2016/01/06 20:58:06 UTC-08: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
warp_menu:
type: inventory
debug: false
title: <&2>Select a Teleport
size: 36
slots:
- "[warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge]"
- "[warp_menu_edge] [warp_menu_slot1] [warp_menu_slot2] [warp_menu_slot3] [warp_menu_slot4] [warp_menu_slot5] [warp_menu_slot6] [warp_menu_slot7] [warp_menu_edge]"
- "[warp_menu_edge] [warp_menu_edge] [warp_menu_slot8] [warp_menu_slot9] [warp_menu_slot10] [warp_menu_slot11] [warp_menu_slot12] [warp_menu_edge] [warp_menu_edge]"
- "[warp_menu_exit] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_edge] [warp_menu_exit]"
warp_menu_slot1:
type: item
debug: false
material: chest
display name: <&c>Crates Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot2:
type: item
debug: false
material: golden_apple:1
display name: <&c>Donor Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot3:
type: item
debug: false
material: obsidian
display name: <&c>Drop Party Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot4:
type: item
debug: false
material: enchantment_table
display name: <&c>Enchant Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot5:
type: item
debug: false
material: ender_portal_frame
display name: <&c>End Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot6:
type: item
debug: false
material: fishing_rod
display name: <&c>Fishing Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot7:
type: item
debug: false
material: grilled_pork
display name: <&c>Food Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot8:
type: item
debug: false
material: emerald
display name: <&c>Merchant Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot9:
type: item
debug: false
material: iron_chestplate
display name: <&c>PvP Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot10:
type: item
debug: false
material: bow
display name: <&c>Quests Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot11:
type: item
debug: false
material: anvil
display name: <&c>Repair Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_slot12:
type: item
debug: false
material: nether_star
display name: <&c>Tokens Teleport
lore:
- "<&8><&l>> <&7>Click to teleport!"
warp_menu_exit:
type: item
debug: false
material: stained_glass_pane:14
display name: <&c>Exit
lore:
- "<&8><&l>> <&7>Click me to exit!"
warp_menu_edge:
type: item
debug: false
material: stained_glass_pane
display name: <&c>
warp_menu_handler:
type: world
debug: false
events:
on player clicks in warp_menu:
- determine cancelled
on player drags on warp_menu:
- determine cancelled
on player clicks warp_menu_slot1 in warp_menu:
- execute as_player "ewarp crates"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player clicks warp_menu_slot2 in warp_menu:
- inventory close d:in@warp_menu
- if <player.has_permission[essentials.warps.donor]> {
- execute as_player "ewarp donor"
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
}
else {
- narrate "<&c>Error: You do not have permission for this warp. Obtain this permission by donating."
}
on player clicks warp_menu_slot3 in warp_menu:
- execute as_player "ewarp dp"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player clicks warp_menu_slot4 in warp_menu:
- execute as_player "ewarp enchant"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player clicks warp_menu_slot5 in warp_menu:
- execute as_player "ewarp end"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player clicks warp_menu_slot6 in warp_menu:
- execute as_player "ewarp fish"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player clicks warp_menu_slot7 in warp_menu:
- execute as_player "ewarp food"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player clicks warp_menu_slot8 in warp_menu:
- execute as_player "ewarp merchants"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player clicks warp_menu_slot9 in warp_menu:
- execute as_player "ewarp pvp"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player clicks warp_menu_slot10 in warp_menu:
- execute as_player "ewarp quests"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player clicks warp_menu_slot11 in warp_menu:
- execute as_player "ewarp repair"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player clicks warp_menu_slot12 in warp_menu:
- execute as_player "ewarp tokens"
- inventory close d:in@warp_menu
- title "title:<&c>5" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>4" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>3" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>2" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
- wait 1s
- title "title:<&c>1" "subtitle:<&7>Teleport commencing..." fade_out:0s fade_in:0s
on player teleports:
- choose <context.destination.simple>:
- case 42,75,171,world:
- title "title:<&c>Crates" "subtitle:<&7>Successfully teleported!" stay:2s
- case 64,34,151,world:
- title "title:<&c>Donor" "subtitle:<&7>Successfully teleported!" stay:2s
- case 67,8,179,world:
- title "title:<&c>Drop Party" "subtitle:<&7>Successfully teleported!" stay:2s
- case 40,75,188,world:
- title "title:<&c>Enchant" "subtitle:<&7>Successfully teleported!" stay:2s
- case 0,69,0,world_the_end:
- title "title:<&c>End" "subtitle:<&7>Successfully teleported!" stay:2s
- case 74,75,188,world:
- title "title:<&c>Fishing" "subtitle:<&7>Successfully teleported!" stay:2s
- case 40,75,154,world:
- title "title:<&c>Food" "subtitle:<&7>Successfully teleported!" stay:2s
- case 24,75,171,world:
- title "title:<&c>PvP" "subtitle:<&7>Successfully teleported!" stay:2s
- case 58,66,177,world:
- title "title:<&c>Quests" "subtitle:<&7>Successfully teleported!" stay:2s
- case 74,75,154,world:
- title "title:<&c>Repair" "subtitle:<&7>Successfully teleported!" stay:2s
- case 44,75,177,world:
- title "title:<&c>Tokens" "subtitle:<&7>Successfully teleported!" stay:2s
on player clicks warp_menu_exit in warp_menu:
- inventory close d:in@warp_menu
warp_command:
type: command
debug: false
name: warp
description: Select a Teleport!
usage: /warp
script:
- inventory open d:in@warp_menu