forked from ismooch/skript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathninjatools.sk
More file actions
218 lines (204 loc) · 7.53 KB
/
ninjatools.sk
File metadata and controls
218 lines (204 loc) · 7.53 KB
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
command /alert <text>:
description: Send serverwide alert
usage: /alert <message>
permission: obam.sendalert
permission message: Command failed! You are not fluffy enough to send alerts!
executable by: players, console
trigger:
broadcast "&5[ALERT]&d %arg 1%"
command /home:
description: Go to island's home
usage: /home or /start
executable by: players
aliases: /start
trigger:
world is "parkourlobby" or "parkourmaps" or "hotpotatolobby" or "hotpotato1" or "hotpotato2":
message "&cYou can not do that here!" to player
stop
make player execute command "/is"
on command "/island help":
cancel event
make player execute command "/helpskyblock"
on command "/is help":
cancel event
make player execute command "/helpskyblock"
command /restartisland:
description: Restart your island
usage: /restart
executable by: players or console
aliases: /ri
trigger:
world is "parkourlobby" or "parkourmaps":
message "&cYou can not do that here!" to player
stop
{island.reset.use.%player%} is greater than or equal to 2:
message "&cYou have used up your two resets! You will need to purchase the next one for &e2000 Tickets!&c Type &e/restartconfirm&c to continue!" to player
set {skyblock.%player%.restart} to 1
stop
{island.reset.use.%player%} is 1:
message "&cAre you sure you want to do this? This will reset your island, You can only do this for free &e1 &ctime! Type &e/restartconfirm to do this." to player
set {skyblock.%player%.restart} to 1
stop
message "&cAre you sure you want to do this? This will reset your island, You can only do this for free &e2 &ctimes! Type &e/restartconfirm to do this." to player
set {skyblock.%player%.restart} to 1
command /risrestart <player>:
trigger:
set {island.reset.use.%player-argument%} to 0
command /restartconfirm:
trigger:
world is "skyworld":
{skyblock.%player%.restart} is 1:
{island.reset.use.%player%} is greater than or equal to 2:
set {balance.%player%} to player's balance
{balance.%player%} is less than 2000:
send "&cYou Do not have enough tickets for this!" to player
stop
remove 2000 from player's balance
send "&cYou have paid &e2000 Tickets&c for resetting your island. You now have &e%player's balance% &cremaining." to player
message "&cYou are restarting your island!" to player
make player execute command "/is restart"
set {skyblock.%player%.restart} to 0
{island.reset.use.%player%} is not set:
set {island.reset.use.%player%} to 0
add 1 to {island.reset.use.%player%}
stop
else:
message "&cPlease type /restart first"
else:
message "&cYou can not do that here!" to player
command /setspawn:
description: Sets island's spawnpoint
usage: /spawnpoint while standing in location
executable by: players
aliases: /sethome
trigger:
world is "parkourlobby" or "parkourmaps":
message "&cYou can not do that here!" to player
stop
make player execute command "/is sethome"
command /warp <offline player>:
description: Go to a player's island
usage: /warp [player name]
executable by: players
trigger:
world is "parkourlobby" or "parkourmaps":
message "&cYou can not do that here!" to player
stop
make player execute command "/is warp %arg 1%"
command /allowfree <text>:
usage: /allowfree [permission]
trigger:
make player execute command "/permissions group default set %arg 1%"
command /allowsupporter <text>:
usage: /allowsupporter [permission]
trigger:
make player execute command "/permissions group supporter set %arg 1%"
command /allowplus <text>:
usage: /allowsplus [permission]
trigger:
make player execute command "/permissions group plus set %arg 1%"
command /allowmod <text>:
usage: /allowmod [permission]
trigger:
make player execute command "/permissions group moderator set %arg 1%"
command /allowsmod <text>:
usage: /allowsmod [permission]
trigger:
make player execute command "/permissions group supermod set %arg 1%"
command /allowadmin <text>:
usage: /allowadmin [permission]
trigger:
make player execute command "/permissions group admin set %arg 1%"
command /spawn:
usage: /spawn
permission: obam.skyblock.spawn
trigger:
world is "parkourlobby" or "parkourmaps":
make player execute command "/mvtp %player% parkourlobby"
set {fallen.%player%} to 0
set {checkpoint.%player%.active} to 0
set {currentparkourcourse.%player%} to 0
stop
world is "hotpotatolobby":
make player execute command "/lobby"
stop
{current.hotpotato.%player%.lobby} is set:
{current.hotpotato.%player%.lobby} is set:
{active.game.lobby.%{current.hotpotato.%player%.lobby}%} is true:
player has potato or poisonous potato:
remove potato from player
remove poisonous potato from player
send "&c&l%player% has rage quit! Restarting Round!" to all players in player's world
clear {hotpotatolist.%{current.hotpotato.%player%.lobby}%::*}
loop all players in player's world:
{hotpotato.%{current.hotpotato.%loop-player%.lobby}%.%loop-player%.dead} is false:
add loop-player to {hotpotatolist.%{current.hotpotato.%loop-player%.lobby}%::*}
teleport loop-player to {hptp.%{current.hotpotato.%loop-player%.lobby}%}
set {track.%{current.hotpotato.%player%.lobby}%} to 0
subtract 1 from {hotpotato.%{current.hotpotato.%player%.lobby}%.lobby}
teleport player to {hotpotatolobby.spawn}
send "&aYou have been sent to the &eHot Potato&a lobby. From &e%{current.hotpotato.%player%.lobby}%&a lobby" to player
clear {current.hotpotato.%player%.lobby}
make player execute command "/lobby"
make player execute command "/mv spawn"
command /setwarp:
description: Set warp location for island
usage: /setwarp
trigger:
world is "parkourlobby" or "parkourmaps":
message "&cYou can not do that here!" to player
stop
make player execute command "/is setwarp"
command /togglewarp:
description: Toggle if other players can warp to your island
usage: /togglewarp
trigger:
world is "parkourlobby" or "parkourmaps":
message "&cYou can not do that here!" to player
stop
make player execute command "/is togglewarp"
command /invite <text>:
description: Invite someone to your island
usage: /invite [name]
trigger:
world is "parkourlobby" or "parkourmaps":
message "&cYou can not do that here!" to player
stop
make player execute command "/is invite %arg 1%"
command /enchantment:
trigger:
{level.%player%.actual} is less than or equal to 15:
player does not have permission "obam.skyblock.enchantment":
send "&cYou must be a supporter or Level 15 or higher to do this!" to player
stop
teleport the player to the location (-29, 122, 21)
teleport the player to the location (-29, 122, 21)
command /colors:
trigger:
send "&11&22&33&44&55&66&77&88&99&aa&bb&cc&dd&ee&ff" to player
command /fixdifficulty:
permission:obam.skyblock.fixdifficulty
trigger:
make player execute command "/mvm set monsters true skyworld"
make player execute command "/mvm set difficulty 2 skyworld"
command /accept:
description: Accept party invite
usage: /accept
trigger:
make player execute command "/is accept"
command /reject:
description: Reject party invite
usage: /reject
trigger:
world is "parkourlobby" or "parkourmaps":
message "&cYou can not do that here!" to player
stop
make player execute command "/is reject"
command /remove <text>:
description: Remove a player from your island
usage: /remove [name]
trigger:
world is "parkourlobby" or "parkourmaps":
message "&cYou can not do that here!" to player
stop
make player execute command "/is kick %arg 1%"