GUI Shop
A Fabric server-side mod that enables creation and management of shops with graphical interface. Created shops can be opened using commands, ensuring compatibility with NPC mods like Taterzens. For permission management, integration with LuckPerms is supported.
Installation
Place the .jar file in the "mods" folder on your server. The mod requires Fabric API and one of the supported economy systems to function.
Commands and Permissions
All commands are available to administrators (permission level 3) or users/groups with appropriate rights.
| Purpose | Command | Permission |
|---|---|---|
| Main command | /guishop |
automessage.main |
| Create shop | /guishop create <shopName> |
automessage.create |
| Delete shop | /guishop delete <shopName> |
automessage.delete |
| Add item | /guishop additem <shopName> <material> <buyPrice> <sellPrice> <description> <nbt> <quantities> |
automessage.additem |
| Remove item | /guishop removeitem <shopName> <itemName> |
automessage.removeitem |
| Open shop | /guishop open <shopName> <playerName> |
automessage.open |
| List shops | /guishop list |
automessage.list |
| List items | /guishop list <shopName> |
automessage.list |
| Force save | /guishop forcesave |
automessage.forcesave |
| Reload configuration | /automessage reload |
automessage.reload |
Command Usage Examples
Create shop: /guishop create "Test shop"
Add item: /guishop additem "Diamond" "minecraft:diamond" 250.00 100.00 "This is a diamond\An expensive diamond\Shiny" "{}" "1:10:32:64" (split description lines using "\", can specify up to 4 quantities separated by ":")
Remove item: /guishop removeitem "Test shop" "Diamond"
Open shop for player: /guishop open "Test shop" "Steve"
Configuration
Configuration file is located at ./config/guishop.json. Item names and descriptions support Simplified Text Format for text formatting.
Items can be added directly to the JSON file, which is convenient for long commands or working with NBT data. After editing configuration, execute /guishop reload.
Configuration Example
{
"shops": [
{
"shopName": "Shop number one",
"items": [
{
"name": "The boat",
"material": "minecraft:acacia_chest_boat",
"description": [
"This is a nice boat",
"Very beautiful"
],
"buyPrice": 50.0,
"sellPrice": 25.0,
"nbt": "{}",
"quantityList": [
1
]
},
{
"name": "BBQ Sword",
"material": "minecraft:diamond_sword",
"description": [],
"buyPrice": 0.0,
"sellPrice": 0.0,
"nbt": "{Damage:0,Enchantments:[{id:\"fire_aspect\",lvl:2},{id:\"sweeping\",lvl:2}],display:{Lore:['[{\"text\":\"Crispy and tasty\",\"italic\":false}]'],Name:'[{\"text\":\"The BBQ\",\"italic\":false}]'}}",
"quantityList": [
1
]
},
{
"name": "Amethyst",
"material": "minecraft:large_amethyst_bud",
"description": [
"<red>Such a spectacular</red>",
"<purple>amethyst</purple>",
"<rainbow>SHINY</rainbow>"
],
"buyPrice": 200.0,
"sellPrice": 100.0,
"nbt": "{}",
"quantityList": [
1,
40,
64
]
}
]
},
{
"shopName": "A second shop",
"items": []
}
]
}
Supported Economy Systems
- Impactor
Showcase


