MiraiForum

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

    【十分麻瓜的前置】群员金钱存储

    插件发布
    2
    2
    441
    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.
    • 何梓Black
      何梓Black last edited by

      提供两个api

      fun getMemberMoneyData(member):List<Long>
      
      fun setMemberMoney(member, isSaved:Boolean, count:Long):Boolean
      

      金钱分成钱包(现金)跟仓库(或者叫银行)
      主要作用是跨插件共享积分数据
      链接:https://github.com/heziblack/MoneySaver
      注意:没有认真测试过, 使用的时候具体会发生什么人家不知道拉

      1 Reply Last reply Reply Quote 0
      • S
        Simonchan93729 last edited by

        image.png
        已亲试Mirai consosle 2.13.2无法使用

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