Download Money and Sign Shops — Minecraft Mods — MetaMods

Money and Sign Shops

Active

Downloads

0

Last update

2 years ago
Client
Fabric
Quilt
Forge
Neoforge
Libraries
Utils

Money and Sign Shops

Money and Sign Shops

This mod, which can be installed server-side only or optionally on the client, adds a virtual currency system and player/server-managed sign shops to Minecraft.

Currency System

Players can check their balance using the command:

/money

And also transfer funds to other server participants.

Sign Shops

The system supports four types of shops:

  • [buy] — player pays money and receives items from shop stock
  • [sell] — player sells items and receives money from shop owner
  • [server-buy] — player buys items for money (unlimited stock)
  • [server-sell] — player sells items for money (unlimited stock)

Shop Storage

Any block with inventory and item handling capability can be used as shop storage. This includes all standard Minecraft containers — chests, barrels, hoppers, furnaces and others, as well as blocks from modifications, including various mechanisms. (Note: for mechanisms, the shop uses the top face for inserting and extracting items)

Creating a Shop

The first line of the sign must contain one of the four shop types (only administrators can create server shops). The second and third lines can contain any description. The last line specifies the price (decimal fractions are allowed, but thousand separators or currency symbols cannot be used).

Then place trade items in the container. When activating the shop, all items in the container will be considered, allowing trading item sets for money.

After setting up the sign and placing items, right-click the sign to activate it. Upon successful activation, the shop type and price will change color.

Viewing Shop Information

Left-click any shop sign to see the goods being sold. (Warning: in creative mode this action will break the sign)

Shop information in chat will show tooltips for items being sold, so you can see enchantments on tools and weapons.

Selling Missing Items

Want to sell a rare item you don't have? It's possible! Using a book and quill, you can write the exact description of the required item in JSON format, and the shop will read this information upon activation. The first page should start with "vending", then the JSON code begins on a new line.

Shop Protection

After shop activation, the container is protected from opening and destruction by anyone except the owner or administrator. Blocks also cannot be placed adjacent to the storage to prevent connecting hoppers or pipes for item extraction. Protection activates only after creating the shop, so you can set up your own mechanisms to connect to the storage before shop activation, creating self-sustaining trading points.

API for Developers

The mod provides an API package for integration with other modifications.

Compatibility with Vanilla Clients

If you want to use the mod only on the server, add the mod's language file to a resource pack for clients. Otherwise, most chat messages will be less informative for users.

Compatible Mods

  • FLAN (Forge)
  • Section Protection
Project members
Caltinor

Caltinor

Created: 19 Sep 2023

ID: 13878