Inactive [SEC/MECH/ECON] Residence v2.4.2 - Self serve area protection system! Buy/Sell Land! Economy! [1185]

Discussion in 'Inactive/Unsupported Plugins' started by bekvon, Mar 21, 2011.

Thread Status:
Not open for further replies.
  1. Offline



    v2.4.2 Released - 9/24/2011​
    See the change log for details.​
    Everyone using PermissionsEx, Essentials, or anything else besides the regular permissions plugin or PermissionsBukkit should add or change this in their config under the Global section:
    LegacyPermissions: true
    As of 2.4.0 the bPermissions plugin is supported directly.​
    As of 2.3.7 the PermissionsBukkit plugin is supported directly.​
    This support is not done through the new built in Permissions that bukkit provides, because there is no way to get a players group using the built in methods. However, by supporting this directly, you can now use the new permissions system while still keeping Residence, and not having to use old permissions at all anymore.​

    Latest Recommended Build
    Version: v2.4.2
    Download: Residence

    Latest Development Build
    Latest Snapshot: Residence.jar
    Latest Config: config.yml

    Developer API: Wiki
    GitHub Source: GitHub
    DevBukkit Project Page: DevBukkit


    Daniel Few (Wiki)​
    Linaks (Residence Logo)​
    SirHedgehog (Code)
    GSValore (Code)​
    Samkio (Wiki Video)​
    JustinGuy (Code)​

    Residence Signs (by KarnEdge)​

    NOTE: All Residence usage information has been moved to the wiki!

    Residence is different from most protection plugins in that it aims for the users to be able to protect their own homes without having to bother the admin to do it. Residence has support for a variety of different protection types including preventing movement through areas, all of which can be configured by the land owner, and limited by the admin.​
    Features (open)

    • Allows players to define protected areas for themselves.
    • Individual permissions for each protected area. Land owner can give / deny permissions globally or to other specific players.
    • Different permissions per land include: move, build, use, pvp, fire, teleport, monsters spawn, damage prevention
    • Support for group permissions on protections.
    • Multi-World support.
    • Teleport system to allow users to teleport to residences.
    • Collision detection system to prevent residences from overlapping.
    • Limits to protected size can be set up by the admin.
    • Limits to number of protected areas per player can be set.
    • Two ways to select land including using the select command, or using a item to select 2 points.
    • Messages when you enter / leave a residence. (customizable)
    • Land "leasing" system which requires users to renew the lease on their protection every X number of days or loose the protection. (off by default, see config file)
    • Recursive Sub-zoning. Create zones within zones, and then zones within those zones...
    • TONS of configuration for admins. Customize every single flag that players can or cannot use in the config file, based on their permissions group.
    • (Optional) IConomy support, can set up cost per X number of blocks protected.
    • (Optional) Permissions support.
    • In-game help / commands descriptions

    • Fix bug affecting some people with the new save system
    • Support for iConomy 6
    • Prevent enderman from messing with blocks in residences with the -build flag.
    • Paintings are now protected properly (Thanks JustinGuy!)
    • Fix Rent auto-renew bug.
    • Fix other miscellaneous small bugs.
    ChangeLog (open)

    • Support for bPermissions
    • Add "/res pset <residence> [player] removeall" command to remove all flags for that player
    • Added console only command "/resworld remove [world]" to remove all residences in a world.
    • "/res remove" now requires confirmation using the "/res confirm" command, before removing a residence.
    • Fixed subzone flag.
    • Fixed a few null pointer exceptions related to the "/res message" command, and a few other issues with it as well.
    • Fixed few cosmetic rent message bugs.
    • Fixed few mispellings...
    - Added name filter to Residences to prevent characters that mess up YML from being used. This should fix many of the errored YML files that people have been getting.
    - Fixed arrow damage in no-pvp zones (bug introduced in the Residence 1060 update).
    - Added a "Permissions Group" line of text into /res limits, this will show your Permissions group as reported by Residence.

    - Fixes to better handle the piston flag, and world "flow" flags (thx JustinGuy :) )
    - "Use" flag now covers trap doors.
    - Lease renewal can now be pulled from the Residence's bank.
    - Buying a residence now causes the default flags to be set for the user who is buying it.
    - Minor fixes to new PermissionsBukkit support (fix message about permissions not being detected when it actually was)
    - Added a few miscellaneous forgotten commands to the in-game Residence help.

    • Added direct support for PermissionsBukkit (doesn't go through the bukkit API)
    • Added LegacyPermissions true/false config option.
    • Support for residence.admin and residence.create permission nodes using new permission system.
    • Recommend using SuperPermsBridge or something that ensures backwards compatibility with old permissions.
    • Few permission changes to hopefully make it work better.
    • Fix for firespread flag with CB1000.
    • Added "piston" flag.
    • Fixes for CB1000
    • Fixes for a few minor bugs, and for concurrent modification issue with the Lease Manager.
    • Removed subzone list from /res info, and gave it its own command that supports multiple pages, /res sublist <residence> <page>
    • If the save file errors, it will now be preserved rather then overwritten, it will be renamed res-ERRORED.yml, the plugin will now disable itself upon error as well unless the StopOnSaveFault option in the config is set to false.
    • Fixed non-working per-world flags.
    • Fixed a few message bugs.
    • Add /resadmin removeall <player> admin command to remove all residences owned by a player.
    • Changed MaxUpDown in the default config to 128...
    • Fixed issue with /res vert still selecting more then the MaxUpDown allowed.
    • Fixed a few initial issues with a couple language localization messages.
    • Removed area list from /res info, use /res area list [residence] or /res area listall [residence] now.
    • New language localization system, upon first run v2.3 will create a Languages folder under your Residence config folder with the default English.yml file.
    • New in-game help system. (part of the new language localization system)
    • All commands now run without admin privileges unless you specify /resadmin before.
    • Added config option to allow rented residences to be modifiable. (PreventRentModify option)
    • Fixes to improve compatibility with Permissions 3.X
    • /res listall now has pages
    • Added the "physics" flag to control block movement. (separated from the flow flag more like)
    • New ResidenceTPEvent, and ResidenceRentEvent API events
    • Fixed residences not being properly removed from lease / rent system, upon deletion.
    • Fixed bug related to default group option in the config.
    • Fixed global "container" flag bug.
    • Fixed some NPE's related to explosions.
    • Added /resload command to load the save file after you make changes to it (UNSAFE, as it does not save residences first, and so you may loose new residences that were just created)
    • Added per residence Blacklist/Ignorelists that will allow you to specify certain block types to be ignored from residence protections, or unable to be placed in residences.
    • Added Server owned land, use /resadmin server <residence> to change the owner to "Server Owned"
    • Added global Ignorelists which allow certain block types to become unprotectable for the whole world / for a specific user group.
    • Fixed a couple bugs with the lease system, including being enabled when it shouldn't be and the lease auto-renew option.
    • Added "/res area replace" command, allows you to resize / move a physical area. If the new area is bigger, it will only charge you for the difference in size.
    • Added 'waterflow' and 'lavaflow' flags which override the flow flag if set.
    • Fixed a bug causing money to still be charged when failing to add a area to a residence.
    • Fix case sensitivity bug in rent system.
    • BOSEconomy support.
    • Essentials Economy support.
    • RealShop Economy support.
    • Added the 'place' and 'destroy' flags, which if used overrule the 'build' flag. These allow you to give only block placement permissions in a certain area, or only block destroy permissions.
    • /res check [residence] [flag] <player> command, this command evaluates if <player> is affected by [flag] at [residence]. You can leave off <player> and it will use your name.
    • Added a LeaseAutoRenew config option, that will cause leases to automatically renew so long as the player has the money to do so. Note that, if economy is disabled this doesn't work, as there would be no point to leases. Needs Testing! :)
    • Global FlagPermission config section, that allows you to give permission to use a flag to all groups, useful for the build / move / use flag that you almost definitely want everyone to have access to. Flags under each individual group will overrule these.
    • You can now set a limits on how deep or how high protections can go into the group, using each groups MinHeight and MaxHeight settings.
    • /res select sky, and /res select bedrock commands, these auto adjust to the above mentioned MinHeight and MaxHeight settings, so it won't select into a area you can't protect.
    • Rent system implemented.
    • Many bug fixes, including proper creeper explosion prevention now. Also, fixed some bugs when renaming residences.
    • New healing flag.
    • The monsters flag has been split up into "animals" and "monsters" now.
    • New Developer API, including custom Bukkit events.
    • New Global CreatorDefault / GroupDefault / ResidenceDefault flag sections to help clean up the Groups section, and remove redundant flags.
    • Probably some other minor things I've forgot :)
    - Residence 2.0 now in alpha testing, core code has been mostly rewritten.​
    - Supports multiple areas per residence using '/res area <add/remove>' commands.​
    - Added new selection commands '/res select expand' and '/res select shift'​
    - Added Predefined permission lists that can be applyed to residences.​
    - Enter / Leave messages now support %player, %owner and %area variables.​
    - Config file has been cleaned up and most things are better named.​
    - Should be fixed to work with newer iConomy versions.​
    - Save system now only uses yml as save format.​
    - Save system wont corrupt the whole file if one residences gets corrupted, you just loose that one residence.​
    - When a residence changes owner, flags are set to default for that owner.​
    - Added '/res default' command to manually reset flags to default.​
    - Released source code for v2.0​

    v1.2.8 - BETA
    - Fixed broken flag setting permissions.​

    v1.2.7 - BETA
    - Fixed chests being able to be opened from outside protected area.​
    - Fixed enter/leave message (hopefully)​
    v1.2.6 - BETA
    - Updated for CB 612 / Minecraft 1.4​
    v1.2.5 - BETA
    - Fixed tiny bug in saving messages.​
    - yml is now the default save format because its more reliable.​

    v1.2.4 - BETA
    - Fixed bug related to fire / ignite event.​
    - Added ability to remove enter / leave messages​

    v1.2.3 - BETA
    - Added a optional different save system, you can now save residences in pure YML format (same format as config files). See the config file for how to enable.​

    v1.2.2 - BETA
    - Fixed TP bug.​

    v1.2.1 - BETA
    - Fixed bug in new saving system.​

    v1.2 - BETA
    - New save system, will attempt to auto-convert from old system.
    - Fixed some permission bugs when not using permissions plugin.​
    - OPs are now residence admins when not using permissions.​
    - Fixed collisions detection issues related to having multiple worlds.​
    - Added global pvp setting.​
    - Added a "flow" flag to control water/lava flow in residences.​
    v1.1.9 - BETA
    - Fixed a severe bug when not using permissions.​

    v1.1.8 - BETA
    - Fixed a subzone bug.​
    v1.1.7 - BETA
    - Added ability to buy and sell land using /res market commands.​
    - Added a land leasing system which can be configured to expire protections if they are not renewed after a period of time. See the /res lease command. (this is off by default, turn it on and customize it in the config)​
    - Implemented a Auto-Save interval. Saves residence areas every X minutes.​
    - Fixed minor onBlockIgnite error.​
    - Added a few admins commands using /resadmin.​

    v1.1.6 - BETA
    - Fixed spaces not working in enter / leave messages.​

    v1.1.5 - BETA
    - Added Enter / Leave messages for Residences, as well as a permission option in the config to allow / deny changing of them.​
    - Fixed residence admins not being able to modify the outside world when using deny build rights outside of residences.​
    - Fixed issue related to default group.​
    - Added a config option to specify the default group.​

    v1.1.4 - BETA
    - Fixed bug in group permissions...​
    v1.1.3 - BETA
    - Changed the configuration vastly again, server admins now have control over every flag for every group.​
    - Group permissions implemented, but in need of TESTING! :)
    - World permission implemented (default world permissions for when you are not in a residence zone)​
    - Fixes subzone collision bug.​

    v1.1.2 - BETA
    - Fixed residence admins still requiring IConomy money.​
    - Fixed a bug with TNT explosions.​

    v1.1.1 - BETA
    - Fixed bug breaking subzone permissions.​

    v1.1 - BETA
    - Recusive sub-zoning, make subzones within zones, and then subzones within those subzones :)
    - Different limits based on permissions group​
    - New setting for choosing the selection tool item id.​
    - Anti-lag configuration option.​
    - Moved some permissions into the config file.​
    - All protections are now OFF by default.​

    v1.0.1 - 3/21/2011
    - Added permissions / config option to disable teleports.​

    v1.0 - 3/20/2011
    - Initial Release​

    Bug Reports:
    Please include at minimum the following information with all bug reports:
    • CraftBukkit Version
    • Residence Version
    • What you were doing when the error occurred.
    If available, also include:
    • Any server console error messages
    • Other plugins that may be causing the issue
  2. Offline

    Daniel Few

    I have a couple of ideas, don't know if any can be done.

    1. When I create a residence as an admin and rent it, and a Default user rents that residence, they get the +admin flag.
    2. Would you be able to add a exception list to the Build=False flag for the world. I want Build=False but certain block to be destroyable. If that makes sense :/
    3. Would you be able to allow sub-zones to have multiple areas?
    4. Do you think you would be able to add server owned land? If not, if I made residences under my users, DanJames, and then went into res.yml and changed the Owner to ServerLand, would that work? As long as I gave ServerLand some money by editing IConomy table so they can gain money in Rent.
    5. Even though I have EnableLeaseSystem: False, it still says when making a residence 'Your lease will expire...'.

    That's my latest testing/suggestions :p
    I thought there were a couple more, I'll post them when I remember them.
    Sorry to be a pain, just some ideas :).
  3. Offline


    Hey i have the latest version of Bukkit(803) and the latest version of Residence.
    Problem is that residences are removed after a period of time less than that of the lease time.
    Also what are the permissions nodes?
    Some people also get No Economy or something when doing market commands.

    On creating a residence it says. No Economy Interface yet i have iConomy installed and set to use iconomy.
  4. Offline

    Daniel Few

    Can you please paste your config file so I can see how you've got it set up.
    Are you using the latest recommended build or the latest dev build?
    A lot of those problems bekvon has fixed I'm sure. But I'll see what I can do.
    I've just done a lot of testing on the latest dev build so I hope I can fix your problems :)
  5. Offline


    It should generate the save file when the server shuts down (or upon the auto-save). Can you tell me if you have any errors on your server console / log file? Also, do other plugins that generate config files work properly?

    This is a planned feature, but no you can't apply it only to specific residences right now. You can apply it only to specific worlds or player groups, just not yet to Residences.

    1. They should already get the admin flag when its rented... that was one of the last tweaks I made before releasing v2.1.
    2. I still need to setup a ignorelist type of blacklist, that will cause certain block types to be completly ignored from Residence protections (basically unprotectable blocks). That will come soon hopefully :)
    3. This should be already possible, you should be able to use the same /res area commands to manipulate subzone areas. One note though, all subzone areas must still remain within their parent zone, and also the person making those areas must still have "subzone" permission for the parent area (or be the owner).
    4. This is also still planned, although something like your solution may actually be what I implement... The owner name for server land will be "Server Land" with a space once it gets implemented, the space is there to ensure that no player could get a minecraft account named ServerLand and get all that money heh :)
    5. Thats a bug that I found, fixed it in the dev version. What was happening is the LeaseAutoRenew option was overwriting the UseLeaseSystem option instead. So to temporarily fix it, set LeaseAutoRenew to false or just get the dev build :)

    I did find a issue with the lease system that is partially related to your problem. The LeaseAutoRenew setting was basically overwriting the UseLeaseSystem option instead of being its own option. This means, that it was impossible for lease auto-renewal to be enabled. This doesn't seem to be the problem you were having though. The lease system runs entirely off of the system clock, and so if that changes it will affect the lease system. Other then that, I'm not really sure, how much sooner was the residence removed then should have been?

    As for your economy problem, I'm going to assume you have already made sure that EnableEconomy is set to true in the config. What kind of message does residence put out when your server starts? Does it say successfully linked with iConomy or somthing else? Also, what iConomy version are you using. This should support both 4 + 5, but support for 5 is less tested since its newer.
  6. Offline

    Daniel Few

  7. Offline


    Messages within a subzone, I had it working, now it isn't. Invalid residence or whatever it says.
  8. Offline

    Daniel Few

    What version of residence are you using? Recommended Build or Development Build?
    I have been testing the Development Build and enter/leave messages on subzones works. Just stand inside the subzone and use '/res message [enter/leave] [message]' command. I don't know if there is a problem with this on Recommended.

    So would the ignorelist just let blocks destroyable in ANY residence thats on those lists?
    If possible can you make this per residence? I don't know how easy that is.

    I've got a residence around my towm, and all buyable land/rentable properties are subszones. I want that main zone to allow the destroying off tree, ironore, coalore, diamondore, sand, gravel, clay, redstoneore but everything else is build=false. However, if these blocks are placed inside a subzone, i do not want them to be destroyable.

    Does that make any sense AT ALL? Lol
    So atm is there no way to do this?

    Thanks fort the update to API, I'm not getting that error anymore. Just need to fix the scheduler now, howeever doors still don't seem to be shutting :p I'll have a look at that later and hopefully post it today.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 17, 2016
  9. Offline


    Thanks for the help.
    As per requested my config file -
    Also using Recommended Build not Dev.
    And the error message - No Economy Interface Found/Loaded
  10. Offline

    Daniel Few

    This may sound like a VERY silly question, but do you have IConomy installed?
    Also, are you sure IConomy is set-up correct eg. have you been using it with other plug-ins?
    The only other thing that may be interfering is that EnablePermissions is set to False. I'm not sure if you need permissions enabled on residence for IConomy to work.
  11. Offline


    Yes i have iConomy.
    I set it to false because i do not know the permission nodes and no one could use any commands. xD
    iConomy works fine with other plugins ie. BetterShop.
  12. Offline

    Daniel Few

    There are only 2 permission nodes, the rest is set-up in the config.
    The permission nodes are:
    1. residence.admin - gives all admin privileges as well as the ability to by-pass all restrictions
    2. residence.create - allows the creation of a residence
    I would suggest trying to set permissions to TRUE, and give your default users 'residence.create' and see if that helps.
  13. Offline


    @Daniel Few
    I'll give it a go i thought there were more nodes like etc. :p
    I'll let you know how i get on. Cheers for the help.

    EDIT: Looks like it is working now.
    Thanks :)
  14. Offline


    Im kinda lost here. I have tried to create a residence but I keeps saying that I am over my area size limit. I am in the Default group in permissions and I even tried to set the default limits to a very large number and It still says that. Any suggestions? Running 803 on Ubuntu 11.04. No conflicting plugins that I am aware of.

    Edit: I think I got it now. I was using vert to select my height because I didn't know of the expand command. Seems all is well now that Im not trying to take over everything lol
  15. Offline

    Daniel Few

    No problem. Glad I could help. :)
    Samkio likes this.
  16. Offline


    I don't know if it have been report but since I upgraded to 2.1 (same issue with 2.13) the new command "/res select bedrock" don't work. The result is always y=1. However the "/res select sky" and "/res select vert" work perfectly.
    I use bukkit v.803.

  17. Offline


    Bukkit ver: 766 , Res version 1.2.8
    Can I somehow block the use of buckets in the residence, because the griefers somehow fill it with water or lava?
  18. Offline

    Daniel Few

    Yes you can, and you have two options.
    1. In the 'global' flags, set 'buckets: false' (not sure if it's bucket or buckets and i'm also not sure if this can be applied the world.
    2. Blacklist buckets at the bottom of the config.yml.
    Hope this helps,
    XtenD likes this.
  19. Hi @all,

    i've got a little problem mit Residence.
    It works fine, it's great, i love it, but we've got server-lag (message inside console and ingame) since 2 days.
    I registered an area of 300x300 with a high from bedrock to sky and 8 more areas with just 6x5 and height of 4.
    There are no errors, everything worka great, but the lag :(
    Is it possible, that Residence and BigBrother are a little to much for the minecraft-performance?
    Anyone else mentioned this problem before?

    I hope someone can help me! ;)

    I think it's a problem with the movecheckinterval!
    But it's at 1000 in my config :/
  20. Offline

    Daniel Few
    Are there many people coming in/out your residence. You may want to check in config for:
    MoveCheckInterval: 500
    The lower this is, the quicker residence picks up on players in the wrong place. However, if set to, for example, 1, it would be checking every milisecond and can cause server lag. 500 is a good balance.
  21. I tested it with 1000 and no there are not many players, just 2 online while testing and i got the lag-message while moving through on of the small residences. When the console-message came, we got some lag ingame.
    So strange :(
  22. Offline

    Daniel Few

    Sorry what was the lag error message?
  23. [WARNING] Can't keep up! Did the system time change, or is the server overloaded?

    It's not overloaded ;)
  24. Offline

    Daniel Few

    That's not a residence error or any other plugin. It's a fault with MC. I've heard a good way to fix it is to do the following (i think just the server needs to do this):

    Windows 7:
    1. Click on windows clock in system tray
    2. 'Change date and time settings...'
    3. Goto tab 'Internet Time'
    4. 'Change settings...'
    5. [x] Syncronise with an Internet time server - tick that box
    6. Server:
    7. 'Update now'
    It stops the messages sometimes. The other thing to check is are you supplying enough memory to the server. Right click on your batch (.bat) file and edit with your text editor.
    I have a 4gb. So i set that to ' -Xms1024M -Xmx1024M' both to 1024. Maybe you should try that.
  25. Offline


    Thanks for the help, it worked
  26. Offline

    Daniel Few

    No problem. Glad I could help.
  27. Offline


    Mobs seem to still be spawning for me even when set to false?

    edit: the same goes for pvp
    edit: the only flag that MAY be working is no creeper explosions
  28. Offline


    Hey i would like to ask if how the rent works ? Cause i want 2 people to live in one residence but i dont know how to any help ? Or is it the rent ?
  29. Offline

    Daniel Few

    I didn't quite understand your post.
    If the question is 'can two people rent a property' then the question is no. Also there can not be two owners of a resdidence either. However you can make a residence and give one the owner and one the build/use/container/move flags.

    NOTE: The rent system is so an owner of a residence can rent out their property for others to use for a set amount a day. It can charge them per RL day a certain amount.
  30. Offline


    What the ..
    [WARNING] Task of 'Residence' generated an exception
        at com.bekvon.bukkit.residence.Residence$
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(
        at net.minecraft.server.MinecraftServer.h(
    Latest Residence 2.1.3 and #803 RB
  31. Offline


    Found the issue, it looks like it was trying to check a lease on a Residence that had been deleted. I added a check for it in the development version, should be better now. :)
Thread Status:
Not open for further replies.

Share This Page