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. He should add on main page something like that:

    This plugin is not working with iConomy 6 at the moment, and even with iConomy 5 it's buggy and bank interest does not work correctly on servers supporting beta 1.8.1
     
  3. Offline

    Deathlysteve-

    thanks for updating to 1.8... oh wait...
     
  4. Offline

    Seta

    guys... firstly dont always say "please update to 1.8" it works perfekt for me in 1.8. I think you all just updated iConomy...

    @ItsQ, i think i will never change to iConomy 5 myself, so dont be afraid ;)
    And yeah, NPCs are still missing, but hey, have you seen some in youre 1.8 world? :p

    EDIT// going to fix that shit now :p
     
  5. Offline

    Deathlysteve-

    sos there is no way ever that this will be compatible with iConomy 6? -.-
     
  6. Offline

    tom

  7. Offline

    bob3695

    http://dl.dropbox.com/u/1444082/DirectBankX.jar

    That version runs with Register so it will run on any economy that Register supports as of today. I do not plan on taking over this project in anyway, I just built this for my server and figured I'd share it so everyone can enjoy this. It was also built on the latest RB
     
  8. Offline

    Deathlysteve-

    I officially <3 you
    yay it works
     
  9. Offline

    Seta

    cool dude ;) thx
     
  10. Offline

    bob3695

    I don't know if anyone else is running into this issue or not...regular banks seems to get stuck "being used". I think I know what it is but I'll check it out over the coming days.
     
  11. Offline

    Lehl

    @Seta got a problem with ur banks... only usable for OPs? it shouldnt be like that i guess.. but since there are no permissions for using or not using a bank only OPs can use banks.. could u fix that maybe?

    edit: also i found out ur permission nodes are not working... not even a singel one does what it should do

    edit2: and the interest isnt working properly... i set it to 10% each 30 minutes.. so 1 time i get like 2k wich is ok for 20k stored in bank.. but then 30 minutes later i only get like 600 and i didnt withdrawed anything...

    @bob3695

    i know this issue.. it happens if a non op player using the sign . its getting stucked in sign is in use till u reload the server... thats why im asking for a fix aswell
     
  12. Offline

    bob3695

    For those of you that want to see the source I am working with. Basically the same as the original except the addition of Register.

    Edit:

    https://github.com/bob3695/DirectBank

    Guess you might want that
     
  13. Offline

    Seta

    Oh... yeah thats a part didnt get back from 0.9x to the dev version... -.-
    Would you mind if i take youre Source? i really get stucked with Register, but youre integration seems to work very well!

    @Lehl im pretty sure you didnt set Permissions=true in youre config, did you?
    May this is the answer for problem 1 and 2

    If i am wrong, maybe you look at the wrong Permissions? For the dev version (also bobs is the dev) use the permissions here pls

    The Interests yeah ... i have similar issues on my server... im going to redo that with a other technik.

    To Problem 4, its fixed now. Look forward to tommorow or later today for a release. (Im going to fix some more stuff b4)

    Released 0.9.4 its basicly bob3695 Version with my latest fixes in it. Please Report any bugs

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

    fengji8868

    It doesn't work with my 1.8 bukkit server. It's not loaded...i cannot see it on my cmd prompt
    Also do we have to do anything with the 4mb jar?or is it just the biggest plugin ever?
    please help! thanks
     
  15. Offline

    ProG28

    I have this problem too
     
  16. It doesn't load on 1.8.1
    I've checked why it's so big. The reason is that it has Iconomy plugins and copy of bukkit inside. For what reason, I have no idea...
     
  17. Offline

    BlancoLanda

    I fixed it for 1.8.1, it just didn't have the plugin.yml in the JAR so I added it:

    It's working for me now :) Forget it, I added the plugin.yml to the .jar but now gives this error:

    Code:
    22:12:16 [GRAVE] Could not load 'plugins\DirectBank.jar' in folder 'plugins':
    java.lang.ClassNotFoundException: ch.seta.directbank.DirectBankX
            at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:264)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:168)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:215)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:136)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:104)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:52)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  18. Offline

    robxu9

    aye, having problems with 0.9.4 too :(
     
  19. Offline

    bob3695

    Are you using the latest version?

    This doesn't help us fix the problem...what exactly is happening?
     
    Last edited by a moderator: Nov 12, 2016
  20. Offline

    BlancoLanda

    @bob3695 Yes, I am, but the last version didn't include the plugin.yml file so I had to add it to the .jar . When enabled, the "sign" bank is created successfully but when you punch it, it gives the error I gave you!
     
  21. Offline

    Lehl

    @Seta thanks that link solved the permissions problem.. seems like i didnt found it the first time another problem is sometimes the interest stuff spits errors.. but well it works anywaysxD thanks for the help and nice plugin
     
  22. Offline

    BlancoLanda

    Where can I get Register? I want this plugin to work with iconomy 6 :(
     
  23. Offline

    bob3695

    With Register is works perfectly with iconomy 6

    To everyone: it seems the link in the OP has a jar that only contains the dependencies for some reason. Until @Seta fixes it use this link:

    http://dl.dropbox.com/u/1444082/DirectBankX.jar
     
    BlancoLanda likes this.
  24. Offline

    BlancoLanda

    @bob3695

    I downloaded the .jar from your link!

    OK, I clicked one time to the bank sign and it asked me for doing an account, it was successfully done. After, I punched the sign again and it kicked me from the game with this reason:
    [​IMG]

    What do that mean?

    EDIT: I rejoined and it's happening everytime I punch it :S It isn't working finely for me (There's not any error log from the console) only:

    Code:
    22:55:05 [INFO] BlancoLanda lost connection: disconnect.endOfStream
     
  25. Offline

    bob3695

    What version of CraftBukkit are you using?
     
  26. Offline

    BlancoLanda

  27. Offline

    bob3695

    @BlancoLanda Are you the only one having this issue on the server or is this a test server?
     
  28. Offline

    BlancoLanda

    this is my own server (home server) for testing, I'll try to join with a non-OP/Admin account and try... After I'm going to ask a friend for trying.
     
  29. Offline

    bob3695

    @BlancoLanda Ok, because I have yet to see that issue.
     
  30. Offline

    BlancoLanda

    @bob3695 Weird... I joined with another account and it worked "like 3 times", then I punched it again and kicked... Now it kicks me everytime I punch it :/

    Same error, but this time it's 25>15

    I found this in the internet:

    Probably when clicking a sign the server tries to give the player a too long message? (or vice versa)? IDK... but it's weird :S
     
  31. Offline

    bob3695

    @BlancoLanda That is very possible. I will try and replicate it later
     

Share This Page