Keyconomy
No reviews yet
An economy datapack based around trial keys. It has shops included!
Includes systems for trading and managing economies.
Data Packs were introduced to vanilla Minecraft in version 1.13 and allow the server to modify data about the game, or run commands. Data Packs are compatible with all mod loaders.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
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.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Quilt is a fork of the Fabric mod loader. Many Fabric mods are compatible with Quilt 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
Compatibility
Supported Environments
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
About
Description
Keyconomy
Keyconomy is a datapack-based economy based around the Trial Keys added to 1.21+. Requires Retina to run!
Selling Keys
You can sell keys for money using /trigger SellKeys, which will sell trial keys for 25 and ominous keys for 100 by default, straight from your inventory.
Withdraw
You can withdraw money from your account by doing /trigger Withdraw set <amount>, and you'll receive cash items that also get sold back when using the SellKeys command
MakeShop
Looking at a barrel with items in it (It must be 1 type of item) and using trigger MakeShop set <sell_price> will turn it into a shop. You can interact with the shop to see details if you're a customer and restock if you're the owner. You can also hit the shop to either purchase from it if you're a customer or destroy it if you're the owner.
CreativeShop
Same deal as MakeShop, except it can't be restocked, has unlimited items, and can only be destroyed or created if you're in creative.
Config
Sell Price
If you want to change how much a key sells for, you can do
data merge storage keyconomy:config {trial_key:25,ominous_key:100}
Max Stock
If you want to change the max amount of stock a shop can hold at once, you can do
data merge storage keyconomy:config {max_stock:5000}. The default is 5000.
Commands
If you want to disable a certain command, there's a few options. Changing it for everyone is done like this: data modify storage keyconomy:config commands merge value {sell:1b,withdraw:1b,shop:1b}, where 0b will disable the command. Per-player, you can enable it for someone by doing tag <player> add key.shop, and disable it by doing tag <player> add key.no_shop. If you want to undo this, you can do tag <player> remove key.shop, etc.
Developers
The scoreboard for player money is stored in a scoreboard called key.money, and there's a unique player ID stored in key.player.id
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