MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Unsolved [求助]如何定时关闭Mirai Console

    使用交流
    4
    4
    789
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      ThreeBody-ETO last edited by

      寝室每天晚上十一点半断电,但目前只知道手动输stop关闭Mirai Console。求助各位大佬有没有命令或解决方案可以直接关闭Mirai Console。

      1 Reply Last reply Reply Quote 0
      • Topic has been marked as a question  T ThreeBody-ETO 
      • MrXiaoM
        MrXiaoM 童心未泯 last edited by

        论坛好像没有相关的插件,可以写插件,到时间自动执行 stop 命令

        CommandManager.INSTANCE.executeCommand(ConsoleCommandSender, PlainText("stop"))
        
        1 Reply Last reply Reply Quote 0
        • P
          plgrx last edited by

          如果你使用linux系统,可以搜索下linux cron,配合sh脚本使用;window的话也有个任务计划程序,百度下能搜索到很多使用指南

          1 Reply Last reply Reply Quote 0
          • 渡
            渡鸦58231 last edited by

            mcsm设置定时事件

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact