Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on connect:
- if {whitelist} is true:
- if player is an op:
- stop
- else:
- kick the player due to "&7%newline%&6&lCookie Access%newline%&e現在、サーバーはメンテナンス中です。次期公開までお待ちください。"
- on command:
- if command is "whitelist":
- message "&cWhitelist is not allowed at this server."
- cancel event
- command /maintenance:
- permission: skript.admin
- trigger:
- if {whitelist} is true:
- set {whitelist} to false
- message "&aメンテナンスを解除しました。"
- stop
- else:
- set {whitelist} to true
- message "&aメンテナンスを開始しました。"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement