Coder Social home page Coder Social logo

universalshops's Introduction

Universal Shops

Universal Shops is a Fabric (and Quilt compatible) trade shop mod designed to be flexible and usable in many types of servers. It works purely server side (still works on singleplayer), so it can work on your vanilla client compatible or modpack based servers. It includes craftable, Trade Shop block for players and Admin Trade Shop for admins/map makers. Setup of both is the same.

It also checks against Common Protection API, to make sure player has access to source chests/containers. Using some Common Protection API compatible protection mod is suggested (for example GOML or HTM).

Using Trade Shops

First thing you need to do (as a player) is to craft Trade Shop block. You can do it with any 4 planks, 1 wool and 1 iron ingot.

Then you need to place it against some container (either on top of one or on the side).

After that, Shop Settings will open. You need to set up things like what type of stock is sold and the price. Optionally you can enable support for hoppers or disable hologram.

To change settings, just click item corresponding to them. In case of item based one you can set them by clicking (empty/set) slot. If your cursor holds item, it will be copied as a settings. Otherwise, it will open menu to set it manually.

And done, shop is fully operational. You only need to put required stock in your container and others can just buy it.

To buy things you just click to open the shop and then take sold item. You can hold shift to move it directly to your inventory!

Download

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.