EconomyS, 具有许多功能的大型经济插件

分享于 

7分钟阅读

GitHub

  繁體 雙語
The little complex economy plugin for PocketMine-MP
  • 源代码名称:EconomyS
  • 源代码网址:http://www.github.com/onebone/EconomyS
  • EconomyS源代码文档
  • EconomyS源代码下载
  • Git URL:
    git://www.github.com/onebone/EconomyS.git
    Git Clone代码到本地:
    git clone http://www.github.com/onebone/EconomyS
    Subversion代码到本地:
    $ svn co --depth empty http://www.github.com/onebone/EconomyS
    Checked out revision 1.
    $ cd repo
    $ svn up trunk
    
    EconomyS

    请随意发出请求 !

    下载

    EconomyAPI命令

    默认命令参数说明默认权限
    /myMoney显示你的钱全部
    /mydebt显示你的债务全部
    /takedebt<money>从插件借用了 $ <money>All
    /returndebt<money>返回 $ <money> 到插件All
    /topmoney<page>显示服务器货币顶部All
    /moneysave将数据保存到硬件Console
    /moneyload从硬件加载数据Console
    /setMoney<player><money><player> 货币设置为 $ <money>OPConsole
    /economys显示使用EconomyAPI的插件All
    /givemoney<player><money>提供 $ <money><player>OPConsole
    /takemoney<player><money><player> 获取 $ <money>OPConsole
    /seemoney<player>显示 <player> 货币All
    /银行存款<money>将 $ <money> 存入你的帐户All
    /银行退出<money>从你的帐户中提取 $ <money>All
    /银行 myMoney从你的帐户显示你的钱All
    /mystatus显示你的货币状态All
    /bankadmin takemoney<player><money><player> 帐户中获取 $ <money>OPConsole
    /bankadmin givemoney<player><money>为 $ <money> 提供 <player> 帐户OPConsole

    EconomyAPI配置

    文件: plugins/EconomyAPI/economy.properties

    关键字说明可用值默认值
    show-using-economy将服务器 NAME 更改为 [EconomyS] SERVER NAMEon : Changeoff : Don't changeonoff打开
    once-debt-limit一次限制借款All integers100
    债务限制限制可用债务All integers500
    add-op-at-rank显示最高货币排名 on : Shows OPoff : Don't shows OPonoff关闭
    默认货币设置默认货币All integers1000
    默认债务设置默认债务All integers0
    time-for-increase-debt设置债务增加所需的时间All integers10
    percent-of-increase-debt设置增加债务的百分比All integers5
    default-bank-money设置默认银行货币All integers0
    time-for-increase-money设置信用增加的时间All integers10
    bank-increase=money-rate设置增加信用的百分比All integers5
    调试货币调试首选项 on : yesoff : noonoff打开

    EconomyShop配置

    文件: plugins/EconomyShop/shop.properties

    关键字说明可用值默认值
    处理程序优先级处理商店的优先权整型5

    如何在EconomyShop中创建商店

    文件:plugins/EconomyShop/ShopSign.yml

    本文档重点讨论默认配置。

    Line1 Line2 Line3 Line4
    商店<price><item id or name><amount>

    你必须写入除第 3行以外的所有参数 integer。 如果参数有效,商店将创建。

    EconomySell 中的Sell Center 可以同样的方式创建。 EconomyPShop 中的Player's Shop

    EconomyAirport和 EconomyAirportPlus

    文件:%CONFIG_PATH%/DepartureSign.yml 文件:%CONFIG_PATH%/ArrivalSign.yml 文件: %CONFIG_PATH%/Identifier.yml

    本文档重点讨论默认配置。

    Line1 Line2 Line3 Line4
    ` <国际机场> `` <到达出发> `

    例如:

    场地:场地:出发 Line3: 10 Line4: onebone

    前往 onebone 机场时需要 $10

    机场:到达 Line3: onebone Line4:

    到达标志:onebone 机场

    如果没有目标机场飞行,它将中止乘坐飞行。

    用于开发人员的插件

    你可以使用 EconomyAPI::getInstance() 访问 EconomyAPI

    例如:

    EconomyAPI::getInstance()->addMoney($player, $amount);

    许可证

    
    EconomyS, the massive economy plugin with many features for PocketMine-MP
    
    
    Copyright (C) 2013-2017 onebone <jyc00410@gmail.com>
    
    
    
    This program is free software: you can redistribute it and/or modify
    
    
    it under the terms of the GNU General Public License as published by
    
    
    the Free Software Foundation, either version 3 of the License, or
    
    
    (at your option) any later version.
    
    
    
    This program is distributed in the hope that it will be useful,
    
    
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    
    
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    
    
    GNU General Public License for more details.
    
    
    
    You should have received a copy of the GNU General Public License
    
    
    along with this program. If not, see <http://www.gnu.org/licenses/>.
    
    
    
    

    plugin  feature  ECO  Massive  
    相关文章