Date: 2018/09/15 08:02:11 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
joining_server:
type: world
events:
on player joins:
- if <player.has_permission[themis.start]> {
- flag player startposition:<player.location>
- teleport <player> l@643.5,125,351.5,dungeon
- inventory open d:in@menu_start
} else {
- flag player startposition:<player.location>
- teleport <player> l@643.5,125,351.5,dungeon
- inventory open d:in@newbie_menu_start
}
creating_region:
type: world
events:
on server start:
- note cu@646,130,348,dungeon|640,125,354,dungeon as:spawn
#
# The next section is all the newbie start menu.
#
newbie_menu_start_event:
type: world
events:
on player enters spawn:
- run newbie_menu_start
on player clicks in newbie_menu_start:
- determine cancelled
on player drags in newbie_menu_start:
- determine cancelled
on player clicks newbie_menu_start_slot1 in newbie_menu_start:
- teleport <player> l@99,31,-274,dungeon
newbie_menu_start:
type: inventory
title: " Themis Menu"
size: 9
slots:
- "[] [] [] [] [i@newbie_menu_start_slot1] [] [] [] []"
newbie_menu_start_slot1:
type: item
material: i@barrier
display name: "&r&mI I&r &6&lStart Game &r&mI I"
lore:
- "&7&o Start your adventure"
- "&7&o here at Themiscraft!"
- "&r"
- "&r&mI I"
#
# The next section is for the "normal" start menu.
#
menu_start_event:
type: world
events:
on player enters spawn:
- run menu_start
on player clicks in menu_start:
- determine cancelled
on player drags in menu_start:
- determine cancelled
on player clicks menu_start_slot1 in menu_start:
- teleport <player> <player.flag[startposition]>
menu_start:
type: inventory
title: " Themis Menu"
size: 9
slots:
- "[] [] [] [] [i@menu_start_slot1] [] [] [] []"
menu_start_slot1:
type: item
material: i@barrier
display name: "&r&mI I&r &6&lStart Game &r&mI I"
lore:
- "&7&o Continue your adventure."
- "&7&o Your friends miss you."
- "&r"
- "&r&mI I"