Inactive [ECON] YouLoan v1.1 - Loan money and pay it back with rent and day interest [Register] [1317]

Discussion in 'Inactive/Unsupported Plugins' started by jeroende2e, Sep 16, 2011.

  1. Offline

    jeroende2e

    YouLoan
    by jeroende2e

    <font color="rgb(0, 0, 0)">►</font> What is it?
    YouLoan give you the ability to loan money using Econ plugins.
    Admin's can set a rent percentage on the money players lend.
    They can also set a max on how much people can lend.
    They can set two maxes, which have different permissions.
    Players can only have one loan at a time.
    When they have paid there last loan they can get a new one.
    Every day there will be interest. also configurable.

    <font color="rgb(255, 0, 0)">IMPORTANT</font>
    <font color="rgb(255, 0, 0)">if You used 1.0 and updated 1.1,</font>
    <font color="rgb(255, 0, 0)">people who where loaning money at that point won't get Day Intrest.</font>
    <font color="rgb(255, 0, 0)">They either need to to pay there loaned money back to get day interest again, or youw ould have to modify the data.yml file.</font>

    I changed the name cause im in the YouDev team from the YouCombat server. all plugins have "You" before it, so i did that too.

    <font color="rgb(0, 0, 0)">►</font> Requirements
    You need 2 plugin to let this plugin work.
    An Economie plugin, these plugins do i support:
    - BOSE 6/7
    - iCo 4/5/6
    - EE17
    - MCUR

    And Register. Why register? Register is a plugin wich detects certain Econ plugins. this makes coding way better. also for iCo6 it is recommanded.
    All info about Register here

    <font color="rgb(0, 0, 0)">►</font> Downloads
    v1.1 <Edit by Moderator: Redacted bit url>

    <font color="rgb(0, 0, 0)">►</font> Instalation

    1. Download the Register, and YouLoan jar.
    2. Start your server. or reload.
    3. Make sure you see no errors.
    If you get any errors, please report them.
    4. Set the config and permissions if you want.
    5. And you are done!

    <font color="rgb(0, 0, 0)">►</font> Commands
    Just use /LoanMoney in game, and the in-game help menu will lead you.

    <font color="rgb(0, 0, 0)">►</font> Permissions
    <font color="rgb(0, 0, 0)">►</font> Changelog

    - v1.1:
    Added ay interest.
    Support for more Econ plugins
    Works with build #1317
    - v1.0:
    Release.

    <font color="rgb(0, 0, 0)">►</font> Todo

    <font color="rgb(0, 0, 0)">►</font> Inform op's/mod's if someone doesn't pay his money back in x days.
    <font color="rgb(0, 0, 0)">►</font> Jail Players who don't pay back in x days.
    <font color="rgb(0, 0, 0)">►</font> If you don't pay back alot, you can lend less.
    <font color="rgb(0, 0, 0)">►</font> Spout. when i have time to make GUI
    <font color="rgb(0, 0, 0)">►</font> Day interest

    If you have any good idea's please post them here!

    For bugs also place a post.
    if you have an error log please include it. Thanks!

    I hope you like this plugin and thanks for using!
     
    Last edited by a moderator: Feb 21, 2017
    tombik and MuisYa like this.
  2. Offline

    The_Yogs

    whereres the download...
     
  3. Offline

    jeroende2e

    Last edited by a moderator: May 19, 2016
  4. Offline

    tombik

    Where are commands??? :O
     
  5. Offline

    WildfireAJS

    Any plans on making this compatible with iConomy 6? I would love to use this if you do!
     
  6. Offline

    jeroende2e

    @WildfireAJS

    I just found out how to support iCo6.
    I will use the plugin "Register" for it though so it will work for every economy plugin.
    Also i will finaly try to add intrest to it.

    EDIT:
    Spelled your name wrong :/
     
    tombik likes this.
  7. Offline

    honam1021

    It doesn't support iConomy 6!Please update!
     
    tombik likes this.
  8. Offline

    jeroende2e

    @honam1021

    Had a party last night, so of course i couldn't work on it ;p
    Atm im working on it, iCo6 is bitchie but i will get there :)
    hope it is done in about 3 hours

    EDIT:
    Since im also rewriting it it will take about 3 hours

    Ok, it is fixed for iCo6 now.
    it also works with: BOSE6/7 - EE17 - iCo4/5/6 - MCUR
    To Support iCo6 and the others, you will need to instal Register
    a plugin that makes encon plugin support way better.
    i will put up a download for the newest version after i fixed day intrest.
    then i will glossy up the post and upload the new jar.
    so now ima work on Day intrest

    Final testing right now :)

    @honam1021 @WildfireAJS

    Updated :D

    @tombik

    Sorry, i added an head for it now

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

    tombik

    I like ur Todo section, please make it as soon as possible ;)
     
  10. Offline

    jeroende2e

    @tombik

    Working on jail support now, it's kinda hard :s
    the message for admins i can already fix
    that bad players can lend more is just some work,
    and spout GUI is alooot of work, so i will make that if alot of people want it.
    Thanks!

    Learning jailAPI atm

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

    newsonandco

    Hi i really like your plugin when people have payed back the loan it says "You paid x. You have payed back you all of the money!", shouldt it be something like you have payed back all of the money. Also when you go to pay back your loan and type /loanmoney pay and then no amount to pay all of your loan that does not work.

    Thanks Luke
    P.S keep up the good work
     
  12. Offline

    jeroende2e

    @newsonandco

    Thanks! I will add the /loanmoney pay to pay all money back.
    And i will also change it to you payed all money back.
    The /loanmoney pay can be coded in under 5 mins, the only porblem is atm Jail support.
    I have the version with admin warnings and jail support already done like 1 week ago, the only problem is that the API doesn't work :s
    When i finaly get a respond from the owner of Jail i will release the new version will cool stuff :)
    Thanks!
     
  13. Offline

    MuisYa

    Change yr picture Jeroen xD
     
  14. Offline

    jeroende2e

    @MuisYa
    Mail the facking photo
    like 10th time
     
  15. Offline

    GmK

    Sounds great!

    As soon as it has support for http://dev.bukkit.org/server-mods/jail/ I will think about adding it.

    Currently it's not really useful to us, as there arent any repercussions if you do not pay back your loan.

    --Edit---

    Sorry didnt the earlier posts that you were already trying to contact @matejdro

    Maybe you could add a feature that the player constantly is hurt when he doesnt pay his loan back after x-days? So a player cannot enjoy the server as he will be constantly losing health until he pays it back?
     
  16. Offline

    MuisYa

    Cant, dont have it anymore lol...
     
  17. Offline

    newsonandco

    No
    No problem
     
  18. Offline

    jeroende2e

    @GmK

    Now that's a good idea!
    i will defenitly add it!
     
  19. Offline

    MuisYa

    @GmK @jeroende2e Don't damage him, get away his hunger health...
    "He cant buy food." Also than he wont be able to sprint, which is pretty annoying i think.
     
  20. Offline

    fatmarley

    how about an inverse? YouPay and they have to pay a certain amount each week (adjustable) and if you dont pay on time, they occur interest on the amount each following day...but this could lead to compounding interest if they forget to pay two-three weeks in a row!
     
  21. Offline

    tombik

    Hi, getting this err:
    Code:
    2011-10-28 17:40:07 [SEVERE] Error occurred while enabling YouLoan v1.1 (Is it up to date?): Unresolved compilation problems:
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        Constants cannot be resolved to a variable
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        BankAccount cannot be resolved to a type
        Holdings cannot be resolved to a type
        BankAccount cannot be resolved to a type
        BankAccount cannot be resolved to a type
        Holdings cannot be resolved to a type
        BankAccount cannot be resolved to a type
        BankAccount cannot be resolved to a type
        BankAccount cannot be resolved to a type
        BankAccount cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        BankAccount cannot be resolved to a type
        BankAccount cannot be resolved to a type
        Account cannot be resolved to a type
        Holdings cannot be resolved to a type
        Account cannot be resolved to a type
        Account cannot be resolved to a type
        Holdings cannot be resolved to a type
        Account cannot be resolved to a type
        Account cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Account cannot be resolved to a type
        Account cannot be resolved to a type
    
    java.lang.Error: Unresolved compilation problems:
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        The import com.iConomy cannot be resolved
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        Constants cannot be resolved to a variable
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        iConomy cannot be resolved to a type
        BankAccount cannot be resolved to a type
        Holdings cannot be resolved to a type
        BankAccount cannot be resolved to a type
        BankAccount cannot be resolved to a type
        Holdings cannot be resolved to a type
        BankAccount cannot be resolved to a type
        BankAccount cannot be resolved to a type
        BankAccount cannot be resolved to a type
        BankAccount cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        BankAccount cannot be resolved to a type
        BankAccount cannot be resolved to a type
        Account cannot be resolved to a type
        Holdings cannot be resolved to a type
        Account cannot be resolved to a type
        Account cannot be resolved to a type
        Holdings cannot be resolved to a type
        Account cannot be resolved to a type
        Account cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Holdings cannot be resolved to a type
        Account cannot be resolved to a type
        Account cannot be resolved to a type
    
        at com.nijikokun.register.payment.methods.iCo5.<init>(iCo5.java:3)
        at com.nijikokun.register.payment.Methods._init(Methods.java:28)
        at com.nijikokun.register.payment.Methods.<clinit>(Methods.java:174)
        at me.jeroende2e.youloan.ListenerServer.<init>(ListenerServer.java:22)
        at me.jeroende2e.youloan.Main.onEnable(Main.java:47)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:413)
        at org.bukkit.Bukkit.reload(Bukkit.java:182)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:351)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  22. Offline

    tombik

    Getting this err when loaning:
    Code:
    2011-10-29 20:00:01 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'loanmoney' in plugin YouLoan v1.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
        at me.jeroende2e.youloan.CommandHandler.onCommand(CommandHandler.java:74)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 12 more
     
  23. Offline

    JoneKone

    A great mod.. How about ownership of land... Adding a feature to pawn your house/land "world guard" regions for your loan...

    And if the player won't pay the area automatically transfers its ownership to the BANK... And it will remove the ownership from the loaner. Adding the loaner ad a mere member.

    Obviously the loaner has to be the single owner of the land/house.
     
  24. Offline

    jeroende2e

    @tombik
    You have register installed?

    i still have no response from the Jail API guy :(

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

    darxler

    I'm getting this error:

    Code:
    2011-10-30 18:05:18 [INFO] Done (0.408s)! For help, type "help" or "?"
    
    2011-10-30 18:05:18 [INFO] 'spawn-protection' in server.properties has been moved to 'settings.spawn-radius' in bukkit.yml. I will move your config for you.
    
    2011-10-30 18:05:18 [INFO] /99.228.23.168:53426 lost connection
    
    2011-10-30 18:05:18 [INFO] -******* TownyChat enabled *******-
    
    2011-10-30 18:05:19 [SEVERE] java.lang.NullPointerException
    
    2011-10-30 18:05:19 [SEVERE]     at me.jeroende2e.youloan.IntrestTask.run(IntrestTask.java:24)
    
    2011-10-30 18:05:19 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    
    2011-10-30 18:05:19 [SEVERE]     at java.lang.Thread.run(Thread.java:722)
    
    
    Right after i start the server and every time anyone tries to borrow money.
     
  26. Offline

    jeroende2e

    @darxler

    This could either be the new build, or something is worng with register, does register say payment method foun?
    And does YouLoan also say payment method found?
    Wich build do you have?

    @JoneKone

    That sounds really nice, i will see what i can fix with it.
    First i would like jail support fixed, but i don't get a respond from the Jail plugin developer

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

    fatmarley

  28. Offline

    jeroende2e

    @fatmarley

    Yes i did, and i also though is replyed.
    But how would this function needs to be called. And they loan money 1 time and have to pay money for the rest of there life?
    Isn't that a bit cruwl/to hard
     
  29. Offline

    fatmarley

    no, actually it would be used to rent something. I figured it was along the line of loan, but just the inverse.

    For instance, I make a bedrock vault and then rent it out, the person who accepts it uses the command /pay (for example) and the amount. This way I can rent something and not have to use a bulky land control plugin.

    Was that clearer?
     
  30. Offline

    jeroende2e


    Would they buy land through my plugin or just give the name of a region?

    @fatmarley

    Ahhh ok yeah that's clear.
    Some sort of contract.
    I will see what i can do with it :)

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

    fatmarley

    I think for JoneKone's idea wouldnt it be better to use this as a api (is that correct?) that links with residence or towny, which already do what he is asking..and then this plugin could stay trim?

    Just my two cents.
     

Share This Page