Download Money & Sign Shops — Minecraft Mods — MetaMods

Money & Sign Shops

Active

Downloads

0

Last update

5 months ago

Versions

1.21 — 1.21.3
Server
Neoforge

Money & Sign Shops

This client-optional mod introduces non-physical currency and a sign-based shop system managed by players and the server.

A row of shops on barrels

Currency System

Players can check their balance using the command:

/money

Fund transfers between participants are also available.

Shop Types

Four types of trading points are available:

  • [buy] — purchases items from players, crediting money to the shop owner's account
  • [sell] — sells items from shop stocks, deducting funds from the buyer
  • [server-buy] — infinite purchase of items from players for server money
  • [server-sell] — infinite sale of items to players for server currency

Shop Storage

Any block with inventory and item handling capability can serve as a shop foundation. This includes all standard Minecraft containers: chests, barrels, hoppers, furnaces, as well as blocks from other mods, including various mechanisms.

Note: for machines, the shop uses the top face for item insertion and extraction.

Creating a Shop

The first line on the sign must contain one of the four shop types (only administrators can create server shops).

The second and third lines can contain arbitrary text — adding item descriptions is recommended.

The last line specifies the price (decimal fractions are allowed, but without thousand separators and currency symbols).

Then place the goods in the container. When activating the shop, all items in the storage will be considered, allowing trading of item sets, such as tool kits.

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

Viewing Shop Information

Left-click any trading point to see available goods.

Warning: in creative mode, this action may break the sign.

Chat information will contain tooltips about items, including enchantments on tools and weapons.

Trading Missing Items

Want to sell or buy a rare item you don't currently have? This problem is solved using a book and quill. Write the exact item data in JSON format, and the shop will read this information upon activation. The first page should start with the word "vending", followed by the JSON object on a new line.

Book showing how to enter missing items

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, preventing item theft through hoppers or pipes.

Important: protection activates only after shop creation, so you can pre-connect your own mechanisms to the storage to create self-sustaining trading points.

API for Developers

The mod includes an API package for integration with other modifications. For implementation questions, contact via Discord or GitHub.

Compatibility with Vanilla Clients

To use the mod only on the server side, add the mod's language file to client resource packs. This ensures correct display of chat messages. The language file is available via link.

Project members
Caltinor

Caltinor

Developer

Created: 5 Sep 2024

ID: 56545