GithubHelp home page GithubHelp logo

fantasychestshop's Introduction

FantasyChestShop

一款BDS(基岩专用服务器)箱子商店插件,基于LiteXLoader加载器平台开发。

安装和使用:

要使用此插件,你需要先安装LiteLoaderLiteXLoader,然后启动BDS,将FantasyChestShop.min.js粘贴到./plugins目录下即可。此时你可以重启BDS或者使用lxl load ./plugins/FantasyChestShop.min.js加载此插件。

  • /playershop:打开玩家商店列表。(对于具体某个商店,也可以直接点击箱子打开)
  • /playershop add:添加箱子商店,非OP玩家只能在自己的领地内创建商店。商店添加后会出现在玩家商店列表。(不支持大箱子,理论上支持木桶但无法提供保护,因为无法拦截木桶被打开)
  • /playershop remove:管理员指令。强制删除脚下的商店。(以后可能会改成点击)
  • /playershop list:列出所有商店。
  • /playershop mgr:GUI设置页面。

实验性功能:

op可在商店后台设置无库存限制,设置后的商店将出现在op商店列表。 /opshop可打开OP商店列表。 OP商店基于商品上架时的nbt进行计算,所以假如你上架了64个铁,卖掉了10个,“购买数量”滑块最大值就与库存同步就变为了54,然后开启无限库存,那么在OP商店中结算时“购买数量”滑块最大值任是64,即使箱子中只有54个铁。

配置文件(建议使用playershop mgr更改,因为可以直接生效,无需重载插件):

  • Money:Money 种类,默认为“LLMoney”,设置其他值(必须和你的经济计分板名称一致)即可使用计分板模式,如:“money”。
  • Reg:即Registration fee,注册费用,注册商店时向玩家收取的手续费。
  • TaxRate:税率,购买时从总金额中收取税收的税率,取值范围(区间):[0, 1)(0 为不收税,0.5为50%)。

fantasychestshop's People

Contributors

peterxiong720 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.