Inactive [MECH] ResidenceHelper - Rent, buy and sell residences with signs [1000]

Discussion in 'Inactive/Unsupported Plugins' started by JustMeFlex, Aug 12, 2011.

  1. Offline

    JustMeFlex

    ResidenceHelper - Rent and sell residences with signs
    Version: v1.03

    ResidenceHelper is based on ResidenceSigns by KarnEdge, but adds a lot more functionality to it. It uses the residenceplugin by bekvon and allows you to sell and rent residences just by creating signs with [rent] or [forsale] in the first line. It automatically updates the signs when users buy or rent home no matter if they use commands, the sign or are forced to because they didn't pay their rent.

    Downloads
    Features

    • Rent and buy residences from Residence by bekvon just by creating signs with [rent] or [forsale] in the first line
    • A config file where users can change all messages send to the players, what they have to write on the first line and other useful things.
    • A [rent] or [forsale] sign placed in a residence already set up for rent or sale, will automatically show the details
    • An h2 database storing all the signs so they can be updated quickly
    • Right clicking a [rent] sign will automatically rent the residence in your name, or stop renting it if you already rent it.
    • When a residence is rented the last line of the sign will change from "[Available]" to the name of the renter
    • When a renter stops renting a residence the sign will automatically change back to "[Available]" no matter how he does it.
    • Right clicking a [forsale] sign will automatically buy the residence in your name
    • When a residence is bought no matter if it's through a command or the sign, the first line of the sign will change to "[SOLD]" and the last line will change from "[Available]" to the name of the buyer
    • Destroy a [rent] or [forsale] sign and the residence will automatically stop being for sale or rent
    • It even allows you to prevent [rent] or [forsale] signs from getting destroyed if the player destroying them isn't the owner of the Residence
    • A french translation http://pastebin.com/Nxp6qPmk thanks to Swadon
    Planned features
    • Make it autoupdating
    • Adding a command to update all signs
    • Make it look for the residence.resadmin permission
    • Mysql support
    Known bugs
    • Doesn't work without iconomy, I have no idea why this happens but I am looking into it
    • Some times when putting a residence for rent it will show 0/0d on the sign. This can be fixed by renting and unrenting the residence again afterwards in most cases. If not you will have to turn on "update signs on startup" in the config and restart the server
    Changelog
    Version 1.04
    • Renamed to "ResidenceHelper", because someone found the other name misleading.
    Version 1.03
    • Fixed a strange bug that would prevent the plugin from enabling
    Older versions
    Show Spoiler
    Version 1.02
    • Fixed a bug where buying a residence would change all [ForSale] signs to [SOLD] no matter if they where related or not
    Version 1.01
    • Initial release


    Installation
    Show Spoiler

    Download the zip file and extract it in your plugins folder. You will also need h2.jar in order for the database system to work, it will automatically download h2.jar, but you will need to restart the server after that. You can manually install it by downloading it here, and putting it into the lib folder of you bukkit server.


    Sign setup
    By default you will have to create a sign with [forsale] in the first line to setup a sell sign. If the residence isn't already set up to be sold using commands you will have to enter the price in the second line of the sign. If it is, it will automatically get the data from the residence

    To set up a rent sign you will have to wire [rent] in the first line of the sign by default but it can be changed. If the residence isn't already set up for rent you will have to enter in the price and the number of days to buy at once separated by a slash in the second line of the sign. For example "100/10" to make users pay 100 of your ingame currency to rent the residence for ten days
     
  2. Offline

    cruzer0

    When i place a [forsale] sign it disappear after a few of minutes.
    (I'm german so my english isn't good)
     
  3. Offline

    Axelthecritic

    How do you select the area you want to sell?
     
  4. Offline

    Infectedd

    You are selling a Residence-defined area.
     
  5. Offline

    cruzer0

  6. Offline

    Axelthecritic

    How do I select it?
    Sorry for my noobness...
     
  7. Offline

    JustMeFlex

    Likely because it's missing the h2 plugin. It is supposed to it download automatically so restarting the server should be enough. If it isn't, download it manually from this link: http://dl.dropbox.com/u/13546396/h2.jar and put it in the lib folder of your server directory
     
  8. Offline

    Cactus_Master

    h2.jar is in the lib folder and has been; doesn't work. I re-downloaded it and tried it, doesn't work. Here's the error I get on a reload:
    2011-08-21 13:07:10 [INFO] [RecidenceSigns 2.0] Loading Config File...
    2011-08-21 13:07:10 [SEVERE] null
    java.lang.ClassNotFoundException: org.h2.Driver
     
  9. Offline

    RTRD

    I get this error:
    Code:
    2011-08-22 01:30:05 [INFO] [RecidenceSigns 2.0] Loading Config File...
    2011-08-22 01:30:05 [SEVERE] null
    java.lang.ClassNotFoundException: org.h2.Driver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    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(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at Flex.ResidenceSigns2.SignDatabaseHandler.initialize(SignDatabaseHandler.java:43)
    at Flex.ResidenceSigns2.ResidenceSigns2.onEnable(ResidenceSigns2.java:121)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-22 01:30:05 [INFO] [ResidenceSigns 2.0] Disabled
     
  10. Offline

    Lord_Kimpton

    Ok, plugin grt, however, when i go and put a rent sign, nomatter how manytimes i change it the money is always 0/0d .. this can be solved? .. i have read your Know Bugs, but the solution does not work for me?! Help!! Thanks

    EDIT--
    the forsale one works, and that shows the correct amount, but the Rent does not..
     
  11. Offline

    JustMeFlex

    @Lord_Kimpton
    Turn on "Update sign on startup" in the config file and restart the server. I'll look into a more user friendly fix
     
  12. Offline

    Lord_Kimpton

    @JustMeFlex
    it was on?!

    i still get the same error
     
  13. Offline

    fatmarley

    @JustMeFlex
    @RTRD
    @Cactus_Master

    Still getting the error, cause I am now getting it as well. I have the newest Residence sign 1.03 Along with Residence 2.3.9.

    I have install the h2.jar to the lib folder.

    2011-08-23 00:34:32 [INFO] [RecidenceSigns 2.0] Loading Config File...
    2011-08-23 00:34:32 [SEVERE] null
    java.lang.ClassNotFoundException: org.h2.Driver
    Show Spoiler
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    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(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at Flex.ResidenceSigns2.SignDatabaseHandler.initialize(SignDatabaseHandler.java:43)
    at Flex.ResidenceSigns2.ResidenceSigns2.onEnable(ResidenceSigns2.java:121)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  14. Offline

    JustMeFlex

    A lot of you seem to be getting that error. I guess there's no way around it. I'll try and reproduce it
     
  15. Flex, can you please rename the plugin? Its really misleading that you use the same name for whats technically a different/forked plugin. Thx!
     
  16. Offline

    JustMeFlex

    Okay, I think i found the cause of the errors and I will rename it to ResidenceHelper from now on

    Edit: I found the cause of the problem, you need to run iconomy with h2 for it to work. I will try to get it to work without iconomy, but so far you need it
     
    Zothen likes this.
  17. Offline

    spearhartt

    Please help, I'm getting this error:


    Here is my whole log: http://pastebin.com/iASR5cSZ
     
  18. Offline

    Swal

    Would it be possible to make the 3rd line define the residence I want to sell/rent, etc?
    For example I have a player that runs a hotel, and it would be much better, if he could just place all signs at the first level instead of inside all room.
    (residencesign 0.2 works like that, but buggy)

    Edit:
    A workarounds is to give the residence an area of 1x1 square, and place the sign in that square. The suggestion above would be still helpful though :)
     
  19. Offline

    JustMeFlex

    Nah, this projects is discontinued. Look at the one by KarnEdgde
     
  20. Offline

    merrellpa

    If i use WorldGuard and only protect the areas around and under a plot. will this plugin still work? i know that is alot of work. But i'm basically trying to build a safe city on a PVP server that will have rentable plots inside it... Unless there is already a plugin that allows this. So far i am unable to find one.
     
  21. Offline

    Tux_Peng

    ResidenceSigns isn't getting any updates either; I hope you work on this plugin again...

    PS-- Can you release the source?
     
  22. Offline

    Lextao

    Is this working on #1240?
    If not, please update ! :D
     
  23. Offline

    Rollese

    It would be awesome if this would get updated, KarnEdge version is also out of date.
     
  24. Offline

    funkystudios

    When i place a [forsale] sign it disappears after a few of minutes.

    (same as cruzer)
     
  25. Offline

    Leenert

    Does it work on lates bukkit?
     
  26. Offline

    Machete.Panda

    Where are the permissions? I only want admins to use this.
     
  27. Offline

    mmuziek


    Rent signs does not work with me it says currency disabled.
     
  28. Offline

    Leenert

    the you maybe should activate the rent system in the residence config ;)
     
  29. Offline

    BitterSweetSabs

    Im having trouble When i try to make a rent or for sale sign it doesnt seem to want to work at all! HELP!![​IMG]
     
  30. Offline

    Sway

    would it be possible to get this working with essentials?
     
  31. Offline

    gvlfm78

    Nice plugin =) It's exactly what I was looking for to make a hotel. Anyway I saw that you had a French translation there in the post, so I decided to make an italian translation: http://pastebin.com/aDDMgWrP
     

Share This Page