Note: Since v2.4 this plugin connects via https to Mojangs Servers in order to perform UUID lookups
Have you ever wanted to have a physical bank on your server?
Have you wanted to be able to deposit money knowing it will be safe, or even depositing experience?
How about a plugin that give you interest for your experience banks and money banks?
If you answered yes to any of these then this is the plugin for you! The solution for all your money problems is here!
With the BankCraft plugin you can deposit money into banks, have XP banks, banks that include interest and even scrolling signs!
2013-02-15 19:51:37 [INFO] [Bankcraft] Enabling Bankcraft v2.0pre
2013-02-15 19:51:37 [INFO] [Bankcraft] [Bankcraft] Loading Bankcraft 2.0pre...
2013-02-15 19:51:37 [SEVERE] Cannot load plugins\Bankcraft\config.yml
org.bukkit.configuration.InvalidConfigurationException: while scanning for the next token
found character '\t' that cannot start any token
in "<string>", line 5, column 1:
interestOnMoney: 0.0005
^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117)
at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111)
at de.hotmail.gurkilein.bankcraft.ConfigurationHandler.getString(ConfigurationHandler.java:75)
at de.hotmail.gurkilein.bankcraft.Bankcraft.onEnable(Bankcraft.java:57)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: while scanning for the next token
found character '\t' that cannot start any token
in "<string>", line 5, column 1:
interestOnMoney: 0.0005
^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:591)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
... 18 more
2013-02-15 19:51:37 [SEVERE] Cannot load configuration from stream
org.bukkit.configuration.InvalidConfigurationException: while scanning for the next token
found character '\t' that cannot start any token
in "<string>", line 5, column 1:
interestOnMoney: 0.0005
^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:202)
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:121)
at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111)
at de.hotmail.gurkilein.bankcraft.ConfigurationHandler.getString(ConfigurationHandler.java:75)
at de.hotmail.gurkilein.bankcraft.Bankcraft.onEnable(Bankcraft.java:57)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: while scanning for the next token
found character '\t' that cannot start any token
in "<string>", line 5, column 1:
interestOnMoney: 0.0005
^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:591)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
... 17 more
2013-02-15 19:51:37 [SEVERE] [Bankcraft] Could not locate 'database.typeOfDatabase' in the config.yml inside of the Bankcraft folder!
2013-02-15 19:51:37 [SEVERE] [Bankcraft] Could not locate 'interest.timeBetweenInterestsInMinutes' in the config.yml inside of the Bankcraft folder!
2013-02-15 19:51:37 [SEVERE] Error occurred while enabling Bankcraft v2.0pre (Is it up to date?)
java.lang.NumberFormatException: For input string: "errorCouldNotLocateInConfigYml"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at de.hotmail.gurkilein.bankcraft.Bankcraft.toggleTimerTask(Bankcraft.java:92)
at de.hotmail.gurkilein.bankcraft.Bankcraft.onEnable(Bankcraft.java:85)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Update: Started to work on the listeners. I am starting to get angry on "past me" for writing such a bad code...
After finishing the work with the listeners and creating some sort of config, I will provide a first Beta. Because of my finals this week this could take some time (lets say until friday).
After hours of looking into my code (that i wrote like two years ago) i decided to restart this project from scratch.
Iam going to build this whole thing way more systematic this time to make future updates as easy as possible.
I am setting myself a deadline until Friday night (which would be tomorrow) to get a first version out. This version will not feature everything that is in the current build but ill try to make it as bugfree as possible.
This is a lot of work I am going to put in this project so I would appreciate every help possible. Iam not gonna include mysql support for now as this kind of ruined the last build. I will however try to add this in the near future.
-
View User Profile
-
Send Message
Posted Feb 15, 2013@Frauenarzt47
gonna try this myself later. need some sleep now.
@CrazyTiger2000
please refer to the wiki for more information (pages above)
-
View User Profile
-
Send Message
Posted Feb 15, 2013how do you make the bank with signs
-
View User Profile
-
Send Message
Posted Feb 15, 2013interest: interestOnMoney: '0.0005' interestOnXp: '0.001'
The error is still
-
View User Profile
-
Send Message
Posted Feb 15, 2013@Frauenarzt47
try changing 0.0005 on interestOnMoney to '0.0005' (add -> ' )
-
View User Profile
-
Send Message
Posted Feb 15, 20132013-02-15 19:51:37 [INFO] [Bankcraft] Enabling Bankcraft v2.0pre 2013-02-15 19:51:37 [INFO] [Bankcraft] [Bankcraft] Loading Bankcraft 2.0pre... 2013-02-15 19:51:37 [SEVERE] Cannot load plugins\Bankcraft\config.yml org.bukkit.configuration.InvalidConfigurationException: while scanning for the next token found character '\t' that cannot start any token in "<string>", line 5, column 1: interestOnMoney: 0.0005 ^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117) at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111) at de.hotmail.gurkilein.bankcraft.ConfigurationHandler.getString(ConfigurationHandler.java:75) at de.hotmail.gurkilein.bankcraft.Bankcraft.onEnable(Bankcraft.java:57) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: while scanning for the next token found character '\t' that cannot start any token in "<string>", line 5, column 1: interestOnMoney: 0.0005 ^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358) at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179) at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:591) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 18 more 2013-02-15 19:51:37 [SEVERE] Cannot load configuration from stream org.bukkit.configuration.InvalidConfigurationException: while scanning for the next token found character '\t' that cannot start any token in "<string>", line 5, column 1: interestOnMoney: 0.0005 ^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:202) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:121) at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111) at de.hotmail.gurkilein.bankcraft.ConfigurationHandler.getString(ConfigurationHandler.java:75) at de.hotmail.gurkilein.bankcraft.Bankcraft.onEnable(Bankcraft.java:57) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: while scanning for the next token found character '\t' that cannot start any token in "<string>", line 5, column 1: interestOnMoney: 0.0005 ^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358) at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179) at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:591) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 17 more 2013-02-15 19:51:37 [SEVERE] [Bankcraft] Could not locate 'database.typeOfDatabase' in the config.yml inside of the Bankcraft folder! 2013-02-15 19:51:37 [SEVERE] [Bankcraft] Could not locate 'interest.timeBetweenInterestsInMinutes' in the config.yml inside of the Bankcraft folder! 2013-02-15 19:51:37 [SEVERE] Error occurred while enabling Bankcraft v2.0pre (Is it up to date?) java.lang.NumberFormatException: For input string: "errorCouldNotLocateInConfigYml" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at de.hotmail.gurkilein.bankcraft.Bankcraft.toggleTimerTask(Bankcraft.java:92) at de.hotmail.gurkilein.bankcraft.Bankcraft.onEnable(Bankcraft.java:85) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
-
View User Profile
-
Send Message
Posted Feb 14, 2013Second working alpha:
Mod remove link to unapproved file :)
-
View User Profile
-
Send Message
Posted Feb 14, 2013First working alpha:
see changelog for more details: http://dev.bukkit.org/server-mods/bankcraft/files/56-v2-0pre1/
-
View User Profile
-
Send Message
Posted Feb 14, 2013Update:
Finished the work on the listeners. Started working on the config...
-
View User Profile
-
Send Message
Posted Feb 10, 2013Update: Started to work on the listeners. I am starting to get angry on "past me" for writing such a bad code...
After finishing the work with the listeners and creating some sort of config, I will provide a first Beta. Because of my finals this week this could take some time (lets say until friday).
-
View User Profile
-
Send Message
Posted Feb 10, 2013Update: Finished Interests (at least the basics)
-
View User Profile
-
Send Message
Posted Feb 10, 2013Nice cant wait to test it.
-
View User Profile
-
Send Message
Posted Feb 8, 2013Update:
I finished the whole banking part as well as the backend part for file storage...
-
View User Profile
-
Send Message
Posted Feb 7, 2013After hours of looking into my code (that i wrote like two years ago) i decided to restart this project from scratch.
Iam going to build this whole thing way more systematic this time to make future updates as easy as possible.
I am setting myself a deadline until Friday night (which would be tomorrow) to get a first version out. This version will not feature everything that is in the current build but ill try to make it as bugfree as possible.
This is a lot of work I am going to put in this project so I would appreciate every help possible. Iam not gonna include mysql support for now as this kind of ruined the last build. I will however try to add this in the near future.
-
View User Profile
-
Send Message
Posted Jan 20, 2013Please Update
-
View User Profile
-
Send Message
Posted Dec 16, 2012when the balance goes over 10000000, it turns like
1.049732E7
please change the data type ..
-
View User Profile
-
Send Message
Posted Dec 14, 2012@Gurke1993
I can host you a small test server with mysql if it'll help with plugin dev. Let me know.
-
View User Profile
-
Send Message
Posted Dec 13, 2012Hi, can we have an update for 1.4.5 please? Thanks. Great plugin!
-
View User Profile
-
Send Message
Posted Dec 12, 2012Did the latest version of vault kill this plugin?
-
View User Profile
-
Send Message
Posted Dec 9, 201209.12 02:36:59 [Server] INFO Caused by: java.lang.NullPointerException
09.12 02:36:59 [Server] INFO at java.lang.Thread.run(Thread.java:722)
09.12 02:36:59 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
09.12 02:36:59 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
09.12 02:36:59 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
09.12 02:36:59 [Server] SEVERE org.apache.commons.lang.UnhandledException Plugin Bankcraft v1.5pre generated an exception while executing task 47
09.12 02:36:59 [Server] SEVERE Exception in thread "pool-1-thread-228"
-
View User Profile
-
Send Message
Posted Dec 6, 2012Weird bug: When someone takes up a loan they lose their rank. making them "rankless" I'm using Pex