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.
@GeniusName3
[Rent] signs aren't working for me either, they work when I rent the place out with /res market rent and THEN place the [Rent] sign. However if I do this they stop working after a while and I have to repeat the process.
Desperately need them working so that I can have two of the key features of my server back.
For some reason the rent one isn't working for me it says "Economy Disabled" I use BOSEconomy
2012-07-17 16:33:59 [SEVERE] Could not pass event ResidenceRentEvent to ResidenceSigns org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at com.bekvon.bukkit.residence.economy.rent.RentManager.unrent(RentManager.java:225) at com.bekvon.bukkit.residence.Residence.onCommand(Residence.java:1620) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:141) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:83) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign at brandenBoegh.ResidenceSigns.ResidenceSignsListener.onResidenceRentEvent(ResidenceSignsListener.java:435) 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:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 19 more
Getting the following error, latest release builds of both plugins and Craftbukkit (not beta ones or anything).
What Raykolos is trying to say is that the plugin will not work since the plugin has no config in version 2.4.1, I too have been having the same issues.
I work with Plungedcashew and we are still receiving an error after creating new residences and new residencesigns. We receive this error whenever somebody tries to use a sign. Residence signs was working fine and then it broke...............
2012-07-15 14:40:53 [SEVERE] Could not pass event PlayerInteractEvent to ResidenceSigns org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) atorg.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:287) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:636) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at brandenBoegh.ResidenceSigns.ResidenceSignsListener.onSignPunch(ResidenceSignsListener.java:337) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 12 more
Craftbukkit version: 1.2.5-R4.0 Residence signs version: 2.4.1 Plugins: Admincmd, BananaBackup, Blocklog, Boseconomy, chatmanager, factions, LWC, mcmmo, Multiverse-Core-2.4, Multiverse-Inventories-2.4, Multiverse-portals-2.4, multiworld, PermissionsEx, Residence, Residence Signs, Signshop, vault, Worldedit, ZavAutomessager
@silentnight18:
Thanks silentnight, now what might be causing the issue? One idea we had was that our world was originally made with a special character " ' " and we had to convert everything to the renamed world without it! Please help because we have 0ver 70 rooms in our hotel and properties too!
@Vraaal
There is no real error here, please provide a lot more info, including all plugin versions, and the error log from console.
@Plungedcashew
This is actually an error with Residence, not Signs. Its calling a null variable from a failed Residence variable save.
Hello,I've a problem. When I go put the sign '' [ForSale]'' in a residence, nothing appears, but the [rent] one works.
Residence Version : 1.2.5 - R4. Residence Signs : 2.4.1 - 1.2.5. - R3.
Here is our issue, similar to Simon's Please help! I am getting an error whenever someone creates a sign. All signs that have already been created no longer work.
Craftbukkit version: 1.2.5-R4.0 Residence signs version: 2.4.1 Plugins: Admincmd, BananaBackup, Blocklog, Boseconomy, chatmanager, factions, LWC, mcmmo, Multiverse-Core-2.4, Multiverse-Inventories-2.4, Multiverse-portals-2.4, multiworld, PermissionsEx, Residence, Residence Signs, Signshop, vault, Worldedit, ZavAutomessager
2012-07-06 18:08:00 [SEVERE] Could not pass event SignChangeEvent to ResidenceSigns org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1266) at net.minecraft.server.Packet130UpdateSign.handle(SourceFile:41) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at com.bekvon.bukkit.residence.economy.rent.RentManager.getRentedAutoRepeats(RentManager.java:283) at brandenBoegh.ResidenceSigns.ResidenceSignsListener.onSignCreate(ResidenceSignsListener.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 10 more
Simon_Nilsson We at Cashewandpals have been receiving that exact same issue! One of our coders by the name of Sam tried to post, but it vanished! O.o... I really want to know why me and Simon are getting these errors for it has delayed our server launch a good while! Thanks!
Hello! I keep getting this error when someone tries to buy a region! Please help!
2012-07-06 15:28:57 [SEVERE] Could not pass event PlayerInteractEvent to ResidenceSigns org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:287) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:636) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NoClassDefFoundError: net/milkbowl/vault/permission/Permission at brandenBoegh.ResidenceSigns.ResidenceSignsListener.onSignPunch(ResidenceSignsListener.java:359) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 12 more 2012-07-06 15:28:59 [SEVERE] Could not pass event PlayerInteractEvent to ResidenceSigns org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:287) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:636) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NoClassDefFoundError: net/milkbowl/vault/permission/Permission at brandenBoegh.ResidenceSigns.ResidenceSignsListener.onSignPunch(ResidenceSignsListener.java:359) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 12 more
@silentnight18
When the relase next version with residencesigns for CB 1.2.5-R4.0
@xjonny84x
Added to the lang file, submit the amend you need to me in PM and I will add it for next update.
this plugin is perfect just one thing please add a translation to :"sold!" it's the only thing we can't change ^^
Version 2.4.1 is out now!
(Download may be delayed due to approval time)
Hey, I'm getting the same error as empathdemon. Any fixes? I have a feeling it might be a conflicting plugin? Plugins: AutoMessages, BlockHat, BuyExp, ChestShop, ColoredSigns, CreativeControl, Essentials, EssentialsGeoIP, EssentialsGroupBridge, EssentialsProtect, EssentialsSpawn, Factions, Herochat, Jail, Lockette, LogBlock, LogBlockQuestioner, MobArena, MobDisguise, Modifyworld, Multiverse-Core, Multiverse-Inventories, Multiverse-NetherPortals, Multiverse-Portals, Multiverse-SignPortals, NoCheatPlus, PermissionsEx, Residence, ResidenceSigns, SimpleRegionMarket, SimpleSpleef, SpamGuard, Spectate, Tim, VanishNoPacket, Vault, War, WorldBorder, WorldEdit, iConomy, mcMMO, mcjobs, worldguard
26.06 07:50:40 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 26.06 07:50:40 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) 26.06 07:50:40 [Server] INFO at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197) 26.06 07:50:40 [Server] INFO at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368) 26.06 07:50:40 [Server] INFO at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381) 26.06 07:50:40 [Server] INFO at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238) 26.06 07:50:40 [Server] INFO at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256) 26.06 07:50:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 26.06 07:50:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) 26.06 07:50:40 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) 26.06 07:50:40 [Server] INFO at brandenBoegh.ResidenceSigns.ResidenceSigns.onEnable(ResidenceSigns.java:71) 26.06 07:50:40 [Server] INFO at brandenBoegh.ResidenceSigns.ResidenceSigns.checkLanguageFiles(ResidenceSigns.java:148) 26.06 07:50:40 [Server] INFO at brandenBoegh.ResidenceSigns.ResidenceSigns.writeLanguageFile(ResidenceSigns.java:180) 26.06 07:50:40 [Server] INFO java.lang.NullPointerException 26.06 07:50:40 [Server] SEVERE Error occurred while enabling ResidenceSigns v2.4 (Is it up to date?) 26.06 07:50:40 [Server] INFO [ResidenceSigns] Enabling ResidenceSigns v2.4
Version 2.4 is out now!
(Download may be delayed due to approval time)
@Darrennick
Of course it still rents it out, because false just means not auto repeat. After the rent expires, it will evict and refresh sign to reflect. @disciple218
The Sign has to be IN the subzone, I do this kind of thing on my server all the time. If its in the subzone, it will pick it up.
When you put false for auto update, the signs dont update and still rent the person the room or zone