PShop

JS插件 PShop 1.0.1

登录后下载
资源类型
原创
版权链接
#
依赖
BDSJSRunner
语言
English
支持版本
1.16
一个可以购买和回收物品的bds商店

依赖
BDSJsRunner,
Pneu Jai's JS API,
EconomicAPIScoreboardEconomicAPI

配置:新增一个资料夹plugin_data
{
"buy": [
{
"text": "Iron Sword",
"image": "https://www.minebbs.com/data/avatars/m/5/5524.jpg?1591178617",
"description": "Just a sword",
"item": "iron_sword",
"damage": 50,
"nbt_tags": "{ench:[{id:10s,lvl:9999s}]}",
"price": 0,
"min_count": 1,
"max_count": 70
}
],
"reclaim": [
{
"text": "Wool",
"image": "textures/ui/icon_trash.png",
"item": "wool",
"damage": null,
"nbt_tags": null,
"price": 1
}
]
},
"commands": {
"main": "shop",
"buy": null,
"reclaim": null
},
"preference": {
"input_box": true,
"auto_fix_non_integer": true
},
"texts": {
"pneuShop.command.main": "Shows shop GUI",
"pneuShop.command.buy": "Shows buying GUI",
"pneuShop.command.reclaim": "Shows reclaiming GUI",
"pneuShop.gui.savings": "Savings: %s",
"pneuShop.gui.price": "Price: %s",
"pneuShop.gui.count": "Count",
"pneuShop.gui.buyItem": "Buy Item: %s",
"pneuShop.gui.reclaimItem": "Reclaim Item: %s",
"pneuShop.title.main": "Shop",
"pneuShop.title.buy": "Buy Items",
"pneuShop.title.reclaim": "Reclaim Items",
"pneuShop.desc.main": "Select whether to buy or reclaim items",
"pneuShop.desc.buy": "Select which items to buy",
"pneuShop.desc.reclaim": "Select which items to reclaim",
"pneuShop.result.succeeded.buy": "Successfully bought %s items.",
"pneuShop.result.succeeded.reclaim": "Successfully reclaimed %s items.",
"pneuShop.result.failed.buy": "Failed to buy items. %s",
"pneuShop.result.failed.reclaim": "Failed to reclaim items. %s",
"pneuShop.result.failed.reason.money": "You don't have enough money",
"pneuShop.result.failed.reason.item": "You don't have such item",
"pneuShop.result.failed.reason.scriptError": "%s",
"pneuShop.result.failed.reason.unknown": "Unknown error occurred",
"pneuShop.validate.notInteger": "You must input an integer"
}

SNBT參考: https://minecraft.gamepedia.com/NBT_format

感谢:饺子

如有bug请告知,谢了
作者
Pneu Jai
下载
38
阅读
586
首次发布
最后更新
评分
0.00 星 0 次评分

Pneu Jai的更多资源

最新更新

  1. Bug fixes and additional features

    -Fixes a bug which you can't buy more than 64 items -Adds a feature which lets you use input box...