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


    I have a suggestion..... Is there anyway to display the price that the land was created for, when its created?
  3. Offline


    you should be able to figure that out by doing a bit of math, /res info gives you the number of blocks protected, so whatever the rate was when it was created times that amount will give you the original cost. although it would be nice if it did store the original cost or the last purchase price in /res info, wouldn't be too difficult to do i think
  4. Offline

    Kevin Robbens

    Hi. Grats on this plugin, this is just great! I love it.

    I'm still struggling to get the ignore list to work.. At my Market residence I want Signs to be removeable and placeable. How can I do this?
    Edit: /res lset ? isnt working, use /res lset instead. I feel retarded.
    Edit2: Yet, it seems to work for Cobblestone but not for Sign. Maybe because of the signpost/wallsign?
    Also, ignore lists only seem to ignore destroy but not place.. I'm confused.

    Is there a chance there will be support for TradeCraft? (Item based economy, by default gold ingots, beats the iconomy way imo.)
  5. Offline


    Hi, when I login as admin (OP command) i can make everything. When I logout as admin (deOP command) I still can make everything but receive message "don't have permiss...." After restarting game (when i'm not admin) work is right. deOp command not work correctly with plugin?

    Bug: I login as admin (OP by console) make something, deOp myself and exit game. After work I return home. Starting game without admin rights (same nickname) and I can open doors by free hands (receive message from plugin "U don't have per...") When in my hands a Dirt I can't open doors and too receive message.
    All this time server don't restart.

    p.s. sorry bad english :(
  6. Offline


    Is there a limit for subzones in a zone?

    I created a zone "main" and many subzones (it should be a hotel) but now (approx. 40 subzones) I can create a subzone and get a "subzone created" message, but there is no message if I leave / exit this zone.
  7. Offline


    Is there any chance you will implement a tax system? I know the plugin was made to protect individual homes, but I use it to protect a town I run.
  8. Offline


    Worked fine for one week. This is due to a randomly (or weekly) event that try to upgrade the res.yml (but it's always version 1 ?). I took a new saved file and reconfigure it with old values. Perhaps it's due to the UTF-8 in the config.yml that is not fully supported by the plugin ?
  9. Offline


    Can you please make a way to resize residences? Players would select 2 points like normal, but instead of /res create <residence>, it would be /res resize <residence>, and players would only have to pay the price difference instead of for the whole thing (and if the new res is smaller, they GET money).

    Thanks for all your work on this great plugin! I sent you a little donation, btw. :)
  10. Offline


    You can add or replace residences with the /res area commands type /res area ? for mor info
  11. Offline

    Cameron Auber

    ERROR: Please help I have an issue add a flag to my Member's Group

    CB Version: 860
    Residence Version: 2.2
    What caused the issue:
    I typed the command:
    /res gset members_forest Member build true
    members_forest being the residence, Member being the group, and build being the flag

    It then returned with the error saying:
    Group does not exist.
    Plugin that may be cause this is:
    I use GroupManager instead of permissions

    I you know why this is happening please let me know
  12. Offline


    Did you put members_forest as a group in the config file for residence? If not you may want to look at the wiki under Setup and Config... Link is Here
  13. Offline

    Cameron Auber

    Why would I put the residence members_forest as a group?

    in the config file I have a group named Member with all the settings for Members, is that what you meant?
  14. Offline


    sorry yeah I thought you had said members_forest was the group name. That would have been the simple answer, was just hoping it was something small I could help with.
  15. Offline

    Cameron Auber

    Yeah I thought that's what you meant, but I appreciate you trying anyway :D
  16. Offline


    Not sure if this has been answered or not, but I don't really want to look through 51 pages, sorry.

    But, is it possible so when players create their residence, to have it take money away from their iConomy account? I recently switched from iCoLand to this, and this is kinda needed. =/
  17. Offline


    When at another's residence destroy a sign (with text), it regenerated but haven't text on it
  18. Offline


    you can set a cost per block (i have it set to $0.01 per block) look at the config/wiki
    EDIT: also you can have users lease out an area, or rent out. all in the wiki
  19. Offline


    Tbh, I don't understand the whole "areas" thing. They just sound like subzones. Can't there be a more intuitive way that doesn't require you to create and name a new area?
    It's a suggested feature that may be added in the future.
    If you relog, you can see that the text is actually still there.
  20. Offline


    When I change the economy to Essentials, It makes it so I can't use the commands. When i type in /res, It says ' Unknown console command. type in "/help" for help' and whenever I use any other command it says a internal server error has appeared
  21. Offline


    When you create Residence you take area name "main" automaticly (it see at /res info <residence> as Physical Area) in future you can expand your residence add area.
    Several count of areas give you doing non-cuboid type of the Residence something like House+Front stairs).

    If I correctly understand subzone can have own permissions but areas can't
  22. Offline


    is a invalid flag :(
  23. Offline


    Yes, here are the two areas I changed in the config:
        DefaultGroup: baseClass
    Does it matter that these are not the actual permissions group that I use, but groups inherited from baseClass?
    Oh, and would the fact that I'm using GroupManager and not Permissions affect this? I have a feeling that this was a vital piece of missing information in my support request. :/

    Oh, thank you so much. Can hardly wait for that to be done. :D
  24. Offline


    Its probbably GroupManager. Other people have had issues using Residence and GroupManager in the past, and I think its because GroupManager doesn't quite follow all the same standards that regular Permissions has laid out. It may also simply be a bug in GroupManager. I may get around to trying to work around this issue eventually, but I'm not really sure exactly whats broken. :(
    See my above reply, its most likely GroupManager. :(

    Its a bug in the help, explosions was divided into two different flags, TNT and Creeper. Will be fixed soon. :)

    Areas are for adding more "space" to a existing area. Basically, you can have multiple cuboids that are treated as the same zone. This way, you can make more complex shapes by using multiple cuboids to protect a oddly shaped home. Subzones are intended for more City like protection, where you want to subdivide a big zone into smaller zones. Hope that helps you understand the difference :)

    Theres already a way to resize the residences, by resizing the physical areas that make up the residence. For instance, if you want to resize the "main" area of your house (the one created when you make the residence) you can use
     /res area replace <residence> <areaname>
    after selecting a new cuboid with the selection tool, and it will resize the area and charge you the difference in size. :) It doesn't refund you though if you make it smaller, because it seemed to me like it shouldn't since you don't get refunded for removing a Residence either. I just noticed the wiki is missing this command, I'll fix that :D And thanks for the donation :)
  25. Offline


    Don't bother supporting GroupManager. I believe Essentials is switching to Permissions very soon. We're just migrating right now too.
  26. Offline

    Cameron Auber

    does residence support permissions 3 as I would like to switch to permissions 3 once all my other plugins support it
  27. Offline


    Any idea why monsters would still be spawning in my area even if i have the monster flag off?
  28. Offline


    Ok, I made an area called res1. Then I selected another cuboid and did /res area replace res1 main and nothing happened. I checked the console and saw this error:

    I am using CB 860 and Residence 2.2.
    2011-06-18 19:33:58 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'res' in plugin Residence vv2.2
        at org.bukkit.command.PluginCommand.execute(
        at org.bukkit.command.SimpleCommandMap.dispatch(
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
        at net.minecraft.server.NetServerHandler.handleCommand(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet3Chat.a(
        at net.minecraft.server.NetworkManager.b(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NullPointerException
        at com.bekvon.bukkit.residence.Residence.onCommand(
        at org.bukkit.command.PluginCommand.execute(
        ... 12 more
    Also, I still think /res resize is easier than /res area replace <residence> <areaname>. :p
  29. Offline


  30. Offline


    i don't have any issues with this, i have a main zone with well over 50 subzones, although they were created with 1.6
  31. Offline


    Would it be possible to add an option that refunds a configurable percentage of the residence cost when a user deletes a residence?
Thread Status:
Not open for further replies.

Share This Page