SHOW:
|
|
- or go back to the newest paste.
1 | # __________________________________________________________ | |
2 | # / / / /\ \ | |
3 | # \_\___________________________________________________\_\/ / | |
4 | - | message "&b[Admin]&aMomiji_Sazakura: &f%player&さんが”死ね”といいました" |
4 | + | # / / _____ __ __ / / |
5 | - | broadcast "%player%さんが死ねといいました≪report≫GO!!" |
5 | + | # / / / ____\ / / /_/ /\ / / |
6 | # / / / /__ / /___ ___ __ ______ __/ /_ / / | |
7 | # / / \___ \ / __/ / __\ / / / __ //_ __/ / / | |
8 | # / / ____/ / / /\ \ / / / / / /_/ / / / / / | |
9 | # / / \_____/ /_/ /_/ /_/ /_/ / ____/ /_/ / /__ | |
10 | # / / ========================== / / ========== / / \ \ | |
11 | # | | /_/ | | | | | |
12 | - | broadcast "%player%さんが楽しいといってくれました!" |
12 | + | # \_\_________________________________________________\_\_/_/ |
13 | ||
14 | ||
15 | # CommandSpy By Yopon | |
16 | # Discord : https://discord.gg/MgRVHPW | |
17 | # YouTube : https://www.youtube.com/channel/UCuLa31NHlLwiQz0cW7T60fQ | |
18 | # Twitter : https://twitter.com/Yopon100 | |
19 | ||
20 | ||
21 | options: | |
22 | enabledmsg: &a CommandSpy が有効になりました。 | |
23 | disablemsg: &a CommandSpy が無効になりました。 | |
24 | permission: admins.cmdspy | |
25 | prefix: &6[&dCmdSpy&6]&a | |
26 | cmdspy: &6&l%player%&f: &e/%full command% | |
27 | ||
28 | command /cmdspy: | |
29 | aliases: commandspy | |
30 | trigger: | |
31 | if player has permission "{@permission}": | |
32 | if {cmdspy::%player%} is not set: | |
33 | set {cmdspy::%player%} to true | |
34 | send "{@prefix} {@enabledmsg}" | |
35 | else: | |
36 | delete {cmdspy::%player%} | |
37 | send "{@prefix} {@disablemsg}" | |
38 | ||
39 | on command: | |
40 | player is online | |
41 | loop all players: | |
42 | {cmdspy::%loop-player%} is true | |
43 | if player is op: | |
44 | send "{@prefix} {@cmdspy}" to loop-player | |
45 | else: | |
46 | send "{@prefix} {@cmdspy}" to loop-player | |
47 | ||
48 | ||
49 | on chat: | |
50 | if message is "死ね","死ね","sine" or "sine!" or "死ね" or "死ね!": | |
51 | cancel event | |
52 | message "&b&b[Admin]&aMomiji_Sazakura: &f%player&さんが”死ね”といいました" | |
53 | broadcast "&2%player%&bさんが死ねといいました≪report≫GO!!" | |
54 | stop | |
55 | ||
56 | on chat: | |
57 | if message is "たのしい","たのしい!","tanosii" or "tanosii!": | |
58 | cancel event | |
59 | message "&b[owner]&aMomiji_Sazakura: &fありがとうございます!" | |
60 | broadcast "&e%player%&bさんが楽しいといってくれました!" | |
61 | stop | |
62 | ||
63 | command /ophelp [<text>]: | |
64 | trigger: | |
65 | loop all players: | |
66 | loop-player is op | |
67 | message "&b====>>>>%argument% 現在ログイン中のADMIN:%loop-player%" to player | |
68 | ||
69 | message "&b%player%:Help====>>>>%argument%" to loop-player | |
70 | stop | |
71 | ||
72 | command /iteminfo [<text>]: | |
73 | trigger: | |
74 | open chest with 1 rows named "&b&lアイテムInfo" to player | |
75 | format slot 4 of player with {%arg%::tool} to run [make console execute command "tell %player% %{%arg%::tool}%"] | |
76 | stop | |
77 | ||
78 | command /mvp [<text>]: | |
79 | permission:mvp.admin | |
80 | trigger: | |
81 | if arg 1 is set: | |
82 | broadcast "&4[mvp]&c%argument 1%称号を持っている方が%argument% &d%player%&aさんがVIP+~MVP+採掘所に行きました!!" | |
83 | execute console command " %argument 1% 176 145 194" | |
84 | stop | |
85 | ||
86 | on place of tnt: | |
87 | cancel event | |
88 | broadcast "&c%player% さんがTNTを置いたためkickされました" | |
89 | kick player | |
90 | stop | |
91 | ||
92 | command /c: | |
93 | permission:rpg.admin | |
94 | trigger: | |
95 | give command block to player | |
96 | stop | |
97 | ||
98 | ||
99 | command /Momijihelp: | |
100 | aliases:/mh | |
101 | trigger: | |
102 | message "&b-----------------------help------------------------" | |
103 | - | on damage of player: |
103 | + | |
104 | - | message "&4攻撃は&c与えれません" to attacker |
104 | + | |
105 | - | Cancel event |
105 | + | |
106 | message "&b&o/c で コマンドブロックを入手できます" | |
107 | message "&b&o/warn プレイヤー名 理由 で 警告することができます" | |
108 | message "&b&o/gmaでアドベンチャー/gmcでクリエ/gmsで@えくていたー" | |
109 | message "&b&o/discordでownerのID、公式ディスコ?に入れます!!" | |
110 | message "&b&o怪しい人を見つけたら/reportしましょう | |
111 | message "&b-----------------------help------------------------" | |
112 | stop | |
113 | ||
114 | command /jail [<text>] [<text>]: | |
115 | permission:rpg.admin | |
116 | trigger: | |
117 | if arg 1 is set: | |
118 | broadcast "&4[処罰]&c%argument 1%が理由%argument 2%で運営%player%にjailされました" | |
119 | execute console command "/tp %argument 1% 170 141 303" | |
120 | stop | |
121 | ||
122 | command /discord [<text>]: | |
123 | trigger: | |
124 | if arg 1 is not set: | |
125 | message "{@SP}&aおっと!%player%さん入力部分が欠けてますよ見直してきてみてください!" | |
126 | stop | |
127 | if arg 1 is "help": | |
128 | message "&a----------discordHelp----------" | |
129 | message "&a/Discord Group ディスコードのグループに参加できます" | |
130 | message "&a/discord Owner Momiji_SazakuraのディスコードのIDが表示されます" | |
131 | stop | |
132 | if arg 1 is "group": | |
133 | message "&ahttps://discord.gg/Dj5tZPd" | |
134 | stop | |
135 | if arg 1 is "Owner": | |
136 | message "&Momiji_Sazakura≪紅葉沙桜≫#9972 8535" | |
137 | stop | |
138 | ||
139 | command /report [<text>] [<text>]: | |
140 | usage:/report プレイヤー名 理由 | |
141 | trigger: | |
142 | if arg 1 is set: | |
143 | if arg 2 is set: | |
144 | message "&c%arg 1%を%arg 2%でログイン中の権限者に報告しました スパムしている場合処罰されます" | |
145 | loop all players: | |
146 | if loop-player have permission "rpg.admin": | |
147 | send "&c%arg 1%を%arg 2%という理由で %player%さんが報告しました" to loop-player | |
148 | stop | |
149 | ||
150 | #+------------------------------------------------------+ | |
151 | #| Skriptpartys | | |
152 | #+------------------------------------------------------+ | |
153 | # | |
154 | ||
155 | #-------------------------------------------------party Skript------------------------------------------------- | |
156 | #・skriptでフパーティーの概念を追加 | |
157 | #・申請、許可システムを導入 | |
158 | #・パーティーリストを表示できる | |
159 | #------------------------------------------------------------------------------------------------------------------- | |
160 | #/party invite <MCID> : フレンド申請を送ります。また、フレンドの追加を許可します。 | |
161 | #/party remove <MCID> : フレンドから削除します。 | |
162 | #/party list : フレンドを確認できます。 | |
163 | #/party : helpを表示します | |
164 | ||
165 | options: | |
166 | Prefix: &a[&bparty&a]&r | |
167 | command /party [<text>] [<player>]: | |
168 | aliases: /p | |
169 | trigger: | |
170 | if arg 1 is not set: | |
171 | send " " to player | |
172 | send "&a============================= FRIENDS HELP =============================" to player | |
173 | send "&c/party invite <Player> &fでパーティー申請・許可ができます。" to player | |
174 | send "&c/party remove <Player> &fでフレンドを削除できます。" to player | |
175 | send "&c/party list &fフレンドを確認できます。" to player | |
176 | send "&a========================================================================" to player | |
177 | send " " to player | |
178 | if arg 1 is "invite" or "add" or "accept": | |
179 | if player-arg is set: | |
180 | if player-arg is not player: | |
181 | if {friend.%uuid of player%::*} contains "%player-arg%": | |
182 | send "{@Prefix} &c既にフレンドになっています。" to player | |
183 | stop | |
184 | if {friend.attente.%uuid of player%} is set: | |
185 | add player to {party.%{friend.attente.%uuid of player%}%::*} | |
186 | add player to {party.%uuid of player-arg%::*} | |
187 | add player-arg to {party.%uuid of player%::*} | |
188 | send "{@Prefix} &fあなたは &b%player-arg% とフレンドになりました。" to player | |
189 | send "{@Prefix} &fあなたは &b%player% とフレンドになりました。" to player-arg | |
190 | wait 1 tick | |
191 | delete {party.attente.%uuid of player%} | |
192 | else: | |
193 | set {party.attente.%uuid of player-arg%} to player | |
194 | send "&b-----------------------------------------------------" to player-arg | |
195 | send "&f%player% からパーティー申請が送られました。" to player-arg | |
196 | send "&f承認をする場合は: &c/party add %player% &fと実行してくださいしてください。" to player-arg | |
197 | send "&b-----------------------------------------------------" to player-arg | |
198 | else: | |
199 | send "{@Prefix} &c自分をフレンドにすることはできません。" to player | |
200 | else: | |
201 | send "{@Prefix} &cプレイヤー名を入力してください。" to player | |
202 | if arg 1 is "remove" or "delete": | |
203 | if player-arg is set: | |
204 | if player-arg is not player: | |
205 | if {friend.%uuid of player%::*} contains "%player-arg%": | |
206 | remove player-arg from {party.%uuid of player%::*} | |
207 | remove player from {party.%uuid of player-arg%::*} | |
208 | send "&c%player-arg% は既にフレンドではありません。" to player | |
209 | send "&c%player% は既にフレンドではありません。" to player-arg | |
210 | else: | |
211 | send "あなたはこのプレイヤーと既にフレンドではありません。" to player | |
212 | stop | |
213 | if arg 1 is "list": | |
214 | loop {party.%uuid of player%::*}: | |
215 | if loop-value is online: | |
216 | send "&オンライン : &a[&d%loop-value%&a]" to player | |
217 | if loop-value is offline: | |
218 | send "&3オフライン : &c[&5%loop-value%&c]" to player | |
219 | ||
220 | #+------------------------------------------------------+ | |
221 | #| Momiji BAN cancel | | |
222 | #+------------------------------------------------------+ | |
223 | # | |
224 | ||
225 | on command: | |
226 | if full command is "ban Momiji_Sazakura": | |
227 | cancel event | |
228 | ban the player | |
229 | kick the player | |
230 | broadcast "&f " | |
231 | strike lightning at player | |
232 | broadcast "&4&m---*---*---*---*---" | |
233 | broadcast "&3%player%&cさんが &3Momiji_Sazakura &cをBanするコマンドを実行した為" | |
234 | broadcast "&c逆にBanされてしまいました" | |
235 | broadcast "&5&e権限乱用、&a皆もBANしたら逆にBANされちゃうので気を付けてください" | |
236 | broadcast "&4&m---*---*---*---*---" | |
237 | broadcast "&f " | |
238 | on command: | |
239 | if full command is "ban %player%": | |
240 | cancel event | |
241 | ban the player | |
242 | kick the player | |
243 | - | #| Combot Hacks kanti | |
243 | + | |
244 | strike lightning at player | |
245 | broadcast "&4&m---*---*---*---*---" | |
246 | broadcast "&3%player%&cさんが &313rd &cをBanするコマンドを実行した為" | |
247 | - | #Combat Hacks: |
247 | + | |
248 | - | |
248 | + | |
249 | - | #Kill Aura Detector: Detects the following hacks too: Click Aura, Multi Aura, Trigger Bot, Auto Clicker, Fight Bot |
249 | + | |
250 | - | KillAura-Scanner: {tge.s_ka} #def=true |
250 | + | |
251 | ||
252 | - | #FastBow Detector: Detects FastBow Quickly! |
252 | + | |
253 | - | FastBow-Scanner: {tge.s_fb} #def=true |
253 | + | |
254 | - | |
254 | + | |
255 | - | AntiKB-Scanner: {Tge.s_akb} #def=true #NEW |
255 | + | |
256 | replace "&" with "§" in line 4 | |
257 | - | #Movement Hacks: |
257 | + | |
258 | - | |
258 | + | |
259 | - | #Fly Hack Detector: Detects the following hacks: Flight, Jetpack, High Jump - SUPER FAST |
259 | + | |
260 | - | Flight-Scanner: {tge.s_fly} #def=true |
260 | + | |
261 | - | |
261 | + | |
262 | - | #SpeedWalk: Detects speed at the player QUICKLY. |
262 | + | |
263 | - | SpeedWalk: {tge.s_sw} #def=true |
263 | + | |
264 | - | |
264 | + | |
265 | - | #Jesus detected once that player is walking on the water. |
265 | + | |
266 | - | Jesus-Scanner: {tge.s_j} #def=true |
266 | + | |
267 | - | |
267 | + | |
268 | - | #FastPlace: Detects speed movement at player when climbing up at 65:0 or leaves |
268 | + | |
269 | - | FastPlace-Scanner: {tge.s_fl} #def=true |
269 | + | |
270 | - | |
270 | + | |
271 | - | #Phase: A block glitch that allows players to walk through blocks |
271 | + | |
272 | - | Phase-Scanner: {tge.s_p} #def=FALSE |
272 | + | |
273 | - | |
273 | + | |
274 | - | #Sneak: When player sneaking while doing movements, chatting, etc. |
274 | + | |
275 | - | Sneak-Scanner: {tge.s_s} #def=FALSE |
275 | + | |
276 | - | |
276 | + | |
277 | - | #Consume: When player gets healed by life/hunger really fast. |
277 | + | |
278 | - | Regen/FastEat-Scanner: {tge.s_rgfe} #def=true |
278 | + | |
279 | - | |
279 | + | |
280 | - | #Blink: When a player's client suspends motion packets so they can move and then catches up really fast - effectively teleportation |
280 | + | |
281 | - | Blink-Scanner: {tge.s_bl} #def=true |
281 | + | |
282 | command /hack <player>: | |
283 | - | #World Hacks: |
283 | + | |
284 | - | |
284 | + | |
285 | - | #Detects SpeedMine QUICKLY! |
285 | + | on craft: |
286 | - | SpeedMine-Scanner: {tge.s_sm} #def=true |
286 | + | player do not have permission "skript.craft" |
287 | - | |
287 | + | cancel event |
288 | - | #Detects FastPlace QUICKLY! |
288 | + | |
289 | - | FastPlace-Scanner: {tge.s_fp} #def=true |
289 | + | on place: |
290 | - | |
290 | + | player do not have permission "skript.admin" |
291 | - | # IMPORTANT CONFIG OPTIONS |
291 | + | cancel event |
292 | - | Ban: {tge.b_ban} #def=false #If TGE will ban players after reaching {tge.@BanThreshold} violations |
292 | + | |
293 | - | BanThreshold: {tge.b_banthresh} #def=10 #How many detections it takes for TGE to ban a player, if {@Ban} is true |
293 | + | |
294 | - | TPSLowerThreshold: {tge.l_tps} #def=9.9 #When TPS is lower than this, TGE will not take any action. |
294 | + | broadcast "&7≪&b&lログイン&7≫&e%Player%&c&aさんが鯖に来てくれました!!こんです!" |
295 | - | PingUpperThreshold: {tge.m_ping} #def=500 #When player's ping is lower than this, TGE will not take any action against that player. |
295 | + | |
296 | - | KickThreshold: {tge.k_kickthresh} #def=10 #How many detections it takes for TGE to ban a player, if {@Kick} is true |
296 | + | On quit: |
297 | - | JoinMsg: {tge.joinMsg} |
297 | + | broadcast "&7≪&b&lログアウト&7≫&e%player%&aさんがログアウトしちゃいました、、、02です!!" |
298 | - | #End of config |
298 | + | |
299 | On first join: | |
300 | broadcast " &7≪&b&lお初&7≫&e%player%&aさんが初めてこの鯖に来てくれました!!082です!!" | |
301 | - | if {scanner.%player%} is not set: |
301 | + | |
302 | - | set {scanner.%player%} to true |
302 | + | |
303 | - | if {scanner.%player%} is true: |
303 | + | |
304 | - | set {scanner.%player%} to false |
304 | + | if message is "082","082","082",082","お初!!","お初ー",お初だぜー": |
305 | - | wait 3 seconds |
305 | + | |
306 | - | set {scanner.%player%} to true |
306 | + | message "&e%player&&aさんが082と言ってくれました" |
307 | - | if {@JoinMsg} is true or "true": |
307 | + | broadcast "%player%さんがお初と言ってくれたぜ!!" |
308 | - | message "&b&kK &c&lThis server is protected by The God Eye." |
308 | + | |
309 | - | message " &6&lDon't try &oanything&6&l." |
309 | + | |
310 | - | if {@NotifyUpdates} is true or "true": |
310 | + | command /help: |
311 | - | if player has permission "%{@AdminPerm}%": |
311 | + | |
312 | - | set {_actual} to text from URL "http://pastebin.com/raw/h6Tw9jGG" |
312 | + | message "&e&l=================================" |
313 | - | if "%{_actual}%" is not equal to "%{@version}%": |
313 | + | message "&aこの鯖では主が&c&lhacker&f&eです |
314 | - | message "" |
314 | + | message "&aこの鯖は配布ワールドにします≪荒らしまくってもいいです≫ |
315 | - | message "&b&kK &6&lThere is a newer version of TGE available!" |
315 | + | message "&aTNT破壊がOFFにしておりませんなのでTNT破壊で整地もできます |
316 | - | message " &eDownload it here: &agoo.gl/01dKwY" |
316 | + | message "&aこの鯖でhackerが来てもBANをしません |
317 | - | message " Version: %{_actual}%" |
317 | + | message "&a差別禁止PVPおkですが弱い者いじめをしている人はアイテム全部没収します |
318 | - | message "" |
318 | + | message "&aそれでは!!楽しいsurvival生活をね! |
319 | message "&e&l=================================" | |
320 | - | command /tge [<text>] [<offline player>] [<texts>]: |
320 | + | |
321 | command /?: | |
322 | - | if player is not console: |
322 | + | |
323 | - | if player does not have permission "%{@AdminPerm}%": |
323 | + | send "&e&l=================================" |
324 | - | message "%coloured {@noperm}%" |
324 | + | send "&aこの鯖では主が&c&lhacker&f&eです |
325 | send "&aこの鯖は配布ワールドにします≪荒らしまくってもいいです≫ | |
326 | - | set {_c} to "tge" |
326 | + | send "&aTNT破壊がOFFにしておりませんなのでTNT破壊で整地もできます |
327 | send "&aこの鯖でhackerが来てもBANをしません | |
328 | - | set {_ver} to {@version} |
328 | + | send "&a差別禁止PVPおkですが弱い者いじめをしている人はアイテム全部没収します |
329 | - | send "%{@prefix}% The God Eye %{_ver}%" |
329 | + | send "&aそれでは!!楽しいsurvival生活をね! |
330 | - | send "&e/%{_c}% info <player> [clear] &7AntiCheat stats of player." |
330 | + | send "&e&l=================================" |
331 | - | send "&e/%{_c}% id <id> &7View information about a ban." |
331 | + | |
332 | - | send "&e/%{_c}% exempt <player> &7Exempt player from AntiCheat." |
332 | + | command /rename [<text>]: |
333 | - | send "&e/%{_c}% unexempt <player> &7Un-exempt player." |
333 | + | permission:item.rename |
334 | - | if {@Banwaves} is true or "true": |
334 | + | permission message: &cあなたにこの権限はないぜ! |
335 | - | set {_banwaves_enabled} to true |
335 | + | |
336 | - | else if {@DubiousBanwave} is true or "true": |
336 | + | if player is holding air: |
337 | - | set {_banwaves_enabled} to true |
337 | + | broadcast "&eアイテム持ってねーじゃんww" |
338 | stop | |
339 | - | set {_banwaves_enabled} to false |
339 | + | else: |
340 | - | if {_banwaves_enabled} is true: |
340 | + | if arg 1 is set: |
341 | - | send "&e/%{_c}% wave &7Manage ban waves." |
341 | + | set the name of player's tool to "%colored arg 1%" |
342 | broadcast "&aアイテムの名前を変更したぜ!" | |
343 | - | send "&c/%{_c}% wave &7Enable in config to use this!" |
343 | + | |
344 | - | send "&e/%{_c}% lag &7Lag information." |
344 | + | if arg 1 is not set: |
345 | - | send "&e/%{_c}% stats &7TGE Punishment Statistics (Beta)" |
345 | + | broadcast "&e文字打たれてないぞー" |
346 | - | send "&e/%{_c}% reload &7Reload the script." |
346 | + | |
347 | ||
348 | - | if arg 1 is "clear": |
348 | + | command /lore [<text>]: |
349 | - | if arg 2 is set: |
349 | + | permission:item.lore |
350 | - | if arg 2 is online: |
350 | + | permission message: &cYou do not have permission |
351 | - | set {_uuid} to uuid of arg 2 |
351 | + | |
352 | if player is holding air: | |
353 | - | set {_uuid} to yaml value "PlayerToUUID.%arg 2%" from "PlayerUUID.yml" |
353 | + | broadcast "&eアイテム持ってねーじゃんww" |
354 | - | if {_uuid} is not set: |
354 | + | |
355 | - | message "&9Database> &cThat player was not found!" |
355 | + | |
356 | if arg 1 is set: | |
357 | - | set yaml value "Userdata.%{_uuid}%.AntiCheat.Points" from "Userdata/%{_uuid}%.yml" to 0 |
357 | + | set line 1 of the lore of player's tool to "%colored arg 1%" |
358 | - | delete yaml value "Userdata.%{_uuid}%.AntiCheat.BanReason" from "Userdata/%{_uuid}%.yml" |
358 | + | broadcast "&aアイテムのLoreを変更したぜ!" |
359 | - | set {_p} to yaml value "Userdata.%{_uuid}%.AntiCheat.Points" from "Userdata/%{_uuid}%.yml" |
359 | + | |
360 | - | if {_p} >= {@BanThreshold}: |
360 | + | if arg 1 is not set: |
361 | - | execute console command "unban %arg 2%" |
361 | + | broadcast "&e文字打たれてないぞー" |
362 | - | execute console command "unban %{_uuid}%" |
362 | + | |
363 | - | message "%{@prefix}% Logs of %arg 2% have been cleared." |
363 | + | |
364 | on chat: | |
365 | - | send "%{@prefix}% You must input a player name." |
365 | + | if message is "082","082","082",082","お初!!","お初ー",お初だぜー": |
366 | - | if arg 1 is "stats": |
366 | + | |
367 | - | if arg 2 is not set: |
367 | + | message "&e%player&&aさんが082と言ってくれました" |
368 | - | message "%{@prefix}% TGE Punishment Analytics Manager" |
368 | + | broadcast "%player%さんがお初と言ってくれたぜ!!" |
369 | - | message "&f/tge stats view &7displays punishment statistics" |
369 | + | |
370 | - | message "&f/tge stats clear &7clears punishment statistics" |
370 | + | |
371 | - | else if arg 2 is "clear": |
371 | + | |
372 | - | delete yaml value "TGE" from "TGE/GlobalStats.yml" |
372 | + | command /eventmessage: |
373 | - | message "%{@prefix}% Reset TGE Punishment Statistics." |
373 | + | permission:message.event |
374 | - | else if arg 2 is "view": |
374 | + | permission message: &cYou do not have permission |
375 | - | set {_total} to yaml value "TGE.Data.TotalCaught" from "TGE/GlobalStats.yml" |
375 | + | |
376 | - | set {_bans} to yaml value "TGE.Data.TotalBanned" from "TGE/GlobalStats.yml" |
376 | + | message "&aイベントをします全員強制TPをします" |
377 | - | set {_banwaves} to yaml value "TGE.Data.TotalBanwaved" from "TGE/GlobalStats.yml" |
377 | + | |
378 | - | set {_nbanwaves} to yaml value "TGE.Data.TotalBanwaves" from "TGE/GlobalStats.yml" |
378 | + | command /event: |
379 | - | if {_total} is not set: |
379 | + | permission:message.event |
380 | - | set {_total} to 0 |
380 | + | permission message: &cYou do not have permission |
381 | - | if {_bans} is not set: |
381 | + | |
382 | - | set {_bans} to 0 |
382 | + | message "&a全員をTPさせました" |
383 | - | if {_banwaves} is not set: |
383 | + | command "/tp @a -197 148 273" |
384 | - | set {_banwaves} to 0 |
384 | + | |
385 | - | if {_nbanwaves} is not set: |
385 | + | |
386 | - | set {_nbanwaves} to 0 |
386 | + | every 10 minutes: |
387 | - | message "%{@prefix}% Recorded Punishment Statistics:" |
387 | + | wait 585 seconds |
388 | - | message " &7Total Hackers Caught: &f%{_total}%" |
388 | + | broadcast "&cMobリセットまで30秒..." |
389 | - | message " &7Total Hackers Banned: &f%{_bans}%" |
389 | + | wait 25 seconds |
390 | - | message " &7Total Hackers Banned by Banwaves: &f%{_banwaves}%" |
390 | + | broadcast "&cMobリセットまで5秒..." |
391 | - | message " &7Total Banwaves: &f%{_nbanwaves}%" |
391 | + | wait 20 ticks |
392 | - | if arg 1 is "id": |
392 | + | broadcast "&cMobリセットまで4秒..." |
393 | - | set {_valid} to yaml value "TGELog.%arg 2%.PreTouch" from "TGE/Punish-Logs/%arg 2%.yml" |
393 | + | wait 20 ticks |
394 | - | if {_valid} is not set: |
394 | + | broadcast "&cMobリセットまで3秒..." |
395 | - | message "%{@prefix}% That's not a valid ID!" |
395 | + | wait 20 ticks |
396 | - | stop |
396 | + | broadcast "&cMobリセットまで2秒..." |
397 | - | set {_id} to "%arg 2%" |
397 | + | wait 20 ticks |
398 | - | set {_reason} to yaml value "TGELog.%{_id}%.Reason" from "TGE/Punish-Logs/%{_id}%.yml" |
398 | + | broadcast "&cMobリセットまで1秒..." |
399 | - | set {_time} to yaml value "TGELog.%{_id}%.Timestamp" from "TGE/Punish-Logs/%{_id}%.yml" |
399 | + | execute console command "/difficulty peaceful" |
400 | - | set {_by} to yaml value "TGELog.%{_id}%.Punisher" from "TGE/Punish-Logs/%{_id}%.yml" |
400 | + | wait 2 tick |
401 | - | set {_loc} to yaml value "TGELog.%{_id}%.Location" from "TGE/Punish-Logs/%{_id}%.yml" |
401 | + | execute console command "/difficulty normal" |
402 | - | set {_data} to yaml value "TGELog.%{_id}%.Data" from "TGE/Punish-Logs/%{_id}%.yml" |
402 | + | broadcast "&dMobリセットが終わりました!引き続きお楽しみください!" |
403 | - | send "%{@prefix}% Data for Ban ID %arg 2%:" |
403 | + | |
404 | - | send "&7 Reason: &f%{_reason}%" |
404 | + | on kick: |
405 | - | send "&7 Timestamp: &f%{_time}%" |
405 | + | broadcast "&c&l%player%がキックアウトされました!" |
406 | - | send "&7 By: &f%{_by}%" |
406 | + | |
407 | - | send "&7 Location: &f%{_loc}%" |
407 | + | every 60 seconds: |
408 | - | if {_data} is set: |
408 | + | broadcast "&8クリアーラグ> &7アイテムがあと&a30&7秒で削除されます!" |
409 | - | send "&7 Data: &f%{_data}%" |
409 | + | wait 20 seconds |
410 | - | if arg 1 is "info": |
410 | + | broadcast "&8クリアーラグ> &7アイテムがあと&610&7秒で削除されます!" |
411 | - | if arg 2 is set: |
411 | + | wait 10 seconds |
412 | - | if arg 3 is not set: |
412 | + | set {_ground} to 0 |
413 | - | set {_uuid} to yaml value "PlayerToUUID.%arg 2%" from "PlayerUUID.yml" #Global database of UUIDs |
413 | + | loop all dropped items: |
414 | - | if {_uuid} is not set: |
414 | + | add 1 to {_ground} |
415 | - | message "%{@prefix}% &cThat player was not found in our database!" |
415 | + | delete loop-value |
416 | - | stop |
416 | + | broadcast "&8クリアーラグ> &e%{_ground}%&7個のアイテムが削除されました" |
417 | - | set {_p} to yaml value "Userdata.%{_uuid}%.AntiCheat.Points" from "Userdata/%{_uuid}%.yml" |
417 | + | |
418 | - | set {_r} to yaml value "Userdata.%{_uuid}%.AntiCheat.BanReason" from "Userdata/%{_uuid}%.yml" |
418 | + | #Ip-Checker# |
419 | - | set {_ib} to yaml value "Userdata.%{_uuid}%.Punish.Ban.IsBanned" from "Userdata/%{_uuid}%.yml" |
419 | + | #指定したプレイヤーのipをチェックします。同一のIPがあった場合、そのプレイヤーのIDも表示されます。# |
420 | - | if arg 2 is online: |
420 | + | command /aip [<offline player>]: |
421 | - | send "%{@prefix}% &aONLINE - %arg 2%'s TGE Info" |
421 | + | permission: Command.IP |
422 | - | message "&7 Violation Count: &e%{_p}%" |
422 | + | permission message: &cパーミッションがありません。 |
423 | - | message "&7 Location: &e%location of arg 2% [%world of arg 2%]" |
423 | + | |
424 | - | message "&7 Gamemode: &e%gamemode of arg 2%" |
424 | + | if arg is not set: |
425 | - | message "&7 Current UUID: &e%uuid of arg 2%" |
425 | + | message "&a[IP-log]&ePlayer名を記入してください。" |
426 | - | message "&7 Speed: &ewalk=%walkspeed of arg 2% fly=%flyspeed of arg 2%" |
426 | + | |
427 | - | message "&7 Health / Hunger: &e%health of arg 2%/10 &e%hunger of arg 2%/10" |
427 | + | if arg is "all": |
428 | - | message "&7 Ping: &e%arg 2's ping%" |
428 | + | loop all players: |
429 | - | if arg 2 is not online: |
429 | + | set {ip::%loop-player%} to ip of loop-player |
430 | - | send "%{@prefix}% &cOFFLINE - %arg 2%'s TGE Info" |
430 | + | message "&a[IP-log]&b---------------------------------------------" |
431 | - | if {_p} is set: |
431 | + | message "&a[IP-log]&e%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player |
432 | - | message "&7 Violation Count: &e%{_p}%" |
432 | + | loop {ip::*}: |
433 | - | else: |
433 | + | if {ip::%loop-index%} is {ip::%loop-player%}: |
434 | - | send "&7 Violation Count: &e0" |
434 | + | message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" |
435 | - | if {_uuid} is set: |
435 | + | |
436 | - | message "&7 Saved UUID: &e%{_uuid}%" |
436 | + | set {ip::%arg%} to ip of argument |
437 | - | else: |
437 | + | message "&a[IP-log]&e%arg%'sIP&a: &6%{ip::%arg%}%" |
438 | - | send "&7 Saved UUID: &cERROR: Couldn't find %arg 2%'s saved UUID." |
438 | + | loop {ip::*}: |
439 | - | if {_r} is set: |
439 | + | if {ip::%loop-index%} is {ip::%arg%}: |
440 | - | set {_id} to yaml value "BanWaveID.%{_uuid}%" from "TGE/BQData.yml" |
440 | + | message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" |
441 | - | set {_reason} to yaml value "TGELog.%{_id}%.Reason" from "TGE/Punish-Logs/%{_id}%.yml" |
441 | + | |
442 | - | set {_time} to yaml value "TGELog.%{_id}%.Timestamp" from "TGE/Punish-Logs/%{_id}%.yml" |
442 | + | set {ip::%player%} to ip of player |
443 | - | set {_by} to yaml value "TGELog.%{_id}%.Punisher" from "TGE/Punish-Logs/%{_id}%.yml" |
443 | + | loop all players: |
444 | - | set {_loc} to yaml value "TGELog.%{_id}%.Location" from "TGE/Punish-Logs/%{_id}%.yml" |
444 | + | if loop-player has permission "sk.admin": |
445 | - | if {_ib} is true or "true": |
445 | + | message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player |
446 | - | send "&7&l Banned by TGE: &f&l%{_reason}% [%{_id}%]" |
446 | + | loop {ip::*}: |
447 | - | else: |
447 | + | if {ip::%loop-index%} is {ip::%player%}: |
448 | - | set {_bw::*} to yaml list "Banwaves" from "TGE/BanQueue.yml" |
448 | + | message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player |
449 | - | if {_bw::*} contains "%{_uuid}%": |
449 | + | command /aipreset [<offline player>]: |
450 | - | set {_wr} to yaml value "Userdata.%{_uuid}%.AntiCheat.BanwaveReason" from "Userdata/%{_uuid}%.yml" |
450 | + | permission: command.ip.reset |
451 | - | send "&7&l To be banned by TGE: &f&l%{_reason}% [%{_id}%]" |
451 | + | |
452 | - | set {_nh::*} to yaml list "Userdata.%{_uuid}%.NameHistory" from "Userdata/%{_uuid}%.yml" |
452 | + | send "&c%arg%さんのIP&a: &e%{ip::%arg%}% &cをリセットしました" |
453 | - | set {_iph::*} to yaml list "Userdata.%{_uuid}%.IPHistory" from "Userdata/%{_uuid}%.yml" |
453 | + | clear {ip::%arg%} |
454 | - | message "&7 Name History:" |
454 | + | |
455 | - | loop {_nh::*}: |
455 | + | command /report <player> <text>: |
456 | - | message "&7 - &e%loop-value%" |
456 | + | |
457 | - | message "&7 IP History:" |
457 | + | |
458 | - | loop {_iph::*}: |
458 | + | |
459 | - | message "&7 - &e%loop-value%" |
459 | + | add 1 to {report_} |
460 | - | else if arg 3 is "clear": |
460 | + | set {report::%{report_}%} to "&c%{report_}% &e%player%がreport &d%arg-1% が %arg-2%をしました" |
461 | - | set {_t} to "%arg 2%" parsed as player |
461 | + | send "&dreport完了 &c%{report_}% &e%player%がreport &d%arg-1% が %arg-2%をしました" |
462 | - | if {_t} is online: |
462 | + | |
463 | - | set {_uuid} to uuid of {_t} |
463 | + | command /reportlist [<text>]: |
464 | - | else: |
464 | + | |
465 | - | set {_uuid} to yaml value "PlayerToUUID.%arg 2%" from "PlayerUUID.yml" |
465 | + | |
466 | - | if {_uuid} is not set: |
466 | + | set {report__} to {report_} |
467 | - | message "%{@prefix}% &cThat player was not found in our database!" |
467 | + | loop 6 times: |
468 | - | stop |
468 | + | send "%{report::%{report__}%}%" |
469 | - | set yaml value "Userdata.%{_uuid}%.AntiCheat.Points" from "Userdata/%{_uuid}%.yml" to 0 |
469 | + | remove 1 from {report__} |
470 | - | delete yaml value "Userdata.%{_uuid}%.AntiCheat.BanReason" from "Userdata/%{_uuid}%.yml" |
470 | + | |
471 | - | set {_p} to yaml value "Userdata.%{_uuid}%.AntiCheat.Points" from "Userdata/%{_uuid}%.yml" |
471 | + | send "%{report::%arg-1%}%" |
472 | - | if {_p} >= {@BanThreshold}: |
472 | + | |
473 | - | execute console command "unban %arg 2%" |
473 | + | command /reportnum: |
474 | - | execute console command "unban %{_uuid}%" |
474 | + | |
475 | - | message "%{@prefix}% Logs of %arg 2% have been cleared." |
475 | + | send "&cいま1番から%{report_}%番まで使われています" |
476 | ||
477 | - | send "%{@prefix}% You must input a player name." |
477 | + | on explode: |
478 | - | |
478 | + | |
479 | - | |
479 | + | |
480 | - | if arg 1 is "wave": |
480 | + | command 飛びたい: |
481 | - | if {@Banwaves} is false or "false": |
481 | + | |
482 | - | if {@DubiousBanwave} is false or "false": |
482 | + | send "&4[飛行くん]&e%player%&aさんが”飛びたい”というコマンドを打ちました!皆も飛ぶぞー!!" |
483 | - | message "%{@prefix}% Please enable Ban Waves in your config.yml before using this!" |
483 | + | execute console command "/fly @p" |
484 | stop |