BankX
BankX is an economy RP plugin that allows you to manage the economy of the server from NPC. It also allows you to store your inventory in a bank. All this from NPC Citizens.
May 20th 2017 : Hi Everyone, I won't continue this plugin. If someone wants to continue developping this plugin, I release the source code on my github account at this link : https://github.com/como89/BankX
Thanks to everyone who used my plugin!
-==-==-==-==-==-==-
Everyone who ask me to make a link between BankX and other economy plugins, I won't do that, because BankX is an economy plugin. I will add further some script to convert some economy data to BankX data. Thank you for your understanding!
-==-==-==-==-==-==-
@Thanks to KingFaris11 for saving inventories in a file and get them back.
@Thanks to KILL3RTACO for his lib include in my 0.4b version. This lib is to serialize inventories into files.
- Allows you to manage its economy on its server.
- Allows you to store inventory in the bank vault.
- Allows you to create npc and use them to interact in your bank.
- You can manage the economy and inventories in a MySQL database.
- The plugin includes an API that can be used by developers.
Thanks for 3000 downloads! :D
Dependence: It is a RP plugin, you need to use Citizens to create a Banker NPC.
You need :
- Citizens Version 2.0.10 and +.
Videos:
If someone wants to make a video for this plugin, you can! You just have to give me the link by pm and I will post it on the main page. :)
French Tutorial Video :
Questions or suggestions?
Please leave a message on this post if you have any questions or suggestions.
You found a bug?
If you found a bug, please leave a ticket with all information of the problem.
The log of your server , the config file,etc.
Copy paste it to http://pastebin.com/ and add the url to your ticket.Thanks.
Donation:
If you want to support the development of the plugin, click on the donate button at the top of the project page. Thanks! :)
0.5b (Book System)
See here the todo list for 0.5b version : https://docs.google.com/spreadsheets/d/1xc2uYRY7PoS8b3yVbZSAB03gBiP-KhSW78JwudiMzLU/edit?pli=1#gid=959961342
Read this before download dev build :
Quote:Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Dev build of 0.5b version are available here!
Todo:
- Add in config a amount to pay when you add a chest for a inventory. - Idea from deadykass
- Add upgrade button for chest slots. - Idea from madtomic
- Add optional PIN for bank account. - Idea from CommodoreAlpha and me
- Add configurable bank menu - Idea from CommodoreAlpha
- Limit which items can be stored in bank. - Idea from nullschritt
- Add a wallet item where hold the cash and can be drop on death(optional). - Idea from nullschritt
- Adding an interest rate for the money of the bank account. - Idea from aberts10
- Your suggestions :)
Do you think it would be possible to implement items as currency with your economy? (1 gold nugget = 10 Credits[or whatever other currency])
I could help with the code if you want, I've been learning how to write bukkit plugins in my spare time. (:
I love this plugin, I just wish it had support for an item based economy.
@Sonic5317
Nop, you cannot limit people to only one bank account for now. I think i will add this in the 0.6b version. To prevent access in creative mode, I will add this in 0.5b version. :)
Is it possible to limit people to only one bank account? and prevent access in Creative mode?
@pinoylifecraft727
ok, but I not understand correctly the end of your sentence. Can you explain what you mean by "what ever is that ? i dont know if i can do it perfectly :("
If I understand correctly, you want to know how to report bugs : create a ticket here : http://dev.bukkit.org/bukkit-plugins/bankx/tickets/
@como89
I will test it and report a bug or what ever is that ? i dont know if i can do it perfectly :(
@ReUniTy7 I will not go back, but I will add this functionality in version 0.5b:
http://dev.bukkit.org/bukkit-plugins/bankx/tickets/8-toggle-bank-x-features-on-and-off/
This functionnality means that you will be able to activate or not the economy system. But if the economy system is not enable, you will not be able to use the interface for money in bank.
This plugin would be so much better if it just did what it's ment to do. Being a bank, and not a economy system too. :(
@pinoylifecraft727
ah ok, good for you, if it's work now. :) For everyone, I continue the dev of Bankx 0.5b, I release some dev build in my dev website if you want to test it. But before download these version, please read this : "Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk." If you want to test the dev version of Bankx 0.5b, it's here.
@como89
Aw sorry for my english... i mean that bankx will work now? and trait npc is fine? just tell me if my english is wrong! :)
@pinoylifecraft727
Sorry, but I do not understand what you mean by "Bank X is OK now como89?"
@como89
Bank X is OK now como89 ?
@aberts10
1- Not for now, but it's a good idea. I will add this in a future version.
2- You need to create a bank for each player, they just have to do this command : /bank create <bankName> <Amount> (The amount is optionnal).
Is there intrest for money that is stored? And do i need to create a bank for players?
@como89
PocketData
~~> http://pastebin.com/WKAh2rkH
@pinoylifecraft727
Corrupt data, I think. But this feature is remove in the next version 0.5b. It will use SQLite database. For now, I don't know why this happened. Do you modify the data files? Because it's not a good idea. Can you send me the content of the data files for pocketdata.dat? Copy paste here please : http://pastebin.com/
@como89
Now I receive this :
Date April 16, 2015
[23:09:20 INFO]: [BankX] DataBank read! [23:09:20 WARN]: [BankX] Task #32 for BankX v0.4b generated an exception java.lang.NumberFormatException: For input string: "3264.5♣♣♣♣♣╦╓╙BZèΩ☻≡?¶♥┬Γo8 0-9bf7-f0b97c5970e6" at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) [?:1.8 .0_31] at sun.misc.FloatingDecimal.parseDouble(Unknown Source) [?:1.8.0_31] at java.lang.Double.parseDouble(Unknown Source) [?:1.8.0_31] at net.como89.bankx.bank.FileManager.readDataPocket(FileManager.java:144 ) [?:?] at net.como89.bankx.tasks.TaskLoadingData.run(TaskLoadingData.java:32) ~ [?:?] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java :53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHea rtbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c79 69-b3105jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:6 00) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:2 58) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:5 58) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java :469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:6 28) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
@como89
In console?
I don't have errors in cmd...
@pinoylifecraft727
I don't know how to reproduce the bug. I test with the same bukkit build and citizens versions and I don't have this error. I will investigate about this bug and I will try to find a solution. :)
EDIT : Do you have errors in the logs?
@como89
I have :
git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks
@pinoylifecraft727
Which version of craftbukkit or spigot do you have?