MiraiForum

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

    如何让PluginData保存在子文件夹中

    开发交流
    1
    1
    80
    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.
    • N
      novacoo last edited by

      object A : ReadOnlyPluginData("a") {
          @ValueDescription("测试数据")
          val test: Int by value(0)
      }
      

      Mirai Console 的默认 PluginData 的保存目录是 data/a.yml ,可不可以让上面的 object A 所示的文件保存到 data/subfile/a.yml ,Mirai Console 提供了修改某个文件保存路径的功能吗,没找到相关的文档。

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