Skip to content

jullevistrunz/shop-system

Repository files navigation

Shop System for Fabric 1.21.7

A simple shop system for SMPs

Installation

  1. Download the latest version from https://github.com/jullevistrunz/shop-system/releases
  2. Drag the ZIP into <server folder>/mods

Usage

  • /shop myCredits: display amount of own credits
  • /shop credits: display amount of all player's credits
  • /shop pay <recipient> <amount>: pay the given recipient a set amount
  • /shop sign <pos> <price> <stackSize>: create a shop sign
  • /shop fund: fund system

Creating a shop

  1. Place down a chest and a sign in front of that chest.
  2. Put the items you want to sell into that chest. All items must be of the same type, and have the same components (e.g. shulker boxes must be filled with the exact sime item stacks)
  3. Look at the sign and run the /shop sign <pos> <price> <stackSize> command. <pos> is the position of the sign (you can autofill the coordinates using tab when looking at it). <price> is the amount of credits a customer has to pay at a time. <stackSize> is the amount of items sold at a time.
  4. Customers can now buy items from your shop by right-clicking the sign (10% VAT).

Earning credits

  • Sell items using the shop system
  • Hourly, when moving: $20, $10 or $5 (depending on total credits of all players)

Fund System

  • /shop fund add <amount>: add amount of credits to the fund
  • /shop fund balance: display amount of credits in the fund
  • /shop fund payout <recipient>: [requires OP with permission level 3] give fund's balance to recipient

About

A simple shop systen for SMPs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages