ResidenceSigns
ResidenceSigns
Version 2.10.0 is out now!
(Download may be delayed due to approval time)
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.
Language Change
If you want to have ResidenceSigns translated into your native language, copy/paste the template found here, change the statements that are in quotes to your native language, and PM it back to me!
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 third line and an optional residence full name on the second.
- Right clicking a [Rent] sign will attempt to rent the house in your name.
- Right clicking a [Rented] sign that is rented will unrent the house for you.
- 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 should update if there are any differences in info whenever someone right clicks.
- Owners of Residence can break the sign to remove it from the Market/Rentable.
- Picks up Residence Events and automatically updates Residence Signs accordingly.
- You can change the default Language by changing the Language config option and having the correct .yml file in the Language Folder.
- Residence name is optional on the third line. By default, wherever cuboid the sign is located in, it will try to use that residence.
- Multiple signs can used for one Residence.
Planned Features
- Code Cleanup.
- Suggestions from players.
Better Sign Storing and control.
Different Language Alternatives.
Adding Permissions.
Change Log ===
Version 2.10.0: 5/12/2013
- Fixed major bug with some signs popping off upon server restarts.
- Made sign creation prices more '$' friendly.
- Updated to CB 1.5.2-R0.1.
Version 2.9: 8/26/2012
- Fully reworked auto updater system. This should all ALL NPE's when interacting with signs.
- Fixed remaining CME's in auto updater system, signs will now automatically change the instant Residence changes the Residences' status.
- NO MORE SIGNS AUTO REMOVING THEMSELVES DUE TO THE ABOVE BUGS!
Version 2.8: 8/22/2012
- Hopefully a permanent fix for the CME NPE issue occurring on the auto update system.
- Fixed simple display when creating Rent Signs, the AutoRent on the sign will now say "true" instead of "t".
Version 2.7: 8/22/2012
- New Auto-Update Feature. Signs will now auto update the names listed on the Signs when changed using /res rename Command.
- Fixed a bad save variable of ForSale Residences to the signs.yml.
- Added more experimental features to the sign load in system. If a sign fails to load for any reason, ResidenceSigns will try to regenerate the sign with all the proper information.
- Old code cleanup.
Version 2.6: 8/20/2012
- Added experimental safe checks for on Sign Interactions when Residence was throwing NPEs to the Signs, will remove Signs if this occurs.
- Attempt to fix Signs not loading in properly after a restart or two.
- Make sure you are using Residence v2.6.5. This should fix all other remaining NPEs being thrown on attempts to grab variables from Residence itself.
- Updated to CB1.3.2-R2.0
Version 2.5: 7/31/2012
- Fixed the issue with the NullPointerErrors spamming on the automatic sign update system. For some reason occassionally blocks were calling an NPE when trying to acquire their State. The sign will now remove itself from the Plugin.
- NOTE: This will not as of this moment remove the ACTUAL sign as its pulling an NPE for the block, I will have a fix for this in a later update.
- Fixed the issue with sometimes ResSigns calling NPE's when trying to acquire the Residences AutoRepeat variable. Thank you Bekvon for fixing this.
- NOTE: This MAY require the Dev version of Residence as the fix is not actually live but implemented in their current Dev build.
- Added the "Sold" variable for the Alternative Language System.
- NOTE: YOU WILL NEED TO DELETE YOUR LANGUAGE FOLDER! Stop Server, Delete Language Folder, Start Server, Allow ResSigns To Regenerate All Language ymls. If not done in this Order, you WILL get Errors.
- Updated to CB1.2.5-R5.
Version 2.4.1 : 6/26/2012
- Fix NPE with alternative Language System. For some reason the Brazilian translation file was lost, re-added.
- Added Polish locale for alternative Language System.
Version 2.4 : 6/25/2012
- Changed the task that updates signs to run more effectively, as faster.
- Tweaked the loading in and saving of signs to hopefully keep the signs.yml more effective.
- Switched a few variables that should hopefully help fix issues with false set reatables to work correctly with the Signs as well as fix any NPEs that were still occuring.
Version 2.3 : 6/4/2012
- Fixed a check for players trying to unrent Residences when their name was too long to fit on the sign, method now checks Renting Players' Name. Sorry!
- Tweaked the auto sign refresh feature to be slightly more effective with the Residence Rent_Expire Timers.
- Updated to 1.2.5-R3.0
Version 2.2 : 5/5/2012
- *NEW* Added a reload command to quickly reload your config.yml.
- /rs reload.
- Fixed a bug where on RENT_EXPIRE, Rent Signs would display the Residence as Available regardless of status, and would need to be manually updated.
- Added Spanish.yml to the default alternative language system.
Version 2.1 : 5/2/2012
- Fixed issue where certain sign creation exceptions weren’t getting saved into the signs.yml.
- *NEW*Added finally the ability to call and set Residences as false for Auto-Renew Rentable on sign creations! YAY! (Testing on this feature is appreciated to make sure I got the write call methods from Residence since they were recently added).
Version 2.0 : 5/1/2012
- *NEW* Totally revamped the way ResidenceSigns handles the signs by using some flat yml files to also store Sign data(signs.yml). This new feature allows for much better sign control when Events get thrown from Residence. It is highly advised to not touch this file for any reason.
- *NEW* ResidenceSigns should now automatically update upon Residence Events occuring, either by "/" commands or if rent expires and player can't afford or the autorefresh is set to false.
- NOTE: Not every exception has been added just yet as I was quite excited to get this release out to all of you!
- *New*Added New config.yml node for Unrenting on Sign Right-Click. NOW STOP QQing ABOUT IT! :P
- Readjusted the temporary fix to the sign by changing it to left-click updates. By left-clicking the sign if it is rented but not displaying that, it will update, and vice versa if not rented but says it is, will fix as well.
- Added German.yml to default written languages for the Alternative Language system.
- Added smoother components to the conversion methods, if you have still yet to convert to v1.4+.
- Adjusted Config.yml Handler to even better recognize Out of Date Config.yml, and to update it.
- Adjusted the LanguageManager to better handle writing new alternative language.yml's.
- Massive Code Cleanup, a few methods combined for more effective code.
Permissions!
ResidenceSigns now has Permissions support via Vault!
- rs.admin - This node gives the player permission to place/break ForSale and Rent signs regardless of ownership. Defaulted to OP.
Reporting Bugs/Issues
When Reporting An Issue, Please Do The Following
- Your Craftbukkit version.
- Current version of ResidenceSigns.
- Describe the exact situation in which the issue occured (listing all applicable info, names, what sign reads, etc etc)
- Copy/Paste the error from the Console Log.
Installation and Help
- Drop ResidenceSigns.jar into /plugins directory.
- Enjoy!
- Wiki Page Now with pictures!
Donations
Happy with my work? Want to help out? Just glad to see this plugin back?
Feel Free To Donate!
This plugin is based off of the old ResidenceSigns plugin originally written by Karnedge(giving credit where due) but all the code was redone by scratch.
Hey guys,I have a server and the latest update on residencesigns not working.But I try with the oldest version 1.0and all working.
@gizmogadget3
This is just a difference of what "autorenew" really means when you set up a auto renew in Residence, vs. Residence Signs. I have talked to Toothpick about some of these logistic issues but its not something overnight.
Ever since 1.5.2, especially after upgrading to 2.9 of this plugin (I can't upgrade to 2.10 or it entirely breaks), I've noticed players cannot unrent something they've been renting since a server restart. I have to manually break and replace the signs exactly as they were before they can be un-rented.
When ever people try and use a sign it says "Residence not for rent" any ideas?
Hey Silent. You may not remember me but I played on CityCraft forever. Now I have my own server and I would love to use this plugin on my server for 1.6.2. Please message me back. IGN: monarch8
not sure if bug or me being dumb, but the autorenew seems to always fill itself out as False, even though residence says it is in fact set to autorenew.
@wheezymuppet
it seems to be working for me, but i had to break the signs then replace
Residence Signs does not work 1.6.2
Why I can sell a residence but cannot rent and buy? o_O
My free time is all the time. I am basiclly still in school but when its summer I totally free everyday all day
I like this plug in maybe if you need help with anything but test I am your guy. Just let me know. I am willing to help in my free time (which
ResidenceSigns error in my server (craftbukkit 1.5.2 R0.1 BETA): http://pastebin.com/cfykAvhY
Please Help!
Hey, this plugin was working fantastic on our server for about three months until recently. Now I'm getting this console error every time I try to create a [forsale] sign (I'm the op, rental signs work and old forsale signs can still be used to purchase a residence):
8:22:26 AM CONSOLE: [SEVERE] Could not pass event SignChangeEvent to ResidenceSigns v2.9 8:22:26 AM CONSOLE: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
First of all, I've downloaded 2.10, deleted my old ResidenceSigns.jar and uploaded a clean one and it is still saying v2.9. Help, please, our server is growing really fast and I can't create any new homes for sale in our city!
@MarlonColhado
I have the same problem :( I can rent but impossible to Sale :x
i have problem with only "[ForSale]" :(
18.05 09:29:15 [Server] INFO ... 11 more 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 18.05 09:29:15 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 18.05 09:29:15 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 18.05 09:29:15 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 18.05 09:29:15 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 18.05 09:29:15 [Server] INFO at com.earth2me.essentials.chat.EssentialsChatPlayerListenerLowest.onPlayerChat(EssentialsChatPlayerListenerLowest.java:50) 18.05 09:29:15 [Server] INFO at org.bukkit.event.player.PlayerChatEvent.setFormat(PlayerChatEvent.java:99) 18.05 09:29:15 [Server] INFO Caused by: java.util.UnknownFormatConversionException: Conversion = 'p' 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:513) 18.05 09:29:15 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.util.Waitable.run(Waitable.java:24) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection$4.evaluate(PlayerConnection.java:909) 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26) 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 18.05 09:29:15 [Server] INFO org.bukkit.event.EventException 18.05 09:29:15 [Server] SEVERE Could not pass event PlayerChatEvent to EssentialsChat vDev2.9.36 18.05 09:29:15 [Multicraft] Skipped 3 lines due to rate limit (30/s) 18.05 09:29:15 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 18.05 09:29:15 [Server] INFO at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) 18.05 09:29:15 [Server] INFO at brandenBoegh.ResidenceSigns.ResidenceSignsListener.onSignCreate(ResidenceSignsListener.java:174) 18.05 09:29:15 [Server] INFO at java.lang.String.charAt(String.java:658) 18.05 09:29:15 [Server] INFO Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:583) 18.05 09:29:15 [Server] INFO at org.spigotmc.MultiplexingServerConnection.b(MultiplexingServerConnection.java:72) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109) 18.05 09:29:15 [Server] INFO at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:186) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.Packet130UpdateSign.handle(SourceFile:46) 18.05 09:29:15 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:1382) 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26) 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 18.05 09:29:15 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 18.05 09:29:15 [Server] INFO org.bukkit.event.EventException 18.05 09:29:15 [Server] SEVERE Could not pass event SignChangeEvent to ResidenceSigns v2.9
Why i am downloading v 1.9 ? instead of 1.10?
Version 2.10.0 is out now!
(Download may be delayed due to approval time)
<Staff edit: removed link to unapproved file>
seems like its dead
:(
as #350 says, I, too have a problem with a For Sale sign (in my case placed on the ground inside the res) in a subzone.
I made dozens of storage units and made them for sale, everything worked OK, then after a server restart some of the signs disappear. We did change the res name and ownership at times, and more than one user created the signs (but as op/admin)
doesnt work in 1.5.1.....?