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


    Yay !
    2011-06-04 12:01:12 [INFO] [Residence] Found Permissions Plugin!
    2011-06-04 12:01:12 [INFO] [Residence] Successfully linked with iConomy!
    2011-06-04 12:01:12 [INFO] [Residence] Save File not found...
    2011-06-04 12:01:12 [INFO] [Residence] Enabled! Version v2.1.4 by bekvon
    No res.yml file was created, I guess I'll have to remake them but it's ok :)
  3. Offline


    please make it so tnt is not blacklisted from the server ughhhh it really gets annoying just let the people if they want download a blacklisting mod but dont add it to this amazing mod
  4. Offline


    Just remove the blacklist ? ...
    You only have to remove the "DefaultList"
  5. Offline


    I cant find global world build :/
  6. Offline


    he means in the global flags set build to false
            Global: #these are default for all worlds unless specified below, they can be overridden per group
                use: true
                build: FALSE # this line here!
                ignite: false
                firespread: false
                damage: true
                creeper: false
                tnt: false
                pvp: true
    edit: highlighted use instead of build

    you could always try to manually fix the file... but if it's mostly NULL's there's not much u can do.

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


    I am trying to create a large residence, but I keep getting messages saying that my area size is not with my allowed limits. The limits are set to 999 north/south, 999 east/west, 127 up/down. Another user is having the same problem. It worked just fine before the updates. How might the admin and I fix this?

    Tried changing the limits to 9999, but it made no difference. [3]
  8. Offline


    it may be the 127, i have to fix this myself, there's 128 blocks high in a chunk, also do u have residence.admin node added? (if ur using permissions) that i believe ignores any limits

  9. Offline

    Daniel Few

    Yes residence.admin ignores any limited so if you want to be able bypass any restrictions have this in your permissions.
  10. Offline


    With Admin I can create, but I want the normal player can create, he can not destroy any other residence
    In the previous version worked very well>. <
  11. Offline

    Daniel Few

    What so he can't remove even his own residence?
  12. Offline


    I can not even create a residence.
    select the points, I do /res select vert
    It expanded into the sky and bedrock
    And when I write the "/res create home" shows that message
    "area size is not allowed with my limits"

    If I do not /res select vert, it works, can protect the terrain
    But when I write select vert, not working

    Sry for my english :X
  13. Offline


    that's probably the height restriction of 127, try setting it to something like 256, and see if that works

    EDIT: the up/down value
    EDIT 2: also try changing the max/min heights
  14. Offline


    I do not know what I did, but suddenly it worked! \ o /

    My current configuration is this:

    MaxEastWest: 200
    MaxNorthSouth: 200
    MaxUpDown: 127
    MinHeight: 1
    MaxHeight: 127

    Thank you for your attention, thank you so much *-*
  15. Offline


    np, i'll have to do the same :p
  16. Offline


    I have CB 818 and did a "reload" from console:
    17:06:19 [INFO] [Residence] Found Permissions Plugin!
    17:06:19 [INFO] [Residence] Loaded Residences...
    17:06:19 [INFO] [Residence] Enabled! Version v2.1.4 by bekvon
    17:06:19 [SEVERE] java.lang.ClassCastException: net.minecraft.server.ContainerFurnace cannot be cast to net.minecraft.server.ContainerPlayer
    17:06:19 [SEVERE]       at org.bukkitcontrib.player.ContribCraftPlayer.<init>(
    17:06:19 [SEVERE]       at org.bukkitcontrib.player.ContribCraftPlayer.updateBukkitEntity(
    17:06:19 [SEVERE]       at org.bukkitcontrib.BukkitContrib.onEnable(
    17:06:19 [SEVERE]       at
    17:06:19 [SEVERE]       at
    17:06:19 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    17:06:19 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    17:06:19 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    17:06:19 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.reload(
    17:06:19 [SEVERE]       at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(
    17:06:19 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(
    17:06:19 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    17:06:19 [SEVERE]       at net.minecraft.server.MinecraftServer.b(
    17:06:19 [SEVERE]       at net.minecraft.server.MinecraftServer.h(
    17:06:19 [SEVERE]       at
    17:06:19 [SEVERE]       at
    17:06:19 [INFO] BukkitContrib 0.0.2 has been initialized
    17:06:19 [INFO] [LogBlock] Permissions found.
    My config file is quite big. I'm not using any iconomy support but looks anyway more like a CB issue rather than Residence, right?
  17. Offline


    Hey i found something interesting. I dont know if it's a been report.
    Player can place half block on a half block in a -build Zone. However, they cant remove placed half block or remove existing half block. Any type of placed half block will always become a stone half block.

    I hope greifer doesn't read this :p
  18. Offline


    it's an invalid cast from the 'BukkitContrib' plugin (i have no idea what plugin that is) i'd post it on their thread
  19. Offline


    You only need to create your selection within your main zone and tape /res subzone <subzone name>.
    remember to remove a subzone you need tape /res remove <mainzone>.<subzone> instead of /res remove <subzone>.

    After that, you can assign the subzone to a player using this :
    /resadmin setowner <mainzone>.<subzone> <player name>

  20. Offline


    Thank You ;)
  21. @bekvon

    Is it possible, to add iconomy-support for the "/res tp" command?
    So that a residence-owner can set costs for the teleport to his residence?
    Would be nice!
  22. Offline


    The Selection tool stops working randomly - it takes a reload of the server to fix it.
    Any ideas why? The residences keep working, and the commands do too, but the selection tool just stops. It doesn't select points.

    Heres my residence config:

    Res: 2.1.4 CB: 818
    This never happened before the MC update, Im not sure why it is now and I cant seem to find any errors.
  23. Offline


    Thank you so much for adding a healing flag like I asked! Your great. Two questions, what kind of support does this have for realshop? Also, any chance of adding support for showcase plugin or would the support have to be on their end? Thanks again!
  24. Offline


    v2.2 is out, and adds per Residence Blacklist/Ignorelists which do the following:

    Ignorelists allow anyone even without Residence permissions, to destroy a certain block type. So you could set up a "Foresting" area where only trees can be destroyed by setting the "build" flag to false for everyone and then adding "LOG" to the ignorelist.

    Blacklists prevent anyone even with Residence permission from placing a block in a Residence. So if you wanted to prevent anyone from placing sand in your residence for whatever reason, you could blacklist it and no one could place it even with build permission.

    Finally, I also added global Ignorelists which do the same as per Residence ignorelists, except globally. So you can set global build to false, except for certain block types (once again, maybe forests or something).

    The wiki should hopefully have this info soon :)

    Hmm, that's odd.... I'll look into it as that does seem like it could be kinda serious lol... :p Don't guess you know if it did that before the MC 1.6 update? Could be a new bukkit bug after the update.

    Hmm, thats odd. But you can still select using /select command? It may be some weird bukkit issue, I know they were having a bunch of trouble with 1.6 at one point, but nonetheless I'll try to do some testing on my end as well to see if its a Residence issue.

    Yea, could probably do that. What I actually should do is add a custom bukkit event for it so that another plugin could do something like that also. :)

    RealShop economy should be supported, but I'm not sure how well tested it is. Give it a try and see :) I'll check out the showcase plugin.
  25. Offline


    I'm also having trouble with using the tool for WorldEdit. Is anyone else having trouble with any of the selection tools?
    And yes, /select does work, but it'd be nice if it could select where you're looking like WE. Would that be a future possibility?
  26. Offline

    Daniel Few

    I haven't updated yet, but I can give this a test tomorrow to see if I'm having the same issue :)
  27. Offline


    # Enable / Disable Residence's Economy System.
        EnableEconomy: true
        # The economy system to use (iConomy, MineConomy, Essentials, BOSEconomy, and RealEconomy supported).
        EconomySystem: iConomy
     # The cost, per block, of buying a Residence or adding a area to it.
              BuyCost: 5

    That's my settings, but I don't loose 5 iConomy money when I buy anything?
    Or is that for buying a premade residence, or just making your own selection and buying?
  28. Offline

    Daniel Few

    The Set-up and Confiuration page on the Residence Wiki is now mainly up-to-date.
    If you find any part hard to follow or need more information, please post here with details on what you want changed and I'll try and improve it.

    Residence Wiki
    Setup and Configuration
  29. Offline


    Thanks for the very hard work on the support side of this! I said it before, but cant mention it enough. (and thats despite me never having any problems with the problem :D I just love the fact how you support it)
  30. Offline

    Daniel Few

    This is for when this group 'buys' as in 'creates' a Residence. NOT purchases one on the market.

    EnableEconomy: true - all ok there
    BuyCost: 5 - this means that when this group use the selection tool and 'create' a residence using /res create, it counts how many blocks are inside that area and charges 5 per block.

    Hope this helped,

    Thanks for the comment :)
    Nice to know it helps people. I actually hadn't updated in a while as I've been busy but my plan now is to get the wiki fully up to date for v2.2. I'm just trying to help because it's such a useful plug-in and bekvon works hard enough on the code ;)
    Thanks again,

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



    So, thanks for the continued work on this.

    Quick question/request:

    As others have mentioned, renting currently is a bit of a meh thing, as you only get to..well..have a part of a residence but arent able to do anything. How hard would it be to enable a per-residence settings thing of *which* parts the renter can change? So I could allow, for a specific residence subzone, that when rented the person that rented can access chests and place blocks, but not change anything else. It's a bit like the 'lease' permissions, but more restricted.

    Hope you got what I mean, if not, dont worry :D
Thread Status:
Not open for further replies.

Share This Page