Source of resources
Original
Copyright link
https://github.com/StarsDream00/LiteLoaderScriptPlugins/blob/main/Shop.js
Precondition
LiteLoaderBDS
Donate link
https://t.me/SourceLandDev
Wiki
https://t.me/SourceLandDev
Language
Chinese(Simplified)
Supported version
  1. All the versions
(图标来自iconfont)
一款简约的商店插件
使用AGPLv3开源协议 允许最新版的二次分发(需明确标注原作者)
配置文件(plugins\Shop\config.json
JSON:
{
    "command": "recycleshop",   // 菜单命令
    "serviceCharge": 0.02       // 手续费占比
    "currencyType": "llmoney",  // 经济类型(支持llmoney&scoreboard)
    "currencyName": "货币",     // 货币名称
    "scoreboard": "money"       // 经济计分板名称
}
数据文件(plugins\Shop\data.json
JSON:
{
    "sell": [
        // 购买商店
        {
            "name": "煤炭", // 物品名称
            "icon": "textures/items/coal", // 物品标志
            "price": 1, // 回收单价
            "id": "minecraft:coal" // 物品标准名
        },
        {
            "name": "荧石粉",
            "icon": "textures/items/glowstone_dust",
            "price": 1,
            "id": "minecraft:glowstone_dust"
        } // 以此类推
    ],
    "recycle": [
        // 回收商店
        {
            "name": "煤炭",
            "icon": "textures/items/coal",
            "price": 1,
            "id": "minecraft:coal"
        }
    ]
}
Author
星梦喵吖
Price
17金粒
Downloads
23
Views
497
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from 星梦喵吖

Share this resource

Latest updates

  1. 1.1.2

    漏洞修复 修复报错 - 1.1.0
  2. 1.1.1

    漏洞修复 修复可能的刷钱问题 - 1.1.0
  3. 1.1.0

    功能修改 增加购买商店(感谢@xuantianzhilin的建议) 漏洞修复 修复提示的货币名称不正确的问题 - 1.0.0