Date: 2018/06/14 12:00:36 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
#worldhandlers
Flytokenreward:
type: world
debug: true
events:
on player clicks with flytoken:
- ^take i@flytoken
- inventory close d:<context.inventory>
- playsound <player> sound:CHEST_OPEN volume:0.8 pitch:0.5
- execute as_server "lp user <player.name> permission settemp cmi.command.fly true 3d"
- narrate "You have recieved 3 days of fly permissions!"
cb1tokenreward:
type: world
debug: true
events:
on player clicks with cbtoken1:
- ^take i@cbtoken1
- inventory close d:<context.inventory>
- playsound <player> sound:CHEST_OPEN volume:0.8 pitch:0.5
- execute as_server "adjustbonusclaimblocks <player.name> 100"
- narrate "You have recieved 100 claimblocks!"
cb2tokenreward:
type: world
debug: true
events:
on player clicks with cbtoken2:
- ^take i@cbtoken2
- inventory close d:<context.inventory>
- playsound <player> sound:CHEST_OPEN volume:0.8 pitch:0.5
- execute as_server "adjustbonusclaimblocks <player.name> 5000"
- narrate "You have recieved 5000 claimblocks!"
Joblevel1tokenreward:
type: world
debug: true
events:
on player clicks with joblevel1:
- ^take i@joblevel1
- inventory close d:<context.inventory>
- playsound <player> sound:CHEST_OPEN volume:0.8 pitch:0.5
- execute as_server "change me! <player.name> 5"
- narrate "You have recieved 5 job levels!"
Joblevel2tokenreward:
type: world
debug: true
events:
on player clicks with joblevel2:
- ^take i@joblevel2
- inventory close d:<context.inventory>
- playsound <player> sound:CHEST_OPEN volume:0.8 pitch:0.5
- execute as_server "change me! <player.name> 20"
- narrate "You have recieved 20 job levels!"
mcmmolevel1tokenreward:
type: world
debug: true
events:
on player clicks with mcmmolevel1:
- ^take i@mcmmolevel1
- inventory close d:<context.inventory>
- playsound <player> sound:CHEST_OPEN volume:0.8 pitch:0.5
- execute as_server "addlevels <player.name> all 5"
cratestokenreward:
type: world
debug: true
events:
on player clicks with cratestoken:
- ^take i@cratestoken
- inventory close d:<context.inventory>
- playsound <player> sound:CHEST_OPEN volume:0.8 pitch:0.5
- execute as_server "crate key all common"
- narrate "You n all players a common crate key!"
#tokens
flytoken:
type: item
material: i@paper
enchantments:
- ARROW_DAMAGE:1
display name: "<aqua>Fly Token"
lore:
- Click me to redeem your reward!
cbtoken1:
type: item
material: i@paper
enchantments:
- ARROW_DAMAGE:1
display name: "<gold>Claimblocks Token"
lore:
- Click me to redeem your 100 Claimblocks!
cbtoken2:
type: item
material: i@paper
enchantments:
- ARROW_DAMAGE:1
display name: "<gold>Claimblocks Token"
lore:
- Click me to redeem your 5000 Claimblocks!
joblevel1:
type: item
material: i@paper
enchantments:
- ARROW_DAMAGE:1
display name: "<dark_green>Job Levels Token"
lore:
- Click me to redeem your 5 Job Levels!
joblevel2:
type: item
material: i@paper
enchantments:
- ARROW_DAMAGE:1
display name: "<dark_green>Job Levels Token"
lore:
- Click me to redeem your 20 Job Levels!
mcmmolevel1:
type: item
material: i@paper
enchantments:
- ARROW_DAMAGE
display name: "<dark_aqua>Mcmmo Levels"
lore:
- Click me to redeem your 5 Mcmmo Levels!
cratestoken:
type: item
material: i@tripwire_hook
enchantments:
- ARROW_DAMAGE
display name: "<aqua>Common Crate Keys Token"
lore:
- Click me to give everyone common crate keys!
#commands
giveflytoken:
type: command
debug: false
name: giveflytoken
description: Run this command to give yourself the fly token.
script:
- if !<player.is_op> queue clear
- give i@flytoken[flags=hide_enchants]
givecb1token:
type: command
debug: false
name: givecbtoken1
description: Run this command to give yourself the cb1 token.
script:
- if !<player.is_op> queue clear
- give i@cbtoken1[flags=hide_enchants]
givecb2token:
type: command
debug: false
name: givecbtoken2
description: Run this command to give yourself the cb2 token.
script:
- if !<player.is_op> queue clear
- give i@cbtoken2[flags=hide_enchants]
givejobs1token:
type: command
debug: false
name: givejobstoken1
description: Run this command to give yourself the jobslevel1 token.
script:
- if !<player.is_op> queue clear
- give i@joblevel1[flags=hide_enchants]
givejobs2token:
type: command
debug: false
description: Run this command to give yourself the jobslevel2 token.
script:
- if !<player.is_op> queue clear
- give i@joblevel2[flags=hide_enchants]
givemcmmolevel1token:
type: command
debug: false
name: givemcmmotoken1
description: Run this command to give yourself the jobslevel1 token.
script:
- if !<player.is_op> queue clear
- give i@mcmmolevel1[flags=hide_enchants]
givecratestoken:
type: command
debug: false
name: givecratestoken
description: Run this command to give yourself the crates token.
script:
- if !<player.is_op> queue clear
- give i@cratestoken[flags=hide_enchants]