BullionEconomy
BullionEconomy
Quick Description
Quick Description
BullionEconomy's goal is to create an economy that is based almost entirely on physical items in Minecraft. Most economies are based upon a bank that holds your money for you at all times and when you make a purchase, it just subtracts that amount from your bank directly. BullionEconomy is different, however. If you want to make a purchase, you will need to go to an ATM an withdraw the money from your account, then go and make the purchase with the money that you withdrew in your inventory. ATM's can be defined by any player with the required permissions and can be accessed by simply right-clicking.
Dependencies
Dependencies
This plugin requires uuidAPI to function correctly.
Warning
This plugin is in the early stages of development and can, at any time, experience major code changes. It is not recommended that you use this plugin for large applications and/or rely on it for your server's base economy, yet. Before using this plugin, understand that if there is a major change released in an update that modifies how the database is used, all data could be lost.
Features and Planned Features
Features and Planned Features
Keep in mind that BullionEconomy is still under heavy development and there are many bugs to be expected
- ATM's that can be created with signs
- Permissions that allow you to create an ATM
- Items that have been withdrawn from the ATM cannot be used for crafting
- The ability to turn this feature on and off in the config
- MySQL & SQLlite database support
- Bank statements that will list players withdrawal, deposit, and purchase history
- Vault support
- API (separate from vault) for other plugins to add to bank amounts etc.
- The JavaDocs for the API can be found here
- A sign-shop plugin (created by me most likely) that will allow you to purchase with BullionEconomy
- A command for checking bankstatements
- The ability to configure what items have value
- The ability to make purchases with BullionEconomy's money
- Many more ideas that I have, but can't think of
Legend:
- Already added, in an official released version
- Removed or very buggy (barely working, usually only found in a development build)
- To be added, planned feature
- Currently only in a development build
Commands & Permissions
Commands & Permissions
- ATM's
- bullion.atm.create - Allows you to create new ATM's
- bullion.atm.access - Allows you to access ATM's
- bullion.atm.creativebypass - Allows users to access ATMs, even when in creative
- /bankstatement command
- bullion.commands.bankstatement - Gives you access to the /bankstatement command
- bullion.commands.bankstatement.other - Allows you to view other player's bank statements
- /balance command
- bullion.commands.balance - gives you access to the /balance command
- bullion.commands.balance.other - Allows you to see other player's balances
- Notifications
- bullion.notifications.updatenotice - Notify the player that there is a new update of BullionEconomy
Development Builds
Development Builds
Quote:Development builds for BullionEconomy can be found on my Jenkins CI server that is hosted elsewhere. Before downloaded these builds, please keep in mind that these builds are not approved by BukkitDev staff. Download at your own risk:
- BullionEconomy Jenkins download page here: Click Here
- Raw link to my Subversion repo: Click Here
- WebSVN repository viewer (tracks code changes): Click Here
Tutorial Videos
Tutorial Videos
Will be released once the plugin has become more developed
- To create an ATM, simply place down a sign and put the words (on their own line):
[ATM]
- A withdrawal and deposit tutorial can be found here
Working With BullionEconomy's API
Working With BullionEconomy's API
- Although this API for BullionEconomy is not official, yet. It can still be used for testing etc to see how your plugin would work with BullionEconomy
- The JavaDocs for the API can be found: Here
- I will post the caveats in each stable update to notify developers if the API will experience drastic changes
Support Forums
Support Forums
- Have any questions about the API? Have any suggestions/comments for BullionEconomy? Post them on the support forums!
- Click Here
Update Checking and Broadcast Message
Update Checking and Broadcast Message
- BullionEconomy automatically checks to see if you are using the latest version; it also collects a broadcast message from my website. In order to do this, BullionEconomy connects to my website which is not governed by Curse or the Bukkit Team. Use at your own risk.
@maxkruijssen
To buy a plugin? What do you mean?
how much will it cost to buy a plugin from you?
@maxkruijssen
Well, I'm currently being hired out by a server to make a mini-game plugin. So, with that and college being on my plate, my time is quite limited. When I get the chance I will definitely look into adding that feature. I also plan on creating a sign shop for this plugin.
:( when do you think you are going to release a new build? :D
@maxkruijssen
Glad to know using uuidAPI fixed the problem! As for adding different money types with custom amounts, I'm afraid that isn't possible with the current build of BullionEconomy. I plan on adding that in a future release, but for now, all you can do is set what type of item is used for the current money amounts.
nevermin it works fine now. one more quistion how can i add more amount of money like five-thousand if i o it in the config it wont work
srry for my bad english im still at school and i live in holland
[16:52:30 ERROR]: Could not pass event PlayerInteractEvent to BullionEconomy v0. 91 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:302) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:501) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:486) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInte ractEvent(CraftEventFactory.java:210) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInt eractManager.java:462) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java :728) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlo ckPlace.java:52) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlo ckPlace.java:1) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:1 3) [bukkit.jar:git-Bukkit-53fac9f] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [ ?:1.7.0_79] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_79] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [bukkit.jar :git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:6 72) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:3 35) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:6 28) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java :536) [bukkit.jar:git-Bukkit-53fac9f] at java.lang.Thread.run(Unknown Source) [?:1.7.0_79] Caused by: java.lang.NoClassDefFoundError: info/dyndns/thetaco/uuid/api/Main at info.dyndns.thetaco.bullion.sql.DatabaseManager.getCreator(DatabaseMa nager.java:499) [?:?] at info.dyndns.thetaco.bullion.listeners.PlayerInteractListener.onPlayer Interact(PlayerInteractListener.java:50) [?:?] at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1 .7.0_79] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_79] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:300) [bukkit.jar:git-Bukkit-53fac9f] ... 17 more [16:52:30 ERROR]: Could not pass event PlayerInteractEvent to BullionEconomy v0. 91 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:302) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:501) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:486) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInte ractEvent(CraftEventFactory.java:210) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInt eractManager.java:462) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java :728) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlo ckPlace.java:52) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlo ckPlace.java:1) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:1 3) [bukkit.jar:git-Bukkit-53fac9f] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [ ?:1.7.0_79] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_79] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [bukkit.jar :git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:6 72) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:3 35) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:6 28) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java :536) [bukkit.jar:git-Bukkit-53fac9f] at java.lang.Thread.run(Unknown Source) [?:1.7.0_79] Caused by: java.lang.NoClassDefFoundError: info/dyndns/thetaco/uuid/api/Main at info.dyndns.thetaco.bullion.sql.DatabaseManager.getCreator(DatabaseMa nager.java:499) [?:?] at info.dyndns.thetaco.bullion.listeners.PlayerInteractListener.onPlayer Interact(PlayerInteractListener.java:50) [?:?] at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1 .7.0_79] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_79] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:300) [bukkit.jar:git-Bukkit-53fac9f] ... 17 more [16:52:30 ERROR]: Could not pass event PlayerInteractEvent to BullionEconomy v0. 91 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:302) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:501) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:486) [bukkit.jar:git-Bukkit-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInte ractEvent(CraftEventFactory.java:210) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInt eractManager.java:462) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java :728) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlo ckPlace.java:52) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlo ckPlace.java:1) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:1 3) [bukkit.jar:git-Bukkit-53fac9f] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [ ?:1.7.0_79] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_79] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [bukkit.jar :git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:6 72) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:3 35) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:6 28) [bukkit.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java :536) [bukkit.jar:git-Bukkit-53fac9f] at java.lang.Thread.run(Unknown Source) [?:1.7.0_79] Caused by: java.lang.NoClassDefFoundError: info/dyndns/thetaco/uuid/api/Main at info.dyndns.thetaco.bullion.sql.DatabaseManager.getCreator(DatabaseMa nager.java:499) [?:?] at info.dyndns.thetaco.bullion.listeners.PlayerInteractListener.onPlayer Interact(PlayerInteractListener.java:50) [?:?] at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1 .7.0_79] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_79] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:300) [bukkit.jar:git-Bukkit-53fac9f] ... 17 more
this is the error what do i need to do?
uuidAPI?
@maxkruijssen
Chances are the ATM wasn't actually created, then. Make sure you have uuidAPI installed. Also, make sure the ATM is actually being created (it should say so in chat) and check for any errors that could appear in the console.
hi i have a problem with the plugin if i try to open the atm nothing happend with right click im going to destroy it and with left click nothing happens what do i need to do?
@TheEntropy
SCHOOL FIRST :P <3
I apologize for the lack of major updates. College is taking up a good bit of my time.
@Ar7ific1al
That's not what I mean; I should have been more clear. :P BullionEconomy looks for certain items through displayname/lore and determines their value. Even if the item has a different name/lore, it wouldn't make any difference to BullionEconomy. Also, BullionEconomy only tells Vault what is in a specified player's bank account (when they withdraw or deposit). Sadly, it doesn't work the other way around (Vault cannot determine the amount of money in player's bank-accounts).
I know of a way I can do this with BullionEconomy's API, but if other plugins want to use these features within the API, they will have to implement BullionEconomy's API into their plugins.
@TheEntropy
Shouldn't jobs plugins, etc. be able to just hook into Vault to work with your plugin for payment? I've tried Gringotts and GoldIsMoney, and they do this quite well. I don't know how these specific plugins work, but it should be as simple as setting the item name and lore specified in the config on the item granted for economy transactions. I could be wrong, though. :)
@Ar7ific1al
This sounds like a great idea! I am already planning on creating the ability to change the item name and lore, but I wasn't even thinking about making it vary. Other plugins would have to use BullionEconomy's API for the lore to be different if they received it from a job. As you already mentioned, this plugin is in the early stages of development, but I'm always willing to try new things. Thanks for the suggestion!
This plugin looks very promising. I'm scouting economy plugins for a new RP server, but haven't found one that tickles my fancy.
If I may, I have a suggestion/question for your fine plugin. Do you plan to allow custom names and lore for economy items? For example, if the economy item is Gold Nugget, it would instead appear as "Coin" and have lore "Fresh off the mint" on the item earned via doing jobs, selling/buying items, etc.
I understand it's still in early development. Just wanted to see and make the suggestion. :)
@huntershenep
Are you accessing it from another machine (is the MySQL server being hosted on another computer)? I use the MySQL option and it works fine for me both remote and local.
The MySQL doesn't work :/ It spits out access is denied. The username/password IS CORRECT I've double checked, respelled & what not
@TheEntropy
I will be sure to do that :)
@Laxer21117
Glad to hear it, I need more testers! haha If you encounter any problems, be sure to create a ticket when you have time, thanks.