Advertisement
Blue_Tec

Untitled

Jun 23rd, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. on connect:
  2. if {whitelist} is true:
  3. if player is an op:
  4. stop
  5. else:
  6. kick the player due to "&7%newline%&6&lCookie Access%newline%&e現在、サーバーはメンテナンス中です。次期公開までお待ちください。"
  7.  
  8. on command:
  9. if command is "whitelist":
  10. message "&cWhitelist is not allowed at this server."
  11. cancel event
  12.  
  13. command /maintenance:
  14. permission: skript.admin
  15. trigger:
  16. if {whitelist} is true:
  17. set {whitelist} to false
  18. message "&aメンテナンスを解除しました。"
  19. stop
  20. else:
  21. set {whitelist} to true
  22. message "&aメンテナンスを開始しました。"
  23. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement