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 :)
@MedievalMinecrafters
Ok, i will check on that and do a fix soon.
ok so i found a bug and i dont know how to fix it. So basically, i use mythic mobs, to make custom items for my mobs, and players can receive them via drop. 1 issue is when the player put the item in the bank and say the server reloads, or restarts all the attributes on that weapon get removed. so my custom items have say 40 attack damage attribute. that gets set back to the normal 1 so for example from 40 after restart to 5 so... if this is for rpg server, rpg server most likely have custom items, and this wont work since it remove the attributes on reload or restart.
@gentleman67880
Dans le pire des cas, essai sans ton mod avec un craftbukkit 1.7.2 beta et après dis-moi si ça réaffiche le message dans tes logs.
Merci de ta réponse rapide ! Tout d'abord je n'ai qu'un seul jar de BankX. J'utilise la version 1.7.2 de citizens (http://dev.bukkit.org/bukkit-plugins/citizens/files/39-2-0-11-alpha-1-for-mc-1-7-2/) et un craftbukkit en version beta 1.7.2 (https://dl.bukkit.org/downloads/craftbukkit/get/02535_1.7.2-R0.3/craftbukkit-beta.jar) modifié avec le mod minicraft quest+reis minimap. Pense tu que le problème puisse venir de là?
Merci !
@konakape
What do you mean? You want a tutorial for what? I search for someone who want to create a video tutorial for this plugin and for now, it have no tutorial.
@gentleman67880 Salut à toi! En premier lieu, vérifie si tu as un seul .jar du plugin BankX dans ton dossier plugins. Après, si tu en as qu'un seul .jar, dis moi qu'elle version tu utilises de craftbukkit et de citizens. merci !
The Tutorial??
Salut à toi !
Dit moi quand je lance mon serveur j'ai un petit souci: une erreur s'affiche, quelque soit la version : [12:05:30 ERROR]: Error occurred while enabling BankX v0.3b (Is it up to date?) java.lang.IllegalArgumentException: trait name already registered at net.citizensnpcs.npc.CitizensTraitFactory.registerTrait(CitizensTraitFactory.java:146) [?:?] at net.como89.bankx.BankX.onEnable(BankX.java:64) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [craftbukkit.jar:git-Bukkit-unknown] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350) [craftbukkit.jar:git-Bukkit-unknown] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:389) [craftbukkit.jar:git-Bukkit-unknown] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439) [craftbukkit.jar:git-Bukkit-unknown] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375) [craftbukkit.jar:git-Bukkit-unknown] at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [craftbukkit.jar:git-Bukkit-unknown] at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319) [craftbukkit.jar:git-Bukkit-unknown] at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275) [craftbukkit.jar:git-Bukkit-unknown] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175) [craftbukkit.jar:git-Bukkit-unknown] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit.jar:git-Bukkit-unknown] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-unknown] [12:05:30 INFO]: Server permissions file permissions.yml is empty, ignoring it
As-tu une idée d'où cela peut venir? Si jamais j'arrive à faire marcher ton plugin je n'hésiterais pas à faire une petite vidéo sur celui-ci, qui me parait fort sympathique !
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. Thanks! :)
I release the version 0.3b, please be patient for the approval phase! :)
@toobanooba
The config already exist : http://dev.bukkit.org/bukkit-plugins/bankx/pages/configs/
I don't know what do you mean. Could you explain me your idea?
hi! I was thinking if you can make the config so It can only Be This, but it excludes That.
3 Thanks!
Adam
Re-bonsoir,
Merci pour tes réponses rapides ;)
Edit :
Pour info j'utilise Gringotts pour l'économie avec les émeraudes, ci cela peut t'aider ;)
@deadykass
Merci à toi! :)
Salut,
Tout d'abord un big GG pour le travail réalisé.
- Est-il possible de retirer la fonction "Money" de la banque mais de conserver la fonction coffre ? (j'aimerai utiliser les émeraudes en monnaie sur mon serveur)
- Rajouter dans la config la possibilité d'établir un montant (dans mon cas d'émeraudes) pour l'achat de coffres supplémentaires ?
- Et pour finir ... pour le mettre en 100% français :p
Bonne continuation et encore félicitation pour le travail abattu ;)
@nullschritt
Yep ;), i will add the support for items as money in my plugin. I will check that, but i think, i can do this automatically. :)
@como89
Okay, understandable, so, if you could add support for items as money this would be great. On our server we currently use a plugin that lets us define certain items to have specific values (like emerald = 0.1, gold nugget = 1, gold ingot = 9, diamond = 38, gold block = 81, diamond block = 342) and money amounts are properly converted to the right representation in items when the balance changes, as such it would be nice is there was a way in your config to define what each item is worth in money, and have it automatically create the right "change" when the user has money deposited/withdrawn from their inventory. Is this possible in the future? (or maybe even just a way to turn the economy portion of the plugin off, and only allow users to deposit items, this way players could just store their physical cash from other plugins into their bank account as items)
Sorry everyone for the late reply, I was sick for the past two days. :( But, for now, I'm in great shape. ;)
@Hilliard20914
I will see how i will introduce this. :)
@nullschritt
I have already answer this and i will not include a support for other economy plugins. But, if you want i can include physical money in my plugin. In the future version, i will include some script that will convert the data from some economy plugin to BankX data.
For api, you have to get the instance of the BankXApi with this method :
And after, you just have to use the method that are explain in the javadoc : https://dl.dropboxusercontent.com/u/22124240/BankX/API_BankX_Javadoc.zip
I hope that I explain to you correctly :)
@como89
Yes, please add support for other economy plugins. On our server we use a physical money plugin, and while players can simply store their items in the bank account, they can't desposit/withdraw it as money (in and out of their account).
Also here's a couple other nifty ideas:
If you're not interested in one or any of these ideas let me know, and point me to how to reference the API for the plugin, as I may be able to one or two of them as extensions through your API. (Am learning about coding for bukkit)
If possible could you make it where instead of having to have citizens you can have an option to use a Minecraft NPC?
@como89
That would be awesome!