Inactive [ECO] DirectBank v0.9.5 - Now with: Shared Accounts and Donation Signs [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Seta, Aug 11, 2011.

  1. Offline

    Seta

    [​IMG]
    V 0.9.5 - by SeTa

    I am happy so many of you liked my plugins, but im sorry to say there will be no updates (like many of you already thought). I dont have the time any more to update this (and other) plugins on that regular bases as bukkit requires one to update. Keep in mind that the source is included in the jar and everybody who wants to take it over is very welcome (my source is a mess btw)

    DirectBank is a hopefully simple to use Banking Plugin for youre Server. The Whole Banking Stuff is done trough ATMs (Signs) in Varius Types. Now you also can create Shared Bank Accounts (requires a License) but read down the thread to find out more ;)

    Features:
    • No Commands in Normal use, just place a Sign with first line: "bank"
    • Withdraw, Deposit or Send Money
    • Some Permissions to make it more flexible
    • Shared Accounts (with Different User Rights!)
    • Multilingual ! (sry old Language files are not compactible)
    • Configurable Starting Balance
    • Donation Signs
    • Register! (Works with all Major iConomy Plugins, thx @bob3695 for implementing this)
    • Get configurable fees for Withdraw, Deposit and Sending.
    • Configurable interests at configurable times (per Hours, or per Day) *works but seems buggy*
    Bank Sign:
    Simple Bank, users can view there Account stats, or deposit/withdraw/send Money.
    Place a sign and if you are OP or have the permission node (see below), write the first line "bank".
    Thats all. To remove it, just break it.

    [​IMG]

    License Sign *new*:
    With License Signs you can sell licenses for User owned Banks / shared Accounts directly ingame. Each now Shared Bank needs 1 License to start!

    Simple write license into the first line (you need the Permission or OP)

    Shared Bank Sign *new*:
    Shared Banks are a simple way to Handle Money within a Group. They are very similar to Normal Bank Signs except 2 differencies:
    1. Its only 1 Bank Account they use
    2. They have a User Menu.
    To create one write sbank in the first line, and youre Banks name into the Second.
    You can make more than one Sign per Bank, only the first needs a License.

    Shared Bank User Menu *new*:
    I think this is the most complicated part of the whole Plugin, but its pretty easy too ;D
    There are 4 User Modes:
    • @ Owner - Can add all Modes and can Remove / Create Signs
    • + Admin - Can add Full Access and Donate Only User and can Remove / Create Signs
    • - Full Access - Can Access the whole Banking Stuff (Deposit, Withdraw, Send)
    • Donate Only - Only can Donate Money
    Add User like: @kingseta or +kingseta. As special User you have ALL Just add ALL to youre User list, and everybody can donate. or -ALL and everybody has full access.

    Donation Sign *new*:
    This is the most simple. Just make sure you have an Bank Account then place a sign and write donate into the first line. Thats it, you've created a sign everybody can easily donate you some Money :D

    Use a Sign:
    Just Punch it, most stuff is self explanatory. If the Sign asks you to input something just write it into the Chat ;)

    Fees:
    You can take fees from your Bank-users. They are fully configureable like you will see in the Configuration file below. But where does the Money get? :confused:
    Answer: Theres a new iConomy Account called "ServerBank". You can use iConomy to take the money, may i implement something more DirectBank'y ^^

    Configuration (open)

    Configuration:
    Code:
    #DirectBankX Config file
    #Sat Oct 08 01:38:53 CEST 2011
    lastinterest=0 # leave this
    oldprefix=Bank_ # change this for upgrading from versions below 9.2
    enable_donatesign=true # ^^
    withdraw_fee=1% # numbers or %
    tag_license=&b~&aLicense&b~ # Sign Tag
    deposit_fee=1% # numbers or %
    mainworld=world # im not sure if im using this Oo
    enable_sharedsign=true # ^^
    tag_bank=&a~&bBank&a~ # Sign Tag
    permissions=false # put this to false if you wish to use permissions
    interestminutes=30 # how often do you wish interests?
    enable_licensesign=true # ^^
    enable_chestsign=true # sry not used :P
    interest=1.15 # in %
    tag_donate=&a~&eDonate&a~ # Sign Tag
    language=en # language file to use located in DirectBankX/lang
    enable_interest=true # may you dont want youre players to get richer and richer?
    startamount=50
    send_fee=1 # here you can see a numbered value without %
    licensecost=2000 # how much should it cost to buy a license?
    
    ScreenShot (open)
    [​IMG]


    [Download] - Older Versions - buy me a cake [cake]
    Source included. Open Source ftw :D

    Commands:
    • /bank reload
    • /bank license take/give/info USERNAME
    Permissions:
    Dont they explain there self?
    • directbank.admin
      • directbank.bank.create
      • directbank.reload
      • directbank.license.create
    • directbank.user
      • directbank.shared.create
      • directbank.shared.use
      • directbank.donate.create
      • directbank.donate.use
    Simpliest way is to give all Youre Users directbank.user and the Mods directbank.admin

    Future:
    • NPCs! (with 1.8 update! :D)
    • Donation Signs
    • Finally fix the Interest Loop -.-
    • Gold Banking (buy/sell gold to a dynamic price)
    • Chest Banking
    • anything else?
    Changelog:
    • V 0.9.5 0.9.4 was a crap build -.-
    • V 0.9.4 Bugfix and:
      • Register is now Integrated! Big thx to @bob3695
    • V 0.9.3 Recode, now Version now Bugs? ^^
    • V 0.9.2 Added License / Donation / Shared Banks :confused:
    • V 0.9.1 Bug fix :confused:
    • V 0.9 Some small stuff
      • All Money interactions will now get shown in the Log
      • There is an "maxinterest" configuration
      • And a /bankreload command, to reload the config
    • V 0.8 Added "inUse" control. (thx @Silentnight18 ) Signs are dedicated to the user who uses them first until they leave
    • V 0.7 Added new Stuff :D
      • Configurable fees (see example config file above) Accepts also %!
      • Tell online Users about money arrivements
      • Sry this taked so long :/ H: and K: are now variable in Language file!
    • V 0.6 Negative Amount bug fix (thx @AdamS )
    • V 0.5 Important Bug fix! Please upgrade! (thx @alfskan )
    • V 0.4 Little Bug fix
    • V 0.3 Added Money transactions
    • V 0.2 Added Interest per Hour & Starting Balance
    • V 0.1 Release (stable)
     
    Karlkorv, BastiDE, AdamS and 2 others like this.
  2. Offline

    deathnote1029

    I have been having the same problem with the server i'm hosting.
    When myself or an opped player places a bank sign, they can use it but when a nonopped player clicks the sign nothing happens but if myself or an opped player places a bank sign and uses it and then right clicks to reset the sign, when a non opped player comes along it says "sign is in use" but i reset it by right clicking?
    here's my config file
    #DirectBankX Config file
    #Wed Oct 12 06:06:48 GMT 2011
    lastinterest=0
    oldprefix=Bank_
    enable_donatesign=true
    withdraw_fee=1%
    tag_license=&b~&aLicense&b~
    deposit_fee=5%
    mainworld=world
    enable_sharedsign=true
    tag_bank=&a~&bBank&a~
    permissions=true
    interestminutes=180
    enable_licensesign=true
    enable_chestsign=false
    interest=.25
    tag_donate=&a~&eDonate&a~
    language=en
    enable_interest=true
    startamount=50
    send_fee=1
    licensecost=2000

    Hopefully we can find a fix to this asap as this is probably the best bank ive found with shared banking etc, any help appreciated :D
     
  3. Offline

    Simon13

    When are you getting your super bank plugin on?
     
  4. It is possible to make it compatible with Towny?, That rates be charged our bank account, because now the day rates charged bythe Towny, if we have money with you, even if we have enough in our bank account, does not catch money from the account ...

    Sorry for my English:)

    A greeting.
     
  5. Offline

    nicquehen


    same problem here :)

    Please update.
     
  6. Offline

    Drehverschluss

    This plugin is awesome..ty i got it to run now on my server ;)
     
  7. bank with working interest is the most requested feature on my server. Too bad this plugins seems to be abandoned for a good while now :(.
     
  8. Offline

    newsonandco

    Hi

    I have installed directbank and i have iconomy installed but i also have essentails installed.

    When i startup the server it says for directbank that "payment method found (Essentails version 2.2)

    How do i get this to use iconomy.

    Thanks Luke.

    Also do the users have to be online to get interest.

    Thanks again luke.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  9. Offline

    Simon13

    Any thougts of updating the plugin?
     
  10. Offline

    lilfiend

    I love this plugin, and am very happy it is still working as of 1337 but would you please continue to update it? My server would suffer greatly if you didn't.
     
  11. Offline

    Drehverschluss

    did you work any time on this plugin again?
    its not really good working on CB#1337 it work but somtimes crashs and lag the server!
     
  12. Offline

    kripts

    Brilliant plugin totally changed my server, Will be hoping it will work fully on 1.0.0
     
  13. Offline

    kalez

    I have the interest time set to 120 minutes, but I keep getting:

    2011-11-23 21:04:41 [INFO] [Bank] interest Time!
    2011-11-23 21:04:41 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: ServerBank
    2011-11-23 21:04:50 [INFO] [Bank] Its time for Interests!
    2011-11-23 21:04:50 [INFO] [Bank] interest Time!
    2011-11-23 21:04:50 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: ServerBank
    2011-11-23 21:06:14 [INFO] [Bank] Its time for Interests!
    2011-11-23 21:06:14 [INFO] [Bank] interest Time!
    2011-11-23 21:06:14 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: ServerBank

    and sometimes ServerBank will be replaced with someones name who has an account. And i have completely reinstalled this plugin twice trying to fix it.

    0.9.5
    1337
     
  14. Offline

    Drehverschluss

    for me the last version just crahed my server everytime when i try to use it
     
  15. Offline

    kripts

    I get this too, I think its because I have something that stops them from getting interest while they are offline, or maybe its just a bug?
     
  16. Offline

    kalez

    I'm assuming a bug, because the first time it happened, it was just me and another op, and it was his name showing there instead of ServerBank

    Edit: havent changed anything, but now im suddenly starting to see this every time it tries to calc interest:

    2011-11-25 20:11:34 [INFO] [Bank] interest Time!
    2011-11-25 20:11:34 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: ServerBank
    2011-11-25 20:11:34 [SEVERE] Exception in thread "Thread-72440"
    2011-11-25 20:11:34 [SEVERE] java.util.NoSuchElementException: Hashtable Enumerator
    2011-11-25 20:11:34 [SEVERE] at java.util.Hashtable$Enumerator.nextElement(Unknown Source)
    2011-11-25 20:11:34 [SEVERE] at ch.seta.directbank.InterestLoop.calcInterest(InterestLoop.java:71)
    2011-11-25 20:11:34 [SEVERE] at ch.seta.directbank.InterestLoop.startSleeper(InterestLoop.java:38)
    2011-11-25 20:11:34 [SEVERE] at ch.seta.directbank.InterestLoop.run(InterestLoop.java:30)
     
  17. Offline

    kripts

    I can't really help you sorry, I can just hope it gets fixed if/when the plugin gets updated
     
  18. Offline

    Drehverschluss

    i dont think this plugin ever get updated....
     
  19. Offline

    kalez

    Need this plugin to update! None of the other bank plugins have what we need!

    :(
     
  20. Offline

    Seta

    May i should put a word @ here...

    I have no idea why, but the damn Interest thing always gave me problems... It seems that if you put them off, the plugin works just fine (atleast for me).

    I dont plan any updates atm, becouse im kind of to busy, sry....
    Anybody can take the source and try his best. If you get it working, you can inform me and i will make it aviable on here. If you want you can even clone my whole plugin and startup on bukkitdev :3

    whatevery... have fun ;)
     
  21. Offline

    mmuziek

    i get errors
    21.12 11:59:39 [Server] INFO [BANK] Something went wrong in the Interests Thread -.- User: ikefi
     
  22. Offline

    Seta

    I forgot to say something, it should not depend on if the user is off or online. Can somebody prove that this only happends with offline user?

    There are many Users still using this or? ^^
    Please Report youre Errors!!! Add all the information i might like to know, bukkit versions etc...
     
  23. Offline

    catboy5

    When i destroy a bank sign this error comes:
    Code:
    18:33:21 [SEVERE] Could not pass event BLOCK_BREAK to DirectBankX
    java.lang.ArrayIndexOutOfBoundsException: 1
            at ch.seta.directbank.bListener.onBlockBreak(bListener.java:99)
            at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.j
    ava:539)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:201
    )
            at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:165
    )
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:501)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  24. Offline

    kripts

    I get the Interest error now, It seems to work for somepeople though:

    Bukkit Version: Craftbukkit version git-Bukkit-1.0.1-R1-10-g8677bb9-b1609jnks (MC: 1.0.1) (Implementing API version 1.0.1-R2-SNAPSHOT)

    Permissions: Pex

    Log:
    2011-12-27 17:39:45 [INFO] [Bank] Its time for Interests!
    2011-12-27 17:39:45 [INFO] [Bank] interest Time!
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: slapo789
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: clover38
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: ccolinn
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: SparkyLLK
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: ServerBank
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: Black1ce
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: fraserlewis
    2011-12-27 17:39:45 [INFO] [Bank] Staff gets 142.632944388915
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: SirCeehE
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: xXsweXx
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: SgtDangleBERRY
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: mholeys
    2011-12-27 17:39:45 [INFO] [Bank] Leigence gets 0.5339211456641985
    2011-12-27 17:39:45 [INFO] [Bank] kirkok gets 0.0
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: sepry
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: Kripts
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: jackion
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: gregr27
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: Xx2man
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: TheGoryPenguin13
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: CyanideAndSoup
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: ceejay31
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: rubicon411
    2011-12-27 17:39:45 [INFO] [Bank] loadedjellyfish gets 0.14346733902302763
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: xXemokiddieXx
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: 12beast12
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: Space_Ghoul
    2011-12-27 17:39:45 [INFO] [BANK] Something went wrong in the Interests Thread -.- User: death_eater_5

    Anything else you need just ask.
     
  25. Offline

    Paulifan1000

    How i can make a Bank account? It's a nice Plugin
     
  26. Offline

    Karlkorv

    UPDATE *clapclapclap* UPDATE *clapclapclap*
     
  27. Offline

    Doggernaut

    How i can see how many Money i have on my konto? :D
     
  28. Offline

    lilfiend

    So has this updated? it is one of the major plugins I use in my server. If it didn't could you release the source?
     
  29. Offline

    Doggernaut

    How i can see how many Money i have on my konto? :D
    and how i can change to deposit i allways withdraw. :(
    it's a nice Plugin xD
     
  30. Offline

    kaiser_czar

    I have two errors here.

    As posted above, this occurs whenever you break a bank-related sign:
    Show Spoiler
    PHP:
    2012-01-06 18:29:39 [SEVERECould not pass event BLOCK_BREAK to DirectBankX
    java
    .lang.ArrayIndexOutOfBoundsException1
        at ch
    .seta.directbank.bListener.onBlockBreak(bListener.java:99)
        
    at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:539)
        
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        
    at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:201)
        
    at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:165)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:501)
        
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:208)
        
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
        
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
        
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
        
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)


    I also get this error when I tried to create a shared bank sign:
    Show Spoiler
    PHP:
    2012-01-06 18:28:53 [SEVERECould not pass event SIGN_CHANGE to DirectBankX
    java
    .lang.NullPointerException
        at ch
    .seta.directbank.Accounts.isOwner(Accounts.java:67)
        
    at ch.seta.directbank.bListener.onSignChange(bListener.java:47)
        
    at org.bukkit.plugin.java.JavaPluginLoader$36.execute(JavaPluginLoader.java:511)
        
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1068)
        
    at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
        
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
        
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
        
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)


    This is indeed impressive, and I feel it would be a valuable addition to what I'm planning. Any word on when you might have an update?
     
  31. Offline

    Seta

    [UPDATE]
    Ok i tested it, i found the only "new" problem is all that register stuff... i never did understand how that should work, but there was no other way to get it work with iConomy 6. So a user from here hacked to support in... THAT was broken... F**k off Register... Now im using Vault ftw!!!

    You may need Vault installed...
    Please tell me if its working!
     

Share This Page