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 :)
Hello, como89. Your plugin is wonderful. Now I can make the bankers from NPCs. Can I help you to translate it on Russian language?
I release a new dev build (#9) on my website : http://devcomo89site.weebly.com/bankx.html
Now all saves work.
0.5b dev build #8 is now available on my website : http://devcomo89site.weebly.com/bankx.html
It's normal if the data is not save in database. This will be done in the next build.
Hi Everyone, I have to know your advice about this question : http://dev.bukkit.org/bukkit-plugins/bankx/polls/what-are-the-versions-of-minecraft-where-bank-x-must/
Also, I will post in some minutes the next build version (#8). This build is focus on the optimization, optimization and code optimization. No additions are made. Just bug fixes and improvements.
Thanks and good day for you! :)
@como89
Very nice. It is cool that you work fast on that plugin.
@justin261996
This bug will be fix in the next build #8. I will release it in a few hours.
@como89 Well commandbox shows me that Blacksmith and dtlTrader are working now.
But ingame the Blacksmith is not showing the prices for reforge. That problem do not exist with Essentials I tested it too.
@justin261996
Bug fix in 0.5b build #7. I test it and it's work on my side. Tell me if it's correct on your side.
@como89
Added one more screenshot and latest log.file for you.
[21:07:43] [Server thread/INFO]: Starting minecraft server version 1.7.10
[21:07:43] [Server thread/INFO]: Loading properties
[21:07:43] [Server thread/INFO]: Default game type: SURVIVAL
[21:07:43] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-1.7.9-R0.2-207-g03373bb (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
[21:07:43] [Server thread/INFO]: Debug logging is disabled
[21:07:43] [Server thread/INFO]: Using 4 threads for Netty based IO
[21:07:43] [Server thread/INFO]: Server Ping Player Sample Count: 12
[21:07:43] [Server thread/INFO]: Generating keypair
[21:07:43] [Server thread/INFO]: Starting Minecraft server on *:25565
[21:07:44] [Server thread/INFO]: Set PluginClassLoader as parallel capable
[21:07:44] [Server thread/INFO]: [MyApi] Loading MyApi v1.3
[21:07:44] [Server thread/INFO]: [Vault] Loading Vault v1.4.1-b436
[21:07:44] [Server thread/INFO]: [Citizens] Loading Citizens v2.0.13-SNAPSHOT (build 1156)
[21:07:44] [Server thread/INFO]: [Blacksmith] Loading Blacksmith v1.1
[21:07:44] [Server thread/INFO]: [BankX] Loading BankX v0.5b DEVBUILD 6
[21:07:44] [Server thread/INFO]: [dtlTraders] Loading dtlTraders v3.2.0-snapshot
[21:07:44] [Server thread/INFO]: [Vault] Enabling Vault v1.4.1-b436
[21:07:44] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
[21:07:44] [Server thread/INFO]: [Vault] Enabled Version 1.4.1-b436
[21:07:44] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[21:07:44] [Server thread/INFO]: Preparing level "world"
[21:07:44] [Server thread/INFO]: -------- World Settings For [world] --------
[21:07:44] [Server thread/INFO]: Chunks to Grow per Tick: 650
[21:07:44] [Server thread/INFO]: Clear tick list: false
[21:07:44] [Server thread/INFO]: View Distance: 10
[21:07:44] [Server thread/INFO]: Experience Merge Radius: 3.0
[21:07:44] [Server thread/INFO]: Item Merge Radius: 2.5
[21:07:44] [Server thread/INFO]: Item Despawn Rate: 6000
[21:07:44] [Server thread/INFO]: Arrow Despawn Rate: 1200
[21:07:44] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[21:07:44] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[21:07:44] [Server thread/INFO]: Anti X-Ray: true
[21:07:44] [Server thread/INFO]: Engine Mode: 1
[21:07:44] [Server thread/INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[21:07:44] [Server thread/INFO]: Replace Blocks: [1, 5]
[21:07:44] [Server thread/INFO]: Cactus Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Cane Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Melon Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Sapling Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Wheat Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Mob Spawn Range: 4
[21:07:44] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[21:07:44] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[21:07:44] [Server thread/INFO]: Random Lighting Updates: false
[21:07:44] [Server thread/INFO]: Alternative Hopper Ticking: false
[21:07:44] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[21:07:44] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[21:07:44] [Server thread/INFO]: Structure Info Saving: true
[21:07:44] [Server thread/INFO]: Max TNT Explosions: 100
[21:07:44] [Server thread/INFO]: Sending up to 5 chunks per packet
[21:07:44] [Server thread/INFO]: Max Entity Collisions: 8
[21:07:44] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[21:07:44] [Server thread/INFO]: -------- World Settings For [world_nether] --------
[21:07:44] [Server thread/INFO]: Chunks to Grow per Tick: 650
[21:07:44] [Server thread/INFO]: Clear tick list: false
[21:07:44] [Server thread/INFO]: View Distance: 10
[21:07:44] [Server thread/INFO]: Experience Merge Radius: 3.0
[21:07:44] [Server thread/INFO]: Item Merge Radius: 2.5
[21:07:44] [Server thread/INFO]: Item Despawn Rate: 6000
[21:07:44] [Server thread/INFO]: Arrow Despawn Rate: 1200
[21:07:44] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[21:07:44] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[21:07:44] [Server thread/INFO]: Anti X-Ray: true
[21:07:44] [Server thread/INFO]: Engine Mode: 1
[21:07:44] [Server thread/INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[21:07:44] [Server thread/INFO]: Replace Blocks: [1, 5]
[21:07:44] [Server thread/INFO]: Cactus Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Cane Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Melon Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Sapling Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Wheat Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Mob Spawn Range: 4
[21:07:44] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[21:07:44] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[21:07:44] [Server thread/INFO]: Random Lighting Updates: false
[21:07:44] [Server thread/INFO]: Alternative Hopper Ticking: false
[21:07:44] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[21:07:44] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[21:07:44] [Server thread/INFO]: Structure Info Saving: true
[21:07:44] [Server thread/INFO]: Max TNT Explosions: 100
[21:07:44] [Server thread/INFO]: Sending up to 5 chunks per packet
[21:07:44] [Server thread/INFO]: Max Entity Collisions: 8
[21:07:44] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[21:07:44] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
[21:07:44] [Server thread/INFO]: Chunks to Grow per Tick: 650
[21:07:44] [Server thread/INFO]: Clear tick list: false
[21:07:44] [Server thread/INFO]: View Distance: 10
[21:07:44] [Server thread/INFO]: Experience Merge Radius: 3.0
[21:07:44] [Server thread/INFO]: Item Merge Radius: 2.5
[21:07:44] [Server thread/INFO]: Item Despawn Rate: 6000
[21:07:44] [Server thread/INFO]: Arrow Despawn Rate: 1200
[21:07:44] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[21:07:44] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[21:07:44] [Server thread/INFO]: Anti X-Ray: true
[21:07:44] [Server thread/INFO]: Engine Mode: 1
[21:07:44] [Server thread/INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[21:07:44] [Server thread/INFO]: Replace Blocks: [1, 5]
[21:07:44] [Server thread/INFO]: Cactus Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Cane Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Melon Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Sapling Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Wheat Growth Modifier: 100%
[21:07:44] [Server thread/INFO]: Mob Spawn Range: 4
[21:07:44] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[21:07:44] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[21:07:44] [Server thread/INFO]: Random Lighting Updates: false
[21:07:44] [Server thread/INFO]: Alternative Hopper Ticking: false
[21:07:44] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[21:07:44] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[21:07:44] [Server thread/INFO]: Structure Info Saving: true
[21:07:44] [Server thread/INFO]: Max TNT Explosions: 100
[21:07:44] [Server thread/INFO]: Sending up to 5 chunks per packet
[21:07:44] [Server thread/INFO]: Max Entity Collisions: 8
[21:07:44] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[21:07:44] [Server thread/INFO]: Preparing start region for level 0 (Seed: 69458270927729001)
[21:07:45] [Server thread/INFO]: Preparing start region for level 1 (Seed: 69458270927729001)
[21:07:45] [Server thread/INFO]: Preparing start region for level 2 (Seed: 69458270927729001)
[21:07:45] [Server thread/INFO]: [MyApi] Enabling MyApi v1.3
[21:07:45] [Server thread/INFO]: [MyApi] MyApi by [como89]
[21:07:45] [Server thread/INFO]: [Citizens] Enabling Citizens v2.0.13-SNAPSHOT (build 1156)
[21:07:45] [Server thread/ERROR]: [Citizens] Unable to find Rhino classes - javascript scripts won't see non-CraftBukkit classes
[21:07:45] [Server thread/INFO]: [Blacksmith] Enabling Blacksmith v1.1
[21:07:45] [Server thread/ERROR]: Failed to load an economy plugin. Disabling...
[21:07:45] [Server thread/INFO]: [Blacksmith] Disabling Blacksmith v1.1
[21:07:45] [Server thread/INFO]: [Blacksmith] v1.1 disabled.
[21:07:45] [Server thread/INFO]: [BankX] Enabling BankX v0.5b DEVBUILD 6
[21:07:45] [Server thread/WARN]: [BankX] DEVBUILD - This build is a dev build. You can have bugs and crashes. Please report the bugs, if you encounter them.
[21:07:45] [Server thread/INFO]: [BankX] [Database] All data are load.
[21:07:45] [Server thread/INFO]: [BankX] Use Citizens!
[21:07:45] [Server thread/INFO]: [BankX] Initialise and register Vault ...
[21:07:45] [Server thread/INFO]: [BankX] Initialization with vault finish.
[21:07:45] [Server thread/INFO]: [BankX] Made by <<como89>> and test by <<madtomic>>
[21:07:45] [Server thread/INFO]: [BankX] Its take 110 milliseconds to load this plugin.
[21:07:45] [Server thread/INFO]: [BankX] Plugin enable!
[21:07:45] [Server thread/INFO]: [dtlTraders] Enabling dtlTraders v3.2.0-snapshot
[21:07:45] [Server thread/INFO]: [dtlTraders][0;37;1m[INFO] Economy plugin: [0;33;1mBankX[m
[21:07:45] [Server thread/INFO]: [dtlTraders][0;37;1m[INFO] Loading config files[m
[21:07:45] [Server thread/ERROR]: Error occurred while enabling dtlTraders v3.2.0-snapshot (Is it up to date?)
java.lang.IllegalArgumentException trait name already registered
at net.citizensnpcs.npc.CitizensTraitFactory.registerTrait(CitizensTraitFactory.java:147) ~[?:?]
at net.dandielo.citizens.traders_v3.bukkit.DtlTraders.onEnable(DtlTraders.java:92) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412) [Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:476) [Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:394) [Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:360) [Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:334) [Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:290) [Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:210) [Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458) [Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [Server.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
[21:07:45] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[21:07:46] [Server thread/INFO]: Done (1,735s)! For help, type "help" or "?"
[21:07:46] [Server thread/INFO]: [Citizens] 0 NPCs geladen.
[21:07:47] [Craft Scheduler Thread - 1/INFO]: [Vault] Checking for Updates:
[21:07:47] [Craft Scheduler Thread - 1/WARN]: [Vault] Stable Version: 1.5.6 is out! You are still running version: 1.4.1
[21:07:47] [Craft Scheduler Thread - 1/WARN]: [Vault] Update at: http://dev.bukkit.org/server-mods/vault
[21:07:48] [Server thread/INFO]: Plugins (6): [0;32;1mMyApi[0;37;1m, [0;32;1mVault[0;37;1m, [0;32;1mCitizens[0;37;1m, [0;31;1mBlacksmith[0;37;1m, [0;32;1mBankX[0;37;1m, [0;32;1mdtlTraders[m
@justin261996
Do you have more errors logs? Send me all the errors, plz.
Well the bug is fixed for dtlTrader but now the same bug consists for Blacksmith (Citizens-Plugin).
@justin261996
The bug is fix in the next build ( build # 6 of 0.5b version).
Tell me if it works.
@como89
The problem is that, dtlTrader can not find a Economy-Plugin. Because of that dtlTrader is not working. Then I tried it with Essentials and it works perfect.
I added some screenshots for you.
@justin261996
Do you have errors in log? Explain me what is not work between dltTrader and BankX.
@como89
Yes it works. Thank you. Look forward for final version ...
UPDATE*: I tried to add dtlTraders but it do not work with Dev BankX 0.5b Build 5 Economy. Blacksmith (Citizens) is working normal.
@justin261996
The last build fix this problems. Test it with the 0.5b build 5. Tell me if it works.
Update : I test it and it's work on my side.
@como89: Thank you for your fast answer I will try it with the version 0.5b.
@justin261996
Use the version 0.5b. You can download it on this website : http://devcomo89site.weebly.com/bankx.html
Beware, these builds are not fully tested and can have some bugs, but they are more stable then the version 0.4b.
I know how the version 0.4b is buggy but I have to finish the version 0.5b with optimisation and adds last features.
The version 0.5b need MyApi. Check the correct version with the build you will choose.
If you have other problems, write it here or write me a pm.
Heay, I use the version 1.7.10 Cauldron Server. And i have a problem with BankX 0.4b. The Problem is that the plugin is not working when i add Vault 1.4.1. Im really confused because I read in ur description that Vault 1.4.1 hook with BankX 0.4b. I also use Citizens 2.0.13. Maybe you can help me.
Server start normal. Info*: When I remove Vault, BankX is working but dtltraders is not working without Vault...
When Vault is added then the command box shows me that : BankX 0.4 is disabled because it can not find Citizens. Without it is working fine like I said before. Then BankX is able to find Citizens.
UPDATE: I added some pictures! And I tested it with a "normal" craftbukkit 1.7.9 R.0.1 and 1.7.10.jar. Again same problem.
@nullschritt
For items as currency, it will be done for 0.5b. Check my todo list here : https://docs.google.com/spreadsheets/d/1xc2uYRY7PoS8b3yVbZSAB03gBiP-KhSW78JwudiMzLU/edit?pli=1#gid=959961342