介绍
GShop
A Gunpowder add-on which adds shops.
Commands
| Command | Permission node | Action |
|————————————–|—————————–|—————————————————————————|
| /shop <shopname> | gshop.viewshop.<shopname> | Opens shop <shopname>. |
| /showshop <target> <shopname> | gshop.showshop | Opens shop <shopname> for <target> |
| /shopconfigurator export-itemstack | gshop.config | Returns the String NBT representation of the itemstack in your main hand. |
Config
shops: # a list of shops
- name: "default" # each shop has a name
categories: # each shop is divided into categories
- name: "items" # categories have an icon and a list of entries
icon:
type: "ITEM_STACK" # type of icons is always ITEM_STACK.
stack: "{id:\"minecraft:apple\",Count:1b}" # item stacks are given as stringified NBT
entries:
- type: "ITEM_STACK" # entries have a type - currently only ITEM_STACK or COMMAND
stack: "{id:\"minecraft:apple\",Count:1b}"
priceToBuy: 10 # price to buy and sell in gunpowder currency
priceToSell: 10
- name: "commands" # another category
icon:
type: "ITEM_STACK"
stack: "{id:\"minecraft:stone_pickaxe\",Count:1b,tag:{Damage:0}}"
entries:
- type: "COMMAND" # another type of entry
command: "lp user --buyer-- permission set test.test true" # --buyer-- will be replaced with the buyer name
icon: "{id:\"minecraft:stone\",Count:1b,tag:{RepairCost:0,display:{Name:'{\"text\":\"Permission Node: test.test\"}'}}}" # These strings can be copied from the `/shopconfigurator export-itemstack` command, with the stack in your hand.
priceToBuy: 100
常见问题
GShop 支持哪些 Minecraft 版本?
GShop 支持 Minecraft Java 版 1.16.5,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
GShop 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
will_bl 的其他作品
查看全部 →Traveler’s Titles (Forge/NeoForge)
进入生物群系和维度时显示史诗般的 RPG 风格标题!
AutoTag
自动填充部分物品、方块及其他标签(用于模组兼容)
Big Buckets
想要更大的桶?获取可升级的桶,储存更多流体。
Haema
成为吸血鬼!
评论
登录后评论和评分