Skip to content

About

Sign-based player shops and item trading with DenarEconomy integration for TFMC Minecraft servers.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BarterShops

Player-run sign shops for TF-Minecraft.

BarterShops turns a sign and a stocked chest into a place to trade. Players can buy goods from a shop or sell matching items back to its owner, with payments handled in denars. It gives market stalls and local businesses a practical role in the world: the stock is in the chest, the price belongs to the owner, and the transaction happens at the sign.

Features

  • Buy and sell shops — support both customers purchasing stock and customers selling goods to a shop.
  • Chest-backed stock — move real items between the shop's storage and the customer's inventory.
  • Owner-set trades — choose the quantity and price for each transaction through an in-game creation flow.
  • Denar payments — connect customer spending and shop-owner bank balances through DenarEconomy.
  • Diplomatic consequences — respect trade embargoes between nations when SimpleFactions is available.
  • Shops pass on at death — a dead owner's shop closes, then passes with the estate to the will heir or the guild leader.

Part of the economy

BarterShops brings player businesses into the same economy as DenarEconomy and the diplomacy of SimpleFactions. Stock, available money, and national relationships all affect whether a trade can happen.

Documentation

Project documentation

Technical documentation is maintained in TF-Minecraft/Docs.

Tests

With Java 21 and the build dependencies prepared, run mvn clean verify.

JUnit 5 and Mockito cover sign creation, trades, storage, embargo handling, estate transfers and the staff trade command. Surefire writes results to target/surefire-reports/, which the Build workflow uploads. No coverage report or threshold is configured. The suite runs without a live Minecraft server or the real economy and faction plugins.

License

Copyright (c) 2026 TF-Minecraft contributors.

TF-Minecraft-authored material in this repository is licensed under the Artistic License 2.0. Third-party dependencies and bundled material retain their own licenses.

About

Sign-based player shops and item trading with DenarEconomy integration for TFMC Minecraft servers.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages