Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- loop all players:
- if loop-player is an op:
- send "&cCheck: &f%player%(%uuid of player%) >> &f%ip of player%" to loop-player
- command /setalertpoint:
- permission: skript.admin
- trigger:
- set {alertpoint} to location of player
- message "&a%{alertpoint}%に設定しました。"
- command /alertuser [<offlineplayer>] [<text>]:
- permission: skript.admin
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- if arg-1 is online:
- if {alertuser::%uuid of arg-1%} is true:
- message "&a%arg-1%の警告を解除しました。"
- send "&c⚠重要⚠ 警告は解除されました。" to arg-1
- teleport arg-1 to {alert2point::%uuid of arg-1%}
- set {alertuser::%uuid of arg-1%} to false
- stop
- else:
- set {alert2point::%uuid of arg-1%} to location of arg-1
- set {alertmessage::%uuid of arg-1%} to "%arg-2%"
- teleport arg-1 to {alertpoint}
- send "&c⚠重要⚠ 警告手配がつきました。運営に、連絡してください。" to arg-1
- send "&c⚠Warning⚠ Significant arrangements have been made. Please contact me for operation." to arg-1
- send "&c理由/Reason: &f%{alertmessage::%uuid of arg-1%}%"
- set {alertuser::%uuid of arg-1%} to true
- stop
- else:
- message "&cオフラインです。"
- if arg-2 is not set:
- message "&c/alertuser プレイヤー名 理由"
- if arg-1 is not set:
- message "/alertuser ユーザー名 理由"
- on any movement:
- if {alertuser::%uuid of player%} is true:
- cancel event
- message "&c⚠重要⚠ 警告手配がつきました。運営に、連絡してください。"
- message "&c⚠Warning⚠ Significant arrangements have been made. Please contact me for operation."
- message "&c理由/Reason: &f%{alertmessage::%uuid of player%}%"
- every 2 minutes:
- loop all players:
- execute loop-player command "/checkaccount 1hd8)7t3njkdsajohuwihnia"
- if loop-player is an op:
- send "&cCheck: &f定期チェックが入りました。" to loop-player
- command /checkaccount [<text>]:
- trigger:
- if arg-1 is "1hd8)7t3njkdsajohuwihnia":
- loop all players:
- if loop-player is an op:
- send "&cCheck: &f%player%(%uuid of player%) >> &f%ip of player%" to loop-player
- command /checkallacount:
- permission: skript.admin
- trigger:
- loop all players:
- execute loop-player command "/checkaccount 1hd8)7t3njkdsajohuwihnia"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement