(1.16) xEconomy - The #1 Economy Datapack in Minecraft Reborn! - Money, Shops, Payments, and More!

  • check_circle Functions
  • 89 diamonds
  • 62,101 views, 117 today
  • 5,799 downloads, 11 today
  • 149 comments
  • 99 favorites
  • 89
  • 99
  • 149
avatar NickTonj
Level 57 : Grandmaster Modder
60

PSA: All bugs in the video have been fixed

This datapack only works for snapshot 20w11a (1.16) and up.
1.15 support hopefully soon!
xEconomy
In 2018, I released a datapack named nEconomy, which was a bare-bones project I was working on for fun, with no actual intent on it becoming anything more. It soon became a much bigger project, undergoing two revisions to make it the best that it could be, hitting #1 for google searches for any money or economy datapack. Although it was doing really well, I believed that it was unoptimized and didn't have the best effort from me. Today I present to you, xEconomy, an open-sourced economy datapack, built from the ground up and based on nEconomy 3, but without the bugs ;)

Features
Money (of course)
Easy balance view by looking straight down or using /trigger bal
Paying players by distance or direct player ID
Shops! Players can Buy or Sell ANY Item
No known Glitches or Exploits (As of 1.16 Snapshots)
Easy and Cheap setup for players
Custom colors for shops
Open Source, and Secure!

Plugins
This datapack is meant to have addons/plugins! Feel free to make or find some!
If you make a plugin please add the following code to your load.mcfunction
summon armor_stand 0 255 0 {Invisible:1b,Small:1b,Tags:["xplugin"]}

Documentation
Giving players money:
All players start off without money, and is the server admin's responsibility to supply them with some. Admins can use /scoreboard players add (player) balance (amount) to give money to a player. This is subject to change in the future, and an official way to obtain money will be added.
Setting up and Configuring a shop:
Players can make a shop by placing an item frame on a chest, and sticking a sign inside it. This should automatically create the shop. To access it, they must hold sneak, and open the chest with an empty hand.
The shop can be further configured using the buttons inside.
Make sure you use the blue/yellow button to select the proper shop type!
Buy Shops:
For a buy shop, fill the chest inventory with any item you choose to sell to players. You can then configure the price using the green and red buttons, and set the item count using the gray button.
Sell Shops:
For a sell shop, place one item you're looking to buy off of players in the very first slot available slot in the chest. You can then configure the price using the green and red buttons, as well as set the item count using the gray button. In order for the shop to give the players money, you must deposit money of your own into it. Go as close to the shop as you possibly can, and type /trigger deposit add (amount)
Replacing (amount) with your choosing.
Admin Shops:
Admin Shops are like normal shops, but do not require money or extra items. Its a set-and-forget feature of the pack.
To make an admin shop, instead of placing a sign in the item frame to create a shop, place a debug stick instead. You can obtain a debug stick by typing /give @s debug_stick
Playtime:
Playtime rewards can be configured with the xsettings panel. Type /scoreboard objectives setdisplay sidebar xsettings and then modify the settings you wish.
Redstone Triggers:
Shops have the ability to trigger redstone when they are used. To do this, place a stone block on the back end of the shop, and once a player successfully buys or sells to it, it will turn into a redstone block temporarily for one tick.

Planned Features
In the video I mentioned that this datapack is fully finished and is releasing as-is. I kinda lied about that. Basically there are a few things I plan to code in eventually:
-An easier, command-less way to deposit money into sell shops
-Cleaner UI
-More optimizations
And yeah that's pretty much it. If you would like to see a feature in this pack, please post it in the comments below!

Known Bugs:

If players are within 6 blocks of a shop, their inventory crafting won't work properly. This is due to an issue with the latest snapshot that breaks the /clear command, so hopefully it will be fixed by Mojang soon!

Open Source Info
This pack can be found on GitHub, and if you'd like to contribute or make changes to the pack's code, please let me know and submit a pull request! You will be added to the credits!

Additional Code Credit:
None :P


CompatibilityMinecraft 1.16 Snapshot
Tags

23 Update Logs

xEconomy 200520 : 05/20/2020 9:42:32 pmMay 20th

-Added official playtime support (check documentation)
-Changed file format to .zip instead of folder
-Added redstone trigger support (check documentation)
-Fixed item teleportation bug
-Fixed id's not being assigned
LOAD MORE LOGS

1
06/01/2020 8:00 am
Level 3 : Apprentice Miner
suaeisnoob
I'm glad that you fix those bugs and also good datapack :D keep it up!
1
05/25/2020 5:35 am
Level 1 : New Miner
ammaTIME
doesnt add money into account after seling, cant add money manually
1
05/23/2020 4:56 pm
Level 2 : Apprentice Crafter
ninja6igor
not work :[
1
05/17/2020 4:34 am
Level 3 : Apprentice Miner
suaeisnoob
Hey, can ya help? My brother makes a LAN server but he got no id
2
05/21/2020 1:18 am
Level 57 : Grandmaster Modder
NickTonj
check out the new update :)
1
05/04/2020 9:01 am
Level 1 : New Miner
ammaTIME
doesnt work on 20w18a snapshot
2
04/17/2020 2:07 pm
Level 1 : New Miner
BeckAltarr
1.15.2 Versions comming?
1
04/11/2020 12:07 amhistory
Level 1 : New Miner
pianoboy913
Please get a 1.15 version soon! I would really appreciate it!
1
04/09/2020 4:15 am
Level 1 : New Miner
Eitan47
The datapack does not work in 20w15a, the most recent snapshot. Is there a way to fix this?
1
04/09/2020 4:25 am
Level 1 : New Miner
Eitan47
Correction, the admin shops still work with the debug stick, but the regular shop still doestn.
1
04/21/2020 1:59 am
Level 57 : Grandmaster Modder
NickTonj
Could you go a bit more into detail on the problem?
1
04/03/2020 11:47 am
Level 1 : New Miner
pixel_gunner101
Amazing Datapack, highly recommend it, and no I was not paid to say this, I think this datapack is truly amazing and I love how it works! five out five stars!
1
03/28/2020 10:12 pm
Level 1 : New Miner
Toskan4134
works for 1.15?
1
03/27/2020 3:33 pm
Level 1 : New Miner
ADTK47
Can't wait to see xFactions.
1
03/25/2020 12:15 pm
Level 1 : New Network
xXEndermiteXx
I can't wait to see this for 1.15!
1
03/22/2020 3:44 pm
Level 1 : New Miner
CedDerieux
THERE IS A BIG BUG
You can't craft in the 2x2 craft table in your inventory
1
03/28/2020 9:30 pm
Level 57 : Grandmaster Modder
NickTonj
Thank you for pointing this out!

This is actually a glitch with the new minecraft snapshot that breaks the /clear command. Hopefully it will be fixed by the next snapshot or two, since a few people have caught onto it in other packs.

I just released a temporary fix to it, so everything should work properly as long as you aren't within 5 blocks of a shop.

Thank you!
1
03/22/2020 3:45 pm
Level 21 : Expert uwu
KapceRBLX
Oh no
1
03/20/2020 4:15 am
Level 21 : Expert uwu
KapceRBLX
Maybe trading shops? Diamond for emeralds etc
1
03/08/2020 5:28 pm
Level 43 : Master Modder
Zero_4793
I am very happy to hear that you will be remaking this for the newer version. :)
1
03/07/2020 3:43 am
Level 1 : New Miner
Myst1cal_M00N
I can't seem to figure out how to download it, in the video you show completely different files
1
02/26/2020 4:56 pm
Level 1 : New Miner
uncle67
the resource pack does not work for me thare is only farmland in the chest
1
03/07/2020 9:45 am
Level 1 : New Miner
IMPS
install the resource pack
1
02/19/2020 7:31 pm
Level 1 : New Crafter
dylano77
Isn't minecraft in complete anarchy? (the bad kind of anarchy)
1
01/24/2020 2:57 pm
Level 1 : New Miner
ike_
is there a way to show everyone's money on tab or something
1
02/24/2020 5:54 pm
Level 1 : New Miner
horsefly_2005
if you want it in tab, /scoreboard should do the trick, I just forgot what you gotta add after /scoreboard
1
01/21/2020 8:36 pm
Level 1 : New Miner
crims0bl00d
When I put it in my game and put everything together the oak sign turns into farmland and fills the chest with farmland. What am I doing wrong, or how can I fix it?
1
02/24/2020 6:49 pm
Level 1 : New Miner
horsefly_2005
you need the texture pack
1
01/17/2020 2:11 pm
Level 1 : New Miner
ImTemper
The addon worked perfectly fine, the only issue is that it causes lag in multiplayer realms that most of my friends can't stand. Without the lag, the addon was good and worked as intended.
1
01/15/2020 11:02 am
Level 1 : New Miner
BeckAltarr
Where can I find a list of the commands? My stores keep locking for some reason and I don't know how to see pay other players.
1
12/09/2019 1:45 pm
Level 1 : New Miner
craftbg10
con you port it to 1.15. I tested and it did not work
1
12/18/2019 10:10 pm
Level 57 : Grandmaster Modder
NickTonj
how so?
1
12/31/2019 8:59 am
Level 1 : New Miner
Slug_Basher
It is as before 1, place a crate upon which 2 place an item frame, 3 then add an oak sign (no other works). You then get a dirt block appear and the chest is full of dirt blocks (farmland it is called!)

It was like this prior to this recent update. I deleted existing datapacks and reloaded new version but still the same.

I have subscribed to your Patreon and you do not respond to messages on there I have noted.
1
01/04/2020 1:42 pmhistory
Level 1 : New Miner
BeckAltarr
Same Issue, Install the datata pack and resource pack for 1.15 and the chest is full of farm land and the front has a farmland dirt on it.



Additionally, I liked the older NEconomy because I could have potion effects and even affect world borders with the shop. This looks like it is items only. It will work on 1.15 single player, but doesn't seem to even register on a 1.15 server.
1
10/31/2019 5:11 am
Level 43 : Master Modder
Zero_4793
This is fantastic! Keep up the great work.
I think it would be good if the shop could display whether its buy or sell and the price and number.
1
10/20/2019 10:49 am
Level 22 : Expert Miner
Exkallibur
Hey Nick,

I´m back from the dead and wanted you to know, that I´m going to update both of my data packs for nEconomy soon.

This includes nEcommands and nJobs :)
1
10/07/2019 9:13 pm
Level 1 : New Miner
dudi12
I am using this datapack and I love it, however besides the problem other already mentioned about farmland I also ran into a massive lag when 2 or more players join the server. Tick time goes to 100~140ms.

I believe it is due the huge amount of commands being executed in tick, however I am not sure.

Is anyone else facing it? Any plans to improve the performance of the datapack in the future?
1
10/03/2019 10:45 pm
Level 1 : New Miner
carrollprice
I've run into a bug where when a shop is created it is instantly filled with farmland.
3
09/11/2019 12:20 am
Level 1 : New Miner
AyeKyTheGuy
Hello so I'm not sure if i did this wrong or what but when putting this data pack on my server it "works" but the gui on the chest everything appears as farm land but is still intractable and does what it is suppose to. just this is on a actual server not a single player world tho not sure if that makes a difference. followed the video as is unless it is out of date some how. i manually put the resource pack into my resources and turned it on and i get the black and pink squared instead of farmed land. I've restarted my server a few times. first time i ever did anything with data packs.
1
12/24/2019 7:12 am
Level 28 : Expert Electrician
Griss
Hello,
To view the GUI of this datapack, your need to install the resource pack.
You can install it by clicking here.
1
08/24/2019 2:50 pm
Level 1 : New Miner
ChinoForeva
But how can i get money? Can I work in a job to earn some money? how can i obtain it?
1
08/07/2019 10:48 pm
Level 1 : New Miner
aldats
Hi! I was wondering if updating a Realm from 2.391 to 3.0 would be a smooth transition. Also, in the previous version of this post you included a command that could reassign broken shops to their rightful owner using /execute. I failed to save it myself for later use, so I am asking if you could throw it my way as I need it for a bug within my Realm
1
08/16/2019 9:37 am
Level 57 : Grandmaster Modder
NickTonj
Unfortunately converting from 2.391 to 3.0 isn't possible unless you remove all of the shops, and make new ones in the 3.0 format.

If you plan to continue using it, you can reassign the ownership of shops by having them go up to it, and you would have to execute this command:

execute as (their name) at @s run scoreboard players operation @e[tag=necshop,limit=1,sort=nearest] shopowner = @s nec_uuid
1
08/05/2019 11:25 pm
Level 1 : New Miner
Cdebird
I’m having a weird glitch where my shop gives the player 10-20 items and the rest appear randomly around the shop
1
08/06/2019 12:23 pm
Level 57 : Grandmaster Modder
NickTonj
That is odd. How many items are being sold in the shop? Would you mind sending me the world file?

Thanks!
1
08/09/2019 4:21 pm
Level 1 : New Miner
Cdebird
I could really use the help. I love this datapack, but this problem is a major issue for me.
1
08/16/2019 9:50 am
Level 57 : Grandmaster Modder
NickTonj
Hey! I apologize for the late response, for I was in Europe for the past week.

I have since fixed this issue in revision A2/B2 of the datapack

Thank you so much for sticking by!
1
08/07/2019 12:12 pm
Level 1 : New Miner
Cdebird
The shop is selling 64 items and I'm not sure how i can send you the world since i cant link files.
1
08/02/2019 4:30 am
Level 36 : Artisan Miner
Nphhpn
I tried to setup a sell shop which I buy 1 named diamond for $10. When I tried to sell for it, holding a stack of unnamed diamond, all of my diamonds turn to named diamonds. When I withdraw items, I got unnamed diamonds.
1
08/16/2019 9:51 am
Level 57 : Grandmaster Modder
NickTonj
I apologize for my shop plugin currently doesnt have much nbt support for the shops, but I promise this will be a fix in the near future.
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome