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


    apparently you can't lease subzones
  3. Offline


    @Olof Larsson
    I don't know which one of you need to fix it, but the center of a residence Residence seems to be incompatible with Vampirism. Vampires catch fire at the center of a residence.
  4. Offline


    Same here, CB612. Bekvon, please find a way through it ASAP, because this is really an essential plugin for my server :/ And it's just AWESOME, i don't even want to think about any other self-serve protection plugin. Thank you!
  5. Offline

    Daniel Few

    How do i set it so players CAN build in certain areas. These are my DEFAULT flag when creating a residence:

    Flags: -pvp -explosions -tp -damage -use -monsters -flow -build +move -fire
    Group Flags: default[-tp -use -build +move] admins[+tp +use +build +move]

    This means that when i create a residence as admin, people can ONLY move inside the area. I want to create a res, and then set it so ANYONE can delete the blocks inside. (this is for a mining spot).

    My world is set to -build on the residence settings and BUILD=True on world settings. So the world says u can, but then residnece says dont let them.

    If you need any more info please ask, i really need help on this one.
    If you have the time, please can you come on and give me a bit of help on this residence setting. If it can be done, should only take 5 mins:)
    IP is:
    (This server isn't open to public, so it's usually white listed. I don't want this to come across as advertising as this server isn't even open yet. I'm half way through building it. Just thought i'd mention this)

    Thank you!!
  6. Offline


    I have only a little question.

    Is it possible to disable the teleport flag for users? Maybe in the config?

    If not, can you add a permission node for this flag? Don't want that my users port all the time.
  7. Offline


    Anyone test this on version 670 yet?
  8. Offline


    Just did. It loads without errors, however I have not tested for full functionality
  9. Seems to be working for me on 670

    Pardon me if this has already been asked, but what is it saving on 10 minutes intervals? I couldn't find a thread search function and I didn't want to scan through 14 pages of posts.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 12, 2016
  10. Offline


    It saves all residences in this interval. If the server gets timeout, all residences would been removed if the save interval wouldn't be exist.
  11. Offline


    Hey everyone, just a quick status update on V2.0. I have multiple physical areas for each residence working now, and I also have added functionality to the selection tool. With 2.0, you can do '/res select expand 50' to expand the selection by 50 in the direction your looking. Ive also redone most of the config file now, so that hopefully its easier to read. Also, should have most of the save system issues fixed, although that still needs more testing. If one residence is invalid, you now only loose that residence rather then it corrupting your whole save at least. Things left to be done include permissions lists, as well as maybe a few command aliases, a few more tweaks to the config file, and alot of testing. I hope to have it out in a few days, but that depends on how real life goes :)
  12. Offline


    Seems to work fine for me in v670. I am experiencing a bug though. I create new residences and then they seem to disappear after a short while. Probably just some user error honestly...

    Oh yea, in the current version, when I try to mirror flags, it is wiping all flags from the source and destination areas. All except +move and -build however. Also, as an Admin, when I create residences, since I am not in any group listed in the Residence config, it is giving me default lease times that are like 5-10 minutes, and if I don't "/resadmin lease set infinite", they disappear. Was quite frustrating figuring that one out.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 12, 2016
  13. Offline


    Great plugin! However, I am still stuck with using WorldGuard for fire and explosion protection since this plugin doesn't handle it very well. Is there any way you could make it an option to still let Creepers and Ghasts explode, but not TNT? Also, can you let people use the lighter, but just disable fire spread? A lot of my users use the lighter for fireplaces, traps, activating nether portals, etc. and this prevents them from doing that. I just want fire to not spread or burn anything.

    If you can do this, I can finally stop using the beastly and slow-to-update WorldGuard! :D

    Also, multiworld support please?
  14. Offline


    This plugin works great for us at my server; it's great to let users protect their own areas and have the rest be wild; but for some reason lately permissions work fine, but they always get a permission denied message, regardless of whether they have permissions or not (it still lets or doesn't let them build correctly, just spams the message)... Am I doing something wrong here?
  15. Offline


    Will someone pay attention to my error? Error: Unable to get iConomy Accounts whenever a transaction through Residence is attempted. CB612 iCo 4.6.5
  16. Offline


    the residences in the res.yml or .dat
  17. Offline


    oddly enough i have also run into this problem.
    one of my players residences has 6 blocks he cannot build on
  18. Offline

    Daniel Few

    Same here, if someone can solve this issue it would be great. Because i can't use this plugin until i know why this is happening. ;?
  19. Offline


    nag nag nag
  20. Offline


    Hmm, I'm using the current version (1.2.8). For some reason I can't make subzones. It's telling me "You don't have access to subzoning". I am admin and Op as well. Any ideas?
  21. Offline


    Did you find a way to fix it?
  22. Offline

    Daniel Few

    I'm still getting the problem that it say's

    Can't access iconomy accounts or something like that

    anyone know how to fix this?

  23. Offline


    Any possibility of adding a friend in your residence so they can build inside the area?
  24. You can already do that. Just pset the build flag to true for your friend.
  25. Offline

    Daniel Few

    Im getting this error :/ it was working but then i restarted and got this...

    22:01:23 [SEVERE] com/nijiko/coelho/iConomy/iConomy loading Residence vv1.2.8 BETA (Is it
    up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at com.bekvon.bukkit.residence.Residence.checkIConomy(
            at com.bekvon.bukkit.residence.Residence.onEnable(
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at net.minecraft.server.MinecraftServer.e(
            at net.minecraft.server.MinecraftServer.a(
            at net.minecraft.server.MinecraftServer.d(
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
            at$ Source)
            at Method)
            at Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 12 more
  26. Offline


    V2.0 ALPHA is out. It needs ALOT of testing and I don't yet recommend it for live server use. The source code for it is also on GitHub now, so anyone can go look at it and find bugs now if they want to. It should support the newer iComony versions now as well. :)

    This looks like some sort of iConomy / Residence interaction issue. Hopefully its been fixed in v2.0 as 2.0 supports the latest iConomy version.
  27. Found a bug with CB670 / Residence 1.2.8. The /who command shows everyone as being in the wilderness, but other than that it all seems to be working fine.
  28. Offline


    Residence doesn't have a /who command..... thats Towny I belive.
  29. Offline


    Is this usable along side of AntiBuild?(Permissions addon)
    Will it overwrite the permissions?
    Default users aren't allowed to build.
    City A allows anyone to build.
    Will default players be able to build in City A or is it
    group based  so you set default players as not being able to build?
  30. oops, that's interesting places :). My mistake :D
  31. Offline



    I got a server and i make land with this plugin but when i sell the land to a player is it not always they can build on all of What they bought. Seems to small areas Where the bug is.
Thread Status:
Not open for further replies.

Share This Page