[INACTIVE][ECON] BankAccount v.0.5.1 - Shared Bank Accounts [860]

Discussion in 'Inactive/Unsupported Plugins' started by TAT, Mar 4, 2011.

  1. Offline

    TAT

    [​IMG]BankAccount v0.5.1
    IRC @ irc.esper.net/#BankAccount
    Donate
    Credits:
    Team: TAT

    Download 0.5.1 (JAR, TAR.GZ, ZIP)
    Earlier versions: 0.2-0.5
    Source Code @ Github

    BankAccount enables the players to open shared bank accounts with each other.
    The players with access to an account can deposit, withdraw and transfer money.

    Searching for coders and testers
    If you are interested in code and/or test BankAccount, please send a PM to TAT.

    Error reporting and feature requests
    Please use our Redmine system for this: http://redmine.earthgame.dk
    Requirements (open)

    • iConomy, BOSEconomy or Essentials Economy
    • mysql-connector-java-bin (Found here) (NOTE: must be included to Java ext folder - instructions included in Readme)
    • sqlitejdbc-v056 (Found here) (NOTE: must be included to Java ext folder - instructions included in Readme)
    Features (open)

    • Open a shared bank account between each other
    • Deposit/withdraw money between economy account and shared bank account
    • Transfer money between shared bank accounts
    • Password protect shared bank accounts (Case-sensitive)
    • Amounts on accounts can gain interest over time
    • Use commands global or in bank areas
    • Loan system
    Todo (open)

    • NPC??? (Perhaps)
    Permissions Nodes (open)
    Commands (open)
    Admin commands
    • /account help [page]
    • /account open <accountname> [players]
    • /account info <accountname>
    • /account list
    • /account balance <accountname>
    • /account adduser <accountname> <player>
    • /account removeuser <accountname> <player>
    • /account password <accountname> [password]
    • /account deposit <accountname> <amount>
    • /account withdraw <accountname> <amount> [password]
    • /account transfer <from account> <to account> <amount> [password]
    • /account loan <amount>
    • /account pay <amount>
    • /account close <accountname> [password]
    • /account select
    • /account setarea <areaname>
    • /account removearea <areaname>
    Documentation @ GitHub
    Howto videos (open)
    Basic Setup (open)
    MySQL Setup (open)
    Area Setup (open)
    Features planned for next release (open)

    • Separate banks with separate accounts (like in reality) [option]
    Changelog (open)
    Version 0.5.1
    • Added permissionnode for list command (Included in basic permission)
    • Added possibility to disable interest and loan debug output
    • Accounts no longer case-sensitive
    • Code clean-up
    • Changed to use Register [GitHub Commit: 2071011cca5d89940f310dc39273be8bb7e517bc]
      • Now supports following economy plugins (iConomy preferred)
        • iConomy 4
        • iConomy 5
        • BOSEconomy
        • Essentials Economy
    • Updated to CraftBukkit #860
    • Removed response to multiple banks config
    • API changes
    Full changelog
     
    NEO and artimas22 like this.
  2. Offline

    Forecaster

    I'd like the option to set a global (and per bank, when this is implemented) limit on accounts for how much money they can contain.

    And a limit on how many accounts a player can have at any one time. (This could also be per bank.)
     
  3. Offline

    NEO

    @TAT

    Confirmed not working properly on CB 733 and 740

    Is there any work being done on this? Ive been watching your github patiently waiting for an update and haven't seen any recent changes. It would be nice to know some progress is being put towards a build working with 733+
     
  4. Offline

    TAT

    Yes, there will be an update but there is a lot of rush in my life at the moment.
    I'm sorry it's taking so long, I will see if I can make a bit of work now and later this week.
     
  5. Offline

    xlilcasper

    There is a bad bad bug. You can deposit a negative amount and you get the money for it.
     
  6. Offline

    Joy

    This indeed, pretty useless atm :p
     
  7. Offline

    TAT

    Version 0.5 out!

    NOTE: Please read Upgrade 0.4 - 0.5.txt when upgrading
    Changes to config, view the new config file here.

    Changelog:
    • Fixed basic permissionnode
    • Fixed not showing all commands in help
    • Fixed lookup for access when using SuperAdmin
    • Added command to list accounts
    • Added setting for let players deposit to all accounts
    • Added API informations
    • Added NPClib for future NPC support
    • Added account access
      • Owners: All access
      • Users: Deposit, balance and info only
    • Do no longer look for unused plugins
    • Now subtract money from iConomy when manual payment is used
    • Cleanup in config to make it (hopefully) more simple
      • SQL-tables grouped
      • Permissions grouped
      • Global replaced by Areas
    • Updated to CraftBukkit #740 (Hopefully)
     
  8. Offline

    tha d0ctor

    awesome, thank you so much, can't wait to get out of work to update my server!
     
  9. Offline

    Damien711

    The download link for version 0.5 isn't working for me. Please fix.
     
  10. Offline

    ClickCraft

    When someone tries to create an account '/account open'
    Gives the following error in console:


    [WARNING] [BankAccount ] Error #02-2: table bankaccounts has no column named players

    What should I do to fix?

    Thanks.
     
  11. Offline

    TAT

    Please redownload
     
  12. Offline

    Forecaster

    How about a notification to all members of an account when money gets deposited or withdrawn?
     
  13. Offline

    GmK

    @TAT Fantastic! Before I put it on the server again - what is the current status of loans? Working yet or still a risk for any economy? ;)

    Also, a (hopefully minor) feature request:

    Can you add a 'Cost of Transfer' variable? Meaning - any payment into your account costs a specified amount, or even a % of the amount you put in.
    Also turned around: If you withdraw money from an account, the bank takes a transfer fee.

    This would highly increase realism and also help me on the PvP Server, as I do not want people to simply put all their money in the bank for free, makes them less interesting targets (You get a % of their money when you kill them).

    And one last thing: Will you update to iConomy 5.0 at some point? I hope it doesnt conflict, as I really prefer your plugin. There will be a time where most people have to update, as all their iConomy plugins update to 5.0 as well.
     
  14. Offline

    Toothless

    Cool plugin
     
  15. Offline

    tha d0ctor

    is anyone else having problem getting permissions to work with essentials group manager..??
     
  16. Offline

    Joy

    15:16:26 [WARNING] [BankAccount] Error #02-2: Field 'users' doesn't have a default value

    with latest + mysql.
     
  17. Offline

    TAT

    If I decide to continue to iConomy 5.0, that could be a possibility
    The loans are fixed :)
    If I decide to continue to iConomy 5.0, that could be a possibility
    At the moment, I'm not sure since iConomy 5.0 got banks integrated and already got a lot of the functions that BankAccount have.
    Perhaps it helps to enable permissions to (not download it, but just set it to true at the same time as GroupManager is set to true)
    Try redownload, as I have uploaded an fix for this
     
  18. Offline

    Forecaster

    iConomy doesn't appear to have bank areas. >:

    It does have the "cutoff" function that I requested ;)

    But their command system is difficult to figure out. And most of the commands are only listed in-game.

    Plus I cant figure out how to put money in the account. >:
     
  19. Offline

    ClickCraft

    A new error happened after I downloaded the 0.5 version fixed:

    [WARNING] [BankAccount] Error #02-2: bankaccounts.users may not be NULL

    happens when I do '/account open'
    :X
     
  20. Offline

    tha d0ctor

    Doesn't work even if I set both to true... :/

    it used to work when it was just permission support and essential's fake permissions would hook right in, now not so much
     
  21. Offline

    Bharel

    I still have this problem: [WARNING] [BankAccount] Error #02-2: Field 'users' doesn't have a default value
    I did re-download. Any solution?
     
  22. Offline

    ValBGaming

    Frankly I'm not quite sure whats going on...

    CraftBukkit #740
    BankAccount version 0.5
    Using MySQL
    Windows 7
    x86
    Code:
    17:05:58 [INFO] BankAccount version 0.5 is enabled!
    17:05:58 [INFO] [BankAccount] Config file found!
    17:05:58 [INFO] [BankAccount] Properties Loaded
    17:05:58 [INFO] [BankAccount] Connected to MySQL
    17:05:58 [WARNING] [BankAccount] Created table banks
    17:05:58 [WARNING] [BankAccount] Failed to find and create table banks
    17:05:58 [INFO] [BankAccount] Disabled multiple banks!
    17:05:58 [WARNING] [BankAccount] java.sql.SQLException: Can not issue empty query.
    17:05:58 [INFO] [BankAccount] Shuting down
    17:05:58 [INFO] BankAccount is disabled!
    17:05:58 [INFO] [BankAccount] Established connection with GroupManager!
    17:06:01 [WARNING] [BankAccount] Error #11-2: Unknown column 'remaining' in 'field list'
    17:06:01 [INFO] [BankAccount] Running interest every 10 minutes by 0.05%
    17:06:01 [INFO] [BankAccount] Established connection with iConomy!
     
  23. Offline

    DaddyCool64

    I get this error:
    Code:
    2011-05-05 03:56:56 [SEVERE] Could not load 'plugins/BankAccount.jar' in folder 'plugins': 
    java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:138)
     at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
     at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NoSuchMethodError: org.martin.bukkit.npclib.NPCManager.<init>(Ldk/earthgame/TAT/BankAccount/BankAccount;)V
     at dk.earthgame.TAT.BankAccount.BankAccount.<init>(BankAccount.java:107)
     ... 13 more
    Update from BankAccount 0.4 to 0.5
    CB 740
    Permissions 4.6.5

    SQLUpgrade05 in Folder BankAccount exist, but don't work

    0.4 works fine, so i take this.

    Sorry for my bad english
     
  24. Offline

    MuttsNuts

    Hello. I've got an idea for the loans aspect of things.

    Basically most plugin developers that have loan systems don't know how to force players to pay back monies owed when it's due.
    Maybe this would work though... I use this jail plugin on my server (one of the best ones I've found) http://forums.bukkit.org/threads/admn-jail-v0-6-1-jail-bad-players-714.1912/. Maybe you could make it send any players that don't pay back due loans on time go to jail automatically for a configurable amount of time.
    It could also release them after they've served the time and then they could have another chance to pay the loan back within a set time before getting sent to jail once again but with a longer sentance.
    I will also send this idea to matejdro, the jail plugin developer and see what he thinks also.

    Thank you for a brilliant plugin btw.
     
  25. Offline

    NEO

    @TAT

    Getting this on restart, ive followed the readme and have the mysql and sqlite connectors in my java ext/ folder.

    Code:
    2011-05-05 05:51:22 [INFO] BankAccount version 0.5 is enabled!
    2011-05-05 05:51:22 [INFO] [BankAccount] Config file found!
    2011-05-05 05:51:22 [INFO] [BankAccount] Properties Loaded
    2011-05-05 05:51:23 [INFO] [BankAccount] Connected to SQLite
    2011-05-05 05:51:23 [WARNING] [BankAccount] Failed to find and create table banks
    2011-05-05 05:51:23 [INFO] [BankAccount] Disabled multiple banks!
    2011-05-05 05:51:23 [WARNING] [BankAccount] java.sql.SQLException: not an error
    2011-05-05 05:51:23 [INFO] [BankAccount] Shuting down
    2011-05-05 05:51:23 [INFO] BankAccount is disabled!
     
  26. Offline

    GmK

    @TAT

    Damn, most other plugins are updating to support iConomy 5.0 and not make two versions :( Could you take a peek if the API change is a too big effort to make? I really prefer the feature set of this Bank plugin, the default one in iConomy 5.0 is....bad.

    @MuttsNuts

    Absolutely fantastic idea!
    Btw, what happens when you set an automatic payback rate, and people dont pay? Does it take their money until they go into negative? What actually happens when the loans arent paid back? Anyone tested?
     
  27. Offline

    ClickCraft

    Please, iConomey 5 :X
    I NEED THIS BANK!
    *-------*
     
  28. Offline

    MuttsNuts

    @GmK

    If they don't pay they keep going to jail. Nobody wants to spend their time on a server, not able to do anything so it's in their best interest to pay when it's due or suffer the consequences.
    There needs to be a way to freeze players accounts like in real life with an Admin command or automatically. A player doesn't pay, then his/her account gets frozen until they do pay back any outstanding payments on loans etc due.
    Obviously this is made more difficult in real life as a person has to pay hefty charges etc for late payment, being in debt etc and if you don't your account can end up being frozen, you can lose possessions/homes etc and for example, in the UK without an active bank account it's nearly impossible to get a job as nearly all employers pay direct into a bank account.

    If the players account is frozen then he/she cannot make any further purchases etc only payments to whoever is owed monies and once the debt is up to date or cleared can they then continue to make purchases etc.

    It would be nice if Admin/config file could limit the amount of on-hand monies players can carry forcing them to open a bank account to keep monies stored in.

    Hope this helps GmK.

    "If I knew anything about plugin developing and programming in general I would know what limits if any plugin developers have. I am trying to learn as would love to develop my own plugins one day but haven't a clue where to start learning and what exactly it is I need to learn to be able to make a plugin for Bukkit."

    Matejdro says: BankAccount must implement support for jail, not opposite.

    So not sure if thats because of the way the coding is done or if like some devlopers I've seen, it's a pride thing. "I don't support nobody, they must support me." lol
    As I say if I knew anything about coding etc then this would possibly make more sense to me.

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

    GmK

    Thanks for the details! I still like the sound of it. But I was also interested what *currently* happens when not having the money to pay back a loan. I never was at that situation and cant test it currently. Was merely curious :)

    Let's hope for some replies by @TAT :)
     
  30. Offline

    MuttsNuts

    @GmK Thanks!

    I get ya now (wasn't reading the message correctly. lol.
    I'm in the same situation with you atm but cannot test anything due to an issue that has occured within the last hour "an internal error occured while attempting to perform this command". This error seems to be happening with a number of different plugins including /reload all. Somebody else has just reported this too on another post which is a little coincidental.

    Anyway as you were saying about not knowing what currently happens if debts are not paid back. I'm not sure if a solution was found yet and by the looks of the changelog there hasn't been one unless it hasn't been added to the changelog yet.

    I have read on this plugin thread and a number of other threads discussing ways to handle late payments.

    This post from the first page of this thread suggests one way of handling debtors:
    Mainly the part "On the other hand, if you cannot pay back your loan after X amount of time, the bank may "repossess" a number of your items?"

    This is a very cool idea and would also like to see something like that happen but thats only good if they own anything of substantial worth as they could for example take a million coin loan and then the bank settles the loan by taking the only 2 blocks/items the player owns. These blocks/items could be anything from cobble to diamond to a single seed or sapling. It seems even with this idea in place it would still be difficult to deal with late payments hence my @TAT jail idea ;).

    @GmK Sorry I couldn't provide any more info on the current situation regarding late payments of loans.

    As you say lets wait and see what @TAT says. :)
     
  31. Offline

    Bharel

    Voting for iConomy 5 support. BankAccount has many more features, and it works...
     
    MuttsNuts likes this.

Share This Page