[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

    Racha

    Can you maeke this like, you can put money in account and money gets bigger with time. :D well i am bad @ english so it is hard to explain. ;(
     
  3. Offline

    TAT

    You think on something like interest?
    Example:
    You have a rate on 1% per 5 minutes.​
    You have 200 Coins on the account.​
    Next period event (5 minutes since last update of interest)​
    You gain 200*1% = 2 Coins so you now have 202 coins on the account.​
    Next period event​
    You gain 202*1% = 2.02 Coins so you now have 204.02 coins on the account.​
     
  4. Offline

    Racha

    Yes :D Can you make something like it?
     
  5. Offline

    TAT

    I'll put it on the todo
     
  6. Offline

    parsons

    You must have read my plugin request :D! Everything I asked for was in this plugin. Thank you very much!
     
  7. Offline

    Racha

    @TAT maybe you can make this - admin makes a place - bank, and oly in that zone people can deposit? It could be cool :) Admins could make bank like Global or In Bank :D ^^
     
  8. Offline

    TAT

    It is :D I'm open for new features, if you find out that something is missing :)
    I will try getting some ideas to make something like this :)
     
  9. Offline

    Racha

    Ok i will wait :p Because it could be very cool if you do that :) I Really need it :D
     
  10. Offline

    TAT

    Wonderful, the extern hard drive where all my coding is stopped working yesterday.
    Good thing I have the coding on Github.

    Note to myself, remember to have an backup outside the extern :p
     
  11. Offline

    parsons

    I am glad someone liked it enough!

    Do you think you could add support for sqlite possibly?
     
  12. Offline

    TAT

    Yeah, I will see what I can do :)
     
  13. Offline

    Phanku

    Any chance on documentation on how to use this plugin?
    As in the commands.
     
  14. Offline

    TAT

  15. Offline

    _andy

    This looks rather interesting. Any chance of integrating loans into this somehow?
     
  16. Offline

    captainbinary

    This seems like a wonderful plugin! I will be using this when it is more developed.
     
  17. Offline

    Juze

    1% every 5 minutes... seems a lot. Could you perhaps also add a configuration to that in your todo list?
     
  18. Offline

    Xylogeist

    This would be neat with banker NPC's... people really need to get off the text-based plugins, lol.
     
  19. Offline

    RaymanMaik

    Does this have Permissions support?
     
  20. Offline

    TAT

    There will be configuration for this.
    It would be a bit difficult, since they can't talk and there isn't an item for coins.
    Until next version is out, there is no need for any admin checkup.
    In the next version, there will be support for both OP and Permissions.
    [MERGETIME="1299618482"][/MERGETIME]
    I can't figure out how this should work.
    How have you thought loan should work? (Open question for all)
     
  21. Offline

    moemoe760

    mysql-table=bankaccounts

    theres no sql file to make this.
    Could you make an sql or tell us the info we need to create the table ourselves?
     
  22. Offline

    dpswt

    Well I don't know much about economy but I guess you could make it so people would loan an X amount of currency from the bank with an Y interest rate.
    Now the payment might be a little more tricky, so it depends if you can make it configurable or not... So lets say you have to pay back in 3 days, you could make it in a way that in each day it would take from that person currency 1/3 of the loan value + interest. If you can make it like this, in a way that we could choose how many days, the interest rate etc it would be quite nice.
    But in a case where the said person doesn't have money to pay back I guess the currency could turn negative? And if the currency turned negative, the said person would not be able to take any more loans until it's currency balance becomes positive again?
    I'm not sure if this is all possible, just throwing out ideas ahah.

    Anyway, this bank idea is quite useful to me so thanks for your nice work ;)
     
  23. Offline

    TAT

    The sql can be found at GitHub.
    Code:
    CREATE TABLE `bankaccounts` (
      `id` INT( 255 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
      `accountname` VARCHAR( 255 ) NOT NULL ,
      `players` LONGTEXT NOT NULL,
      `password` VARCHAR( 255 ) NULL DEFAULT '',
      `amount` INT( 255 ) NOT NULL DEFAULT '0'
    )
    [MERGETIME="1299660947"][/MERGETIME]
    What if the player just keep taking loans to buy something expensive and never pays back?
    Anyway, I'll look at it so all the servers that want it.

    Sorry, it is taking so long before v.0.3 is out, but I want to pack as much new in it as possible.
     
  24. Offline

    _andy

    I was thinking something similar to dpswt. Perhaps to prevent abuse, you must pay back your current loan before being able to take out another. 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?
     
  25. Offline

    Mania_C

    How do i connect to an external Mysql? I've tried to change the settings in bankaccounts.properties with no success :\
     
  26. Offline

    woodzy

    umm maby u could put the commands in ur post plugin maker.
     
  27. Offline

    TAT

    Then the question will be, what are items worth?
    Please post your config (remember to hide your password ;) )
    Commands now shown in opening post.
     
  28. Offline

    woodzy

  29. Offline

    Mania_C

    No need to, i got tired of trying so i installed mysql on the pc X)
     
  30. Offline

    TAT

    Fair :)
    Just tried with a local server connecting to an external mysql server.
    Result: working (when there is connection)
    I'm sitting at school and their internet connection is not always the fastest ;)
     

Share This Page