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.
i think when putting a sign on an allready existing rentable, it confuses the boolean on the sign for auto-rent
aand i want to know if i can allow players who rented a place to change the places name.. mb some workaround?
When i try to put it forsale... I mean when i put the sign into the residence and write [forsale] and price it writes in console:
[SEVERE] Could not pass event SignChangeEvent to ResidenceSigns org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1300) at net.minecraft.server.Packet130UpdateSign.handle(SourceFile:46) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NoClassDefFoundError: net/milkbowl/vault/permission/Permission at brandenBoegh.ResidenceSigns.ResidenceSignsListener.onSignCreate(ResidenceSignsListener.java:174) 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:330) ... 14 more Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.permission.Permission 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:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 20 more
HELP ME
@silentnight18 Im getting exactly the same problem as datwerd86. When you place the signs in the subzone using the method you provide the sale sign gets placed without a problem and it works exactly as it should work. Then after a server restart if any player left clicks a sign it gets destroyed and says "Residence no longer exists removing residence sign". This happens regardless of ownership of the subzone or build rights and there is no error message in the logs. After the message you can just place a new sign with [ForSale] and the sale information is displayed again, so the residence was/is never removed. This creates many problems as the ForSale signs should not be able to be destroyed by a person with no permissions.. Thanx for any help.
Help i have this problem [SEVERE] Plugin ResidenceSigns is attempting to register event com/bekvon/bukkit/residence/event/ResidenceRenameEvent, which does not exist. Ignoring events registered in class brandenBoegh.ResidenceSigns.ResidenceSignsListener 2012-09-16 04:33:22 [INFO] [ResidenceSigns] Successfully Enabled. 2012-09-16 04:33:22
@datwerd86
Same here. Even though players do not have permission to build in zones they are still able to break the signs. Tried LWC to protect the signs as well but it still breaks on click..
@datwerd86
haha man im an idiot...i guess that would make sense huh? haha thanks
@LegendaryCruzer
im having the same problem as you are, been looking for a fix for around 2 weeks now
@Exician
UnknownDependencyException: Residence
just install residence plugin too ;)
2012-09-08 20:13:02 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R2.0-b2340jnks (MC: 1.3.1) (Implementing API version 1.3.1-R2.0) 2012-09-08 20:13:02 [INFO] [PermissionsEx] sql backend registered! 2012-09-08 20:13:02 [INFO] [PermissionsEx] file backend registered! 2012-09-08 20:13:02 [INFO] [PermissionsEx] PermissionEx plugin initialized. 2012-09-08 20:13:02 [SEVERE] Could not load 'plugins\ResidenceSigns.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Residence at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:195) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
I try to start my server and this happens....I actually tried all your recent verions of residence signs and the same thing happens. I used V2.8 for this error though. Thanks for any help.
I've got a Problem. Every time I restart my Server and click on a Sign it says:
Residence no longer exists, removing Residence Sign.
And the Sign drops.
ResidenceSigns: 2.9
Craftbukkit: 1.2.5-R4.0
There's no Console Error
@silentnight18
please read your pm's i have provided you with more information there.
thanks
@kiremaru
First, update to 2.9.
Second, Get/Update Vault.
anyone can help me with this? the problem is when I try to put a sale sign
I'm still running Minecraft 1.2.5 on server recently updated to res signs version 2.5 and had to redo all my signs, found out that if you set the auto renew to true then ressigns does not create the sign when you enter [Rent] on the sign would appreciate it if you could fix that, because at the current rate mods are converted to 1.3.2 we might still be stuck with minecraft 1.2.5 for a very long time.
@datwerd86
You still are providing close to zero information, not a single log. I run all my signs, still running flawlessly, 100 some purchase signs, 300 some rent signs now. Never a single error. My guess is this may be an issue with the way u have ResSigns and Residence set up and how u are doing your signs. Once again please provide something I can actually use to attempt to look into this possible issue.
@silentnight18
i am following instructions exactly. Placing the signs on the Subzones entering [ForSale] on top line and price on second.
After a server restart the signs will be removed on clicking saying Residence no longer exists removing residence sign. however when checking with the residence tool the residence is still there and set for sale. replacing the sign lets people use them as they should till the next restart. If the signs do not just drop off they revert to sold status no money is deducted from player account and the property does not change owner.
I am really getting sick of replacing all like 200 of my signs each restart any help with this problem would be greatly appreciated.
@datwerd86
You are the only person to have this issue, its not the version, its something you are doing. I tested this live on my server for a week before launching and all 348 of my Signs are functioning properly.
Provide more info if you would like help resolving what you are doing wrong.
version 2.9 does not save signs after restart.
signs fall off and you get a message saying residence no longer exists :/
Version 2.9 is out now!
(Download may be delayed due to approval time)
Signs are reverting to sold status but players do not receive ownership.
I don't understand how this plugin got so complex compared to the original that did not save the signs just checked their text and location upon right clicking.
this is a very necessary plugin to provide people most of which do not know the residence market commands access to sell and buy property.