Barrel Shops
No reviews yet
Virtual balance + Player/Admin shops!
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Dependencies:
Requires you to install https://modrinth.com/mod/mysql-driver/version/9.1.0
Commands:
- /balance [player]: shows your balance if no player given, if not shows their balance
- /balancetop [page]: shows the leaderboard of balances
- /balancegive <player> <amount>: admin command, requires OP
- /pay <player> <amount>: transfers money
Config.json
/config/barrelshops/config.json
{
"db-url": "jdbc:mysql://HOST:PORT/DB_NAME",
"db-user": "USER",
"db-password": "PASSWORD",
"c1": "The balance a new player starts with",
"onboarding-balance": 10,
"c2": "Passive income over time, every X minutes a player gets $Y",
"passive-income-interval-minutes": 30,
"c3": "Set to -1 to disable passive income",
"passive-income-amount": 5
}
You need to run the mod once, and set up the MySQL credentials, then start again the server.
Shop creation (Support with NBT: Enchantments, etc)
- Place a barrel
- Put inside the item you want to buy/sell, and the amount too, for example 15 apples.
- put a sign on any side of the barrel
- put in the first line [BUY], [SELL], [ADMINBUY] or [ADMINSELL] (admin shops require OP to set up or destroy)
- put in the last line (4th) the price, for example 124
- Done! the sign should be given some color and you can now put stock onto it or take it out (if non admin) and players will be able to use it!
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources