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

    KarnEdge

    ResidenceSigns
    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.

    WORKING ON STABLE VERSION.

    Download
    [​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)
    [​IMG][​IMG][​IMG][​IMG]
    Sign Setup (open)
    [​IMG]

    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)

    [​IMG]
    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

    thernztrom

    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

    NooR

    Does this already works with 1185`?
     
  4. Offline

    akiranai

    i wait too for 1185 :)
     
  5. Offline

    Rollese

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

    Code:
    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(RSBlockListener.java:73)
        at org.bukkit.plugin.java.JavaPluginLoader$36.execute(JavaPluginLoader.java:490)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1046)
        at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     
  6. Offline

    mrgreaper

    any news on a new version?
     
  7. Offline

    Sneaky420

    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

    Sharpy310

    Any news on the 1.0 version?
     
  9. Offline

    BlancoLanda

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

    Moe041991

    cant wait!
     
  11. Offline

    BlancoLanda

    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

    Lextao

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

    jazzman170

    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

    Pixiio

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

    Clucky

    I get this error every time i type something in console, it may have to do with CommandBook, not 100% sure.
    Code:
    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(RSEventListener.java:25)
        at org.bukkit.plugin.java.JavaPluginLoader$96.execute(JavaPluginLoader.java:934)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at com.sk89q.commandbook.commands.MessageCommands.say(MessageCommands.java:84)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
        at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
        at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:245)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:360)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:356)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:548)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:525)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:409)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:454)
    
     
  16. Offline

    AndrewsPanda

    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]

    Andrew
     
  17. Offline

    Moe041991

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

    AndrewsPanda

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

    Zenolijo

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

    Leenert

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

    bencool101

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

    At-M

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

    bogdanxd

    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

    Spiritwind

    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

    josip1

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

    Raketa141

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

    At-M

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

    Raketa141

    Thanks!
     
  29. Offline

    At-M

    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

    Fujikatoma

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

    At-M

    works for me, but no configfiles :s
     

Share This Page