Inactive [MECH] ResidenceSigns v1.0 - Use signs to Rent/Buy/Sell land with Residence [1060]

Discussion in 'Inactive/Unsupported Plugins' started by KarnEdge, Jul 28, 2011.

  1. Offline


    Instead of making your players use "/res market rent Town.HouseName", allow your players to right click signs to rent and buy land, or put down signs to set up renting or selling with the Residence mod.


    [​IMG] ResidenceSigns (v1.0) - NOT WORKING
    [​IMG] ResidenceSigns (v0.2)

    Current Features
    • Placing a [Rent] or [ForSale] sign on a residence that is already set up for rent or sale will automatically fill in all other information.
    • [Rent] signs allow you to setup a residence for rent using "Price/Days/AutoRenew [t/f]?" on the second line and an optional residence full name on the third.
    • Right clicking a [Rent] sign will attempt to rent the house in your name.
    • When someone rents a house using a sign, the bottom line of the sign will change from "Available" to the renter's name.
    • [ForSale] signs allow you to sell a residence for "Price" on the second line and an optional residence full name on the third.
    • Right clicking a [ForSale] sign will attempt to buy the residence.
    • When someone buys the residence, the bottom line of the sign will change from "Available" to "Sold".
    • Sign text will change if there are any differences in info whenever someone right clicks.
    • Residence name is optional on the third line. By default, wherever cuboid the sign is located in, it will try to use that residence.
    • Locale usage, defaults loaded into "english.locale" under "/plugins/ResidenceSigns"
    • Database usage, H2 and MySQL. Settings under "config.yml" under "/plugins/ResidenceSigns"
    • Multiple signs can used for one Residence.
    • If a player uses a /res, /land buy, /rent, /unrent commands or a [Rent]/[ForSale] sign; all signs for that Residence will be updated with the appropriate information. This also includes lease and rent expirations.
    • UseColors under config.yml can be set to true or false to turn off colors. Setting this to false will turn off all colors on signs and use the default black text; however, if a mistake is made on the sign it will still turn the top text to Red to indicate a problem.
    Shorthand Commands

    [Required Parameter]
    <Optional Parameter>
    If <ResidenceName> is not given, it will use your current location if there is a residence there.
    • /rsadmin
      • Toggle's on and off "/resadmin" mode.
      • Only people with "residence.admin" node can use this.
      • When activated, any signs you place or right click will act as if you used "/resadmin" instead of "/res"
        • Eg; Right-clicking a rent sign at Town.House with /rsadmin on will basically do "/resadmin market rent Town.House" instead of "/res market rent Town.House"
      • Keep in mind, it does have persistence unless server is restarted.
      • This toggle only works for market signs and the shorthand commands below.
      • It will not make regular Residence commands become "/resadmin" commands.
      • Left click a sign to add it to the database and/or update it manually.
    • /rent <info> <ResidenceName>
      • Rent a residence.
      • Info will give information on renting price.
    • /unrent <ResidenceName>
      • Remove yourself from renting a residence.
    • /land [buy/sell/remove/info] <ResidenceName> [price]
      • Buy or sell a residence (selling requires [price])
      • Remove will stop selling residence.
      • Info will give information on residence. (I don't think this works though)
    Planned Features
    • SQLite, MySQL, and FlatFile database backend to store sign locations so information can be changed on signs when someone does not use a sign to rent/buy. If a residence is made unrentable, not for sale or its pricing is updated, it will also rewrite the sign (or signs) to reflect changes.
    • Make wall signs use the block that they are attached to instead of actual location of sign.
    • An option to turn on/off all colors.
    • Locale settings so [Rent], [ForSale], and all other worded parts of the sign can be changed to a different language.
    Change Log

    Version 1.0
    • Added: Configuration options including database information, turning colors on and off, and locale name.
    • Fixed: Auto-renew not accepting correct true and false.
    • Added: Database usage (MySQL or H2, defaults to H2), thanks to @JustMeFlex for his downloader class and helping get my bearings back on SQL usage again. Multiple signs can be used for one residence and they will update no matter what is used for renting, buying or selling.
    • Added: Locale usage, set under config.yml. It will create a default localename.locale file.
    • Added: Left click a pre-version 1.0 sign with /rsadmin on will add your old signs to the database.
    • Fixed: Miscellaneous bugs.
    Previous Versions (open)

    Version 0.2
    • Fixed: Player interaction (right-clicking) with signs that do not have [Rent] or [ForSale] in the top line will no longer be manipulated by ResidenceSigns. (sorry!)
    • Updated: [ForSale] signs now properly show sale price since method was added in recent version of Residence.
    • Changed: Any interaction with created [Rent] or [ForSale] signs that are not blue will not try to do anything to prevent unwanted results.
    Version 0.1

    • Initial Release

    Installation and Help
    1. Drop ResidenceSigns.jar into /plugins directory.
    2. Enjoy!
    Screenshots (open)
    Sign Setup (open)

    First line: [Rent] (not case-sensitive)
    Second line: Price/Days/AutoRenew (optional if residence is already set up for rent)
    Third line: Residence full name (optional, uses sign location otherwise)
    Fourth line: Shows status of residence (do not write on this line)

    First line: [ForSale] (not case-sensitive)
    Second line: Price (optional if residence is already set up for sale)
    Third line: Residence full name (optional, uses sign location otherwise)
    Fourth line: Shows status of residence (do not write on this line)
    Wei Bin, Clucky, Rollese and 2 others like this.
  2. Offline


    So which version you recommend me to download @KarnEdge ?
    Is it 1.0 which only has the "sign-update" problems? Does 0.2 work toegther with Res 2.4.1 and RB1185?
  3. Offline


    Does this already works with 1185`?
  4. Offline


    i wait too for 1185 :)
  5. Offline


    What's the status on this one? I get following error when running latest CB and v0.2:

    2011-10-03 15:42:06 [SEVERE] Could not pass event SIGN_CHANGE to ResidenceSigns
    java.lang.ArrayIndexOutOfBoundsException: 2
        at us.rgaming.residencesigns.RSBlockListener.onSignChange(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
        at net.minecraft.server.NetworkManager.b(
        at net.minecraft.server.NetServerHandler.a(
        at org.getspout.spout.SpoutNetServerHandler.a(
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(
  6. Offline


    any news on a new version?
  7. Offline


    Been using Residence for a long time now, and just found this one, seems like it would be great, looking forward to the newest one to test with, tried out the 0.2 but... it is not really what I was wanting, tho 1.0 looks to be perfect. Good lucky and hope for a speedy fix :)
  8. Offline


    Any news on the 1.0 version?
  9. Offline


    Any way to get the source code? I wanna translate things like Sold or Available to my language!
  10. Offline


    cant wait!
  11. Offline


    I hope this guy come back someday and keep working on it, or, at least, give the source code so another person can continue this project.
  12. Offline


    Please, update the plugin or give the source code so someone pick it up... my server softly depends on this plugin :(
  13. Offline


    how amazing it is that somebody makes an epic plugin and wont release the source to keep it alive....come on dude freakin release that shit and lets get on with this plugin surviving!
  14. Offline


    Last edited by a moderator: May 18, 2016
  15. Offline


    I get this error every time i type something in console, it may have to do with CommandBook, not 100% sure.
    14:13:24 [SEVERE] Could not pass event CUSTOM_EVENT to ResidenceSigns
    java.lang.NoClassDefFoundError: com/bekvon/bukkit/residence/event/ResidenceRentEvent
        at us.rgaming.residencesigns.RSEventListener.onCustomEvent(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at com.sk89q.commandbook.commands.MessageCommands.say(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(
        at com.sk89q.minecraft.util.commands.CommandsManager.execute(
        at com.sk89q.commandbook.CommandBookPlugin.onCommand(
        at org.bukkit.command.PluginCommand.execute(
        at org.bukkit.command.SimpleCommandMap.dispatch(
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
        at net.minecraft.server.MinecraftServer.b(
        at net.minecraft.server.MinecraftServer.w(
  16. Offline


    I am going to pay to have this plugin updated. If you would like to use this plugin on your server please contact me. If you contribute to the cost you will definitely receive it. The more of us who contribute the less it will cost us all.

    Contact me:
    [email protected]

  17. Offline


    damn it! we need the source code!
  18. Offline


    The source code is easy to get. There is a program that gives you the source code of the jar.
  19. Offline


    When is it going to be fixed?
    I hope soon
  20. Offline


    I've the same question...when it's gonna fixed?
  21. Offline


    can greifers destroy blocks on someone elses plot or are they protected?
  22. Offline


    they're protected by the residence plugin.
  23. Offline


    when i make sign work fine but when i want to buy residence the status changed in Sold but in chat write this: " Invalid residence" why ?
  24. Offline


    Please update!!!!
    How does it read which area the buy/rent is? Can it be set so other users cannot break/use stuff within someones house?
  25. Offline


    any ETA on this plugin to be fixed?
  26. Offline


    I created the sign, but when I press on it message says:
    Rent is disabled...
    What should I do?
  27. Offline


    in the residence config should be an option to enable it i think
  28. Offline


  29. Offline


    residence does protect lots normally.
    lookup in the configfile, there is global settings there, and set build to false, because that will protect others from buildin on that lot.

    This Plugin doesnt create an configfile for me? D:
  30. Offline


    Wont work :(
    Already tried v0.2 and v1
  31. Offline


    works for me, but no configfiles :s

Share This Page