All Mods Resource Packs Data Packs Shaders Modpacks Plugins
GUI Shop

GUI Shop

by UnsafeDodo • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

GUI Shop

A fabric server-side mod to create and manage GUI shops. They can be later opened by using commands, allowing integration with NPC mods like Taterzens. The mod supports LuckPerms for permissions.

Installation

Put the .jar file in the "mods" folder

(Requires Fabric API and a supported Economy)

Commands and permissions

All commands can be used by admins (permission level 3) or by users/groups with the specific permission

Description Command Permission
Main command /guishop automessage.main
Create a shop /guishop create <shopName> automessage.create
Delete a shop /guishop delete <shopName> automessage.delete
Add an item in a shop /guishop additem <shopName> <itemMaterial> <buyPrice> <sellPrice> <description> <nbt> <quantities> automessage.additem
Remove an item from a shop /guishop removeitem <shopName> <itemName> automessage.removeitem
Open a shop for a player /guishop open <shopName> <playerName> automessage.open
List all shops /guishop list automessage.list
List all items in a shop /guishop list <shopName> automessage.list
Force save config /guishop forcesave automessage.forcesave
Reload config file /automessage reload automessage.reload

Commands examples

Create a shop: /guishop create "Test shop""

Add item in a shop: /guishop additem "Diamond" "minecraft:diamond" 250.00 100.00 "This is a Diamond\\An expensive diamond\\Shiny" "{}" "1:10:32:64" (you can split each description line by using "\\", and you can input up to 4 quantities splitted by ":")

Remove item from shop: /guishop removeitem "Test shop" "Diamond"

Open a shop and show it to a specific player: /guishop open "Test shop" "Steve"

Configuration

You can find the config file in ./config/guishop.json Both items' names and descriptions support Simplified Text Format.

You can even add items from the JSON file (check JSON Example). This can be useful when your additem command would be very long, or to easily set a NBT (remember to reload the mod using /guishop reload after editing the config file)

JSON 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 Economies:

Showcase

Screenshot1

Screenshot2

Screenshot3

How to Install GUI Shop (Mod)

GUI Shop by UnsafeDodo is verified for Fabric across Minecraft versions 1.19.2, 1.20.1, 1.20.2 (latest release: 1.4.0+1.20.1, file size: 844 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.19.2, 1.20.1, 1.20.2) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded GUI Shop file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.19.2
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
Added feature to disable buying/selling items from a shop (set price to -1.0)
Change permission level from 3 to 2
Fix Impactor compatibility

Discontinued support for EightsEconomyP

From now on the mod will support Impactor as economy mod
1.19.2 support
[1.2.0] GUI Shop 1.2.0+1.20.1 by UnsafeDodo on Aug 15, 2023
Download
Add message when you don't have enough money/items to purchase to buy/sell
[1.1.0] GUI Shop 1.1.0+1.20.1 by UnsafeDodo on Aug 10, 2023
Download
Added messages when you purchase/sell an item
[1.0.0] GUI Shop 1.0.0+1.20.1 by UnsafeDodo on Aug 02, 2023
Download
1.20.1 release
GUI Shop Icon
Download GUI Shop
Select game version
Select platform