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


    Can someoney explain to me whats the difference between leasing and renting?
  3. Offline


    leasing is to the server, whereas renting is between players.
    thats the main diff as far as i know (i.e. leasing players don't permanently own land, once the lease expires it goes back to the server.)
    and u can rent out an area (like a base or something) to another player and you gain income. cool huh?

    admin's override this functionality (i.e. create subzones at will) and admin's also have the ability to re-asign a property to another player (/resadmin setowner) so an admin could set up all the areas and either sell them, or just assign them to players. i don't believe there is a flag you can set to just allow players to create subzones within another player's area
    EDIT: feel free to correct me DanJames
    EDIT2: try the subzone: flag, protecting and modifying a seclection#Flag (i feel dumb... it's 1am :( )

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


    I have 2 areas (for example):
    1. residence: MineTown and areaID: main; Coordinates: 0, 0, 0 - 9, 3, 9
    2. residence: ExtTown and areaID: main; Coordinates 9, 0, 0 - 12, 3, 6
    I not understand. How make big one 'MineTown' (add 'ExtTown' in 'MineTown')?
  5. Offline


    have you looked into: /res area <add/remove> <residence> <areaID> - Add or remove areas to the residence. These can overlap with areas of the same residence.

    havn't tried the command myself.
  6. Offline


    This might have been asked already but I have not seen what I read through. I could have missed it.
    I have noticed something that happens that actually makes our lives a bit tougher using this plugin.

    When a user makes a zone that user(owner) gets all the flags that has been set in for owners in the configuration file.
    However if that user wishes to add a member to his area that member will not receive the same flags as the owner or there is no place to set up a mask of flags that members should get. This results a admin or owner having to type many commands to allow a member to have the required flags that are needed to assist in building in a protected region.

    Any chance we could have a command that would allow users/admin to have a mask flag configuration that would be connected to a command that would give members the required flag permissions?
    e_zach likes this.
  7. Offline


    agreed, that would be nice something like /res adduser NAME
    although you would have to then have different masks per group per residence which is getting a bit icky. (users/admin per residence customization)
    or am i way off track?
  8. Offline


    But need algorithm for extend area. I get message "Area name already exists.", "Invalid Residence". But I can't extend area. :(
    I know about this command, but how it works?!?
  9. Offline


    I have three problems, hopefully it's something in my config and not a bug:

    1. Another player's residence has -use and -container, but I can still look inside his chests (small and large) and take stuff out or put stuff in. It says the "You don't have container access for this Residence" message, but I can use their chests anyway.
    * When doing /res info on his residence, it shows "Your Flags: none". No player-specific flags for me. No Group flags specified. Other Flags shows "-build -container -use" for the residence.
    * I am not a Residence Admin (says so in /res limits)
    * I am a server OP (but we tried while I was de-op'd also, same result).
    * This DID temporarily work at one point but only when I had something in my hand lol. (Empty hand = can look in chest -- I can't reproduce that behavior anymore though)

    2. I get "area size not within your allowed limits" messages when I shouldn't. I set these max values (and then restarted server, and verified that i see the 1000's show up in /res limits):

    # The maximum number of blocks a Residence can be, East to West (X).
    MaxEastWest: 1000
    # The maximum number of blocks a Residence can be, North to South (Z).
    MaxNorthSouth: 1000
    # The lowest altitude this group is allowed to protect.
    MinHeight: 0
    # The highest altitude this group is allowed to protect.
    MaxHeight: 127

    ...but it seems the height of the selection cuboid has an impact on generating the "Area size is not within your allowed limits" message. For example:

    I first made a selection of a large-ish area with a height of 0 (zero) and got the following message: "Not enough money for new residence area, you need: 1253."

    Then I made it a height of 1, and again got the same message, but the amount of money needed doubled.

    Finally, I did /res select vert (and in my case, this makes the height 128), and instead of saying I don't have enough money, it says: "Area size not within your allowed limits."

    3. Height of the residence has an impact on how much it costs (as shown in #2). Is there a way to configure that all residences have an implicit "/res select vert" and that the cost is purely based on the two-dimensional X/Z area size?

    Thanks and good job with the plug-in! :)
  10. Offline


    If this was already asked or answered I apologize.
    I can't for the life of me figure out how to have more than one owner on a Residence, is this possible? and if so, how?
  11. Offline


    about /res tp <place>, how can I set the point in the place when the people spawn after the teleport?
  12. Offline


    i don't believe so, you can only set individuals permissions (allow them to build use etc)
    '/res tpset' it's in the /res ? :)
    im honestly not sure, i haven't tried it. sorry i couldn't be of more help.
  13. Offline


    Oh, damn, well can I request that you make it so that Residences can have multiple owners?
  14. Offline


    Multiple owners would be nice and possibly a copy flags command
    Possibly a /res addowner playername option to have multiple owners
    and also a /res copy flags playername ; /res copy flags playername1 playername2 to copy flags from self/other player
    e_zach and Courtney like this.
  15. Offline


    Hi first thanks for this grate Plugin.

    And now the second one :) i had found a strange Bug with TNT in the Zone's. In some Regions in the Zone TNT cant Explode and some Chuncks away from this he can Explode. I become no Message in the Log or so, and the flag for TNT is True. Out of the Zone's TNT can Explode evrywehre.

    Have some other Guys this Problem?

    (sorry for my bad english)
  16. Offline


    hey there,
    would just like to report an issue with buckets (if it hasn't been already brought up)
    im the admin on my server so i have OP powers and also all permissions.
    just discovered that i am unable to place/remove water (haven't tried lava) within another person's residence and im getting 'You don't have permission to use buckets here'
    seems the bucket protection's a tad overzealous :p
    Im on residence 2.1.4 so not sure if this has been fixed with the 2.2 update.
    p.s. i can't update or check if there's any trackbacks atm, as im at home away from the server, if there's anything i'll post details tomorow.
    EDIT: im running #818 and permissions 3.1.1
  17. Offline


    Is it intended that creepers don't do any damage to players anymore in residences with -creeper? I kinda liked the "only entity damage" version more. Maybe bring it back with some config-entry? :(
  18. Offline



    I use Permissions 3.1.4 with Residence 2.2. I have given the permissions residence.create to group "Builders" (group which is the lowest group except from Default users). When they try to create they're own Residence they get the message "Area size not within your allowed limits". This is weird to me since the only thing I changed in the config file is to switch from a WoodAxe to a GoldenAxe to use as selection tool.

    Could anyone assist me on this on?
  19. Offline


    i personally hated that, so long as it's not that behavior by default :p (if implimented)
    someone had the same issue a few pages back, it was to to with the up/down limits i.e /res select vert
    see if you can fix it the same way they did
  20. Offline

    Daniel Few

    I'm sure I can use this fine. I'm always updated to the latest Residence dev build, but I may be wrong about bucket placements. I don't place buckets very often :p
    So as an admin (- '*') you can't place buckets in other peoples residence? I'll give this a test later and see :)
  21. Offline


    Yes, this was already broken in Residence 2.1.4 and Minecraft 1.5.
  22. Offline


    same, first time i've tried to use them within someone else's residence (cleaning up half destroyed place :p)
    thanks man, happens even with the residence.admin node set manually as well (-'*' should include everything, but i tested it anyway.)
  23. Offline


    Hi, don't know if this has already been suggested, but I couldn't see that it has already been added to Residence, or been suggested, but is it possible to add a 'Heal' flag? So when the person is in that certain residence, they get healed. People on my server want to be able to create a hospital with this flag. Thanks. :)
  24. Offline


    Does anyone know how to change the owner of a residence? Or how to setup residences with someone else than me as the owner?

    Found the command. Sorry for the inconvenience.
  25. Offline


    It's the number 1 plugin for every server...
    However, it seems the explosions flag isnt working. If i try to write "/res set explosions true"
    i get a response "invalid Flag"
    Plugin mistake or my fault...
    Response pls
  26. Offline


    can you add members and owners to a selected residence?
  27. Offline

    steven arenz

    hey residence doesnt work it keeps saying u havent select 2 points yet and i have
  28. Offline


    If I want to make a city with a castle and lots for sale, How can I protect the roads, the castle and at the same time have the losts within the city for sale?
  29. Offline


    the explosions flag was removed after 2.0, there is now tnt and creeper flags
    there's a 'healing' flag in the wiki which is mentioned, see if that works :)
    if one of the directions between the points is zero it will throw that error. e.g. you select a square on a flat area. "/res select vert" will select from bedrock to the sky.
    i use subzones. the town on our server is basically one large area, where i placed road, and then i subzoned off lots within it, which i then placed on the market for players to buy. So the main area is New_Town and the lots people can buy are New_Town.1, New_Town.2, etc.
  30. Offline


    The Animals Flag isn't working.. I try setting it to false but they keep still spawning.. also this is the only mod I have.. using 818 CB
  31. Offline


    Ok.. thanks for the information about the Creeper and TNT flag.
    Maybe you could update the /res set ? command then ;)
Thread Status:
Not open for further replies.

Share This Page