Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /maintenance [<text>]:
- aliases: /mt
- permission: skript maintenance
- permission message: &fUnknown command. Type "/help" for help.
- trigger:
- if arg 1 is "on":
- set {mt.mode} to "true"
- send "&cメンテナンスモードをオンにしました"
- if arg 1 is "off":
- set {mt.mode} to "false"
- send "&aメンテナンスモードをオフにしました"
- on connect:
- if {mt.mode} is "true":
- if player is not op:
- kick the player due to "&cサーバーに接続できません"
- send "&c%player%が接続しようとしたためブロックしました" to ops
Advertisement
Add Comment
Please, Sign In to add comment