Shopfront
Shopfront is an add-on for Lightman's Currency. It adds shop blocks that use Lightman's Currency coins, and the Market: a separate dimension where players rent plots to build their shops. It uses Lightman's Currency's own menus, coin slots and money system, so it fits right in.
The Market
A flat market town in its own dimension, split into plots by roads with lamp posts, with the Market Square in the middle.
- Rent a plot with Lightman's Currency money: it comes out of your wallet first, then from coins in your inventory, and you get change back
- Only renters and the players they trust can build on a plot. Roads and the Square are protected
- Visitors can still shop: traders and doors work for everyone, while chests and barrels stay private
- PvP is off by default, and players are told so when they arrive. It's always midday and hostile mobs don't spawn
- Pay ahead for several periods. Players get a warning a day before rent runs out. Unpaid plots freeze for a grace period, then go back on the market
- The Plot Office has a map of the Market: click any plot to see who rents it and what it costs, then rent it, pay ahead, give it up or go there. It also lists your plots with a Go button for each
- Prime plots next to the Market Square cost more (double by default)
- Name your plot with
/market name. Walking onto a plot shows its name and owner, or its price if it's free
- Rent can go to a player's bank account, such as the server owner's, or be removed from the economy
- Plot outlines: walking onto a free plot traces its edges in green, and onto your own plot in blue. Only you see them
- Plot Signs switch from "FOR RENT" to "RENTED" by themselves, and open the Plot Office on their plot
- The Market Directory lists every shop, named and busiest first, with search and a Go button. Put the board anywhere or use
/market directory
- Visitor counts: see how many players visited your shop this week
- Shop greetings that visitors see in chat when they walk in
- Hand a plot to a friend with
/market transfer, rent included
Commands
/market: travel to the Market Square
/market leave: go back to where you came from
/market plots: open the Plot Office
/market rent, /market extend, /market abandon: manage the plot you're standing on
/market home [n]: jump to one of your plots
/market trust <player>, /market untrust <player>: let a friend build on your plot
/market info: who rents this plot
/market name <name>: name your plot
/market greeting <text>: set a welcome message for visitors
/market transfer <player>: give your plot to another player (asks you to confirm)
/market directory: open the Market Directory
/market admin evict | reset | extend <periods> | plots <player>: operator tools
Server config
In config/lcshopfront-server.toml you can set:
- whether the Market is open, and whether everyone can use
/market
- whether PvP and monsters are allowed (both off by default)
- plot size, road width and how many plots the Market spans
- the rent price, in Lightman's Currency's money format, e.g.
10-lightmanscurrency:coin_gold
- the rent period, how far ahead players can pay, plots per player and the grace period
- prime plot pricing, who receives rent, and the messages shown when walking onto a plot
- whether freed plots are cleared, and whether containers are protected
Set the layout before anyone visits: chunks that have already been generated keep the old layout.
Billboards
Place a Billboard and rent the ad space to other players.
- You set the terms: the rent, with Lightman's Currency's price input, and the lease length, from 1 hour to 30 days
- Renters write the ad: four lines, any dye colour, and an optional glow. Only the renter can change it while their lease runs
- Rent waits in the billboard until you collect it, and players can pay ahead to extend
- When a lease ends, the ad comes down and the board shows "AD SPACE, for rent" with the price
- Plot renters can put billboards on their plots, and operators can put them along roads and in the Square
Blocks
- Donation Box: anyone can put coins in through a Lightman's Currency-style screen. Only the player who placed it can collect the money, and only they can break it. The owner can set a fundraising goal (with Lightman's Currency's own price input) and a message. Visitors see a progress bar, the total and recent donors, and there's a celebration when the goal is reached
- Coin Fountain: throw in a coin for a splash, a wish and two minutes of Luck
- Cash Register: rings and gives a one-second redstone pulse, so it works as a shop doorbell
- Open/Closed Sign: click to flip it. It glows and gives a redstone signal while open
- Plot Office: a kiosk that opens the Plot Office screen, for servers that don't want players using commands
- Shop Bell: rings and gives a redstone pulse. In the Market it tells the plot's renter that a customer is waiting
- Safe: 27 locked slots that only the owner (or an operator) can open or break
- Velvet Rope Posts that join up like a fence to line up customers
- Street Lamp and Produce Crates (apple, carrot, potato, melon)
- Market Parasols in all 16 dye colours: right-click one with a dye to recolour it
- Plot Sign, Display Counter and Chalkboard Menu
- Market Directory: a map board that opens the shop directory
- Shop Counter, and Striped Awnings in red, blue, green and yellow
Requirements
- Minecraft 1.21.1, NeoForge 21.1.197 or newer
- Lightman's Currency 1.21-2.3.0.6 or newer
- Install it on both the server and the clients
Credits
Lightman's Currency by Lightman314. Shopfront by Voidpulse.