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


    Would residence cause mushrooms not to spread? I have a mushroom farm and it was working fine. Now residence is installed it seems they do not spread at all. It may just be a coincidence but I thought I would ask. I never had this issue before. If residence can cause this I can start narrowing it down to permissions, flag or whatever.
  3. Offline


    Ok after i updated Residence to the latest version i was spammed with
    09:24:30 [SEVERE] Could not pass event BLOCK_PLACE to Residence
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getPrimaryGroup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at com.bekvon.bukkit.residence.permissions.PermissionManager.getGroupNameByPlayer(
        at com.bekvon.bukkit.residence.permissions.PermissionManager.getGroupNameByPlayer(
        at com.bekvon.bukkit.residence.listeners.ResidenceBlockListener.onBlockPlace(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(
        at net.minecraft.server.ItemBlock.a(
        at net.minecraft.server.ItemStack.placeItem(
        at net.minecraft.server.ItemInWorldManager.interact(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        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(
    09:24:39 [SEVERE] Could not pass event PLAYER_INTERACT to Residence
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getPrimaryGroup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at com.bekvon.bukkit.residence.permissions.PermissionManager.getGroupNameByPlayer(
        at com.bekvon.bukkit.residence.permissions.PermissionManager.getGroupNameByPlayer(
        at com.bekvon.bukkit.residence.listeners.ResidencePlayerListener.onPlayerInteract(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(
        at net.minecraft.server.ItemInWorldManager.interact(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        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(
  4. Offline


    are you using permissions 3.x? if not, the fix for this was posted on the previous page (legacy permissions)
    try updating to cb #1000, they added in the piston event then. (as far as i know) your server's out of date. either that or get a previous version of residence off github.
    look on github.
    Thats really weird, im sorry but i have no idea, maybe @bekvon has some idea whats going on.
    he means your not using permissions 3.x, essentials permissions is NOT the regular permissions. (it's forked from 2.x of permissions, i.e. legacy)
    you change the MaxResidences: value under each group in the config.yml
    thats localization, so yes, that should be the same.
  5. Offline


    The really weird thing about Issue 1 (No Residence stuff comes up on my console as loaded/enabled, doesn't even show that it's linked to BOSEconomy) is that if I go in game and try to mark off a Residence using the plugin, it works fine. But I know it's def not linked to BOSEconomy.

    As for Issue 2 (Config file not saving my changes even if the server is stopped when I edit it...) maybe I should just delete all Residence Files and start fresh?
  6. Offline


    is it impossible or difficult to work with WorldEdit`s selection tool?
  7. Offline

    Ross Gosling


    Feature Request:

    -Jukebox Flag, set if a player can get discs out or put discs in jukeboxes
  8. Offline


    WE's tool will override residences selection tool, best idea is to set a different item for one of them (i have the wood axe for residence and the wood sword for WE)
    starting again fresh might be a good idea (completely even better. i.e. have a blank server and add plugins one by one) good luck :)
  9. Offline


    oh I mean using WE`s selection tool on residence.
    cause its cui mod(create visible grids with WE`s selection) is great.
  10. Offline


    Is there a way to improve the output of the /res market list? At the very least, there must be spaces between the property names because they all run together and are confusing people.
  11. Offline


    can you impove /expand command?

    It is so difficult to look at the exact direction evertime when using /expand command.

    can you fix it like a WorldEdit?

    ex: /expand 10 up, down, S(outh), E, W, N
  12. Offline


  13. Offline


    @bekvon The "welcome" and "goodbye" msg's does not show up when i exit or enter a residence. Is that a bug?
  14. Offline



    I am running the latest residence release with permissions 3, world-edit, world-guard and citizens.

    The problem is the following:
    1 - The 'Dieu' group, corresponding to the admins, cannot create by default huge zones unless we use the /resadmin. Although the config specifies the ability to create 1000000000000 cubeĀ² zones...
    2 - All other groups cannot create subzones inside the zone I created (as group Dieu)
    3 - Getting confused with this config file, how do I allow people to teleport to their own residences but not others unless specified by /res gset groupname tp true ?
    4 - Do users need to have the teleport permission node for them to teleport in residences?

    Here is my config file (quite long I'm sorry):

    These are my permissions:

    I have no errors in my console, the plugin is loading correctly.

    Thank you very much for this wonderful plugin, will surely donate ;)
  15. Offline


    Judging by the comments, this may not be possible: I want to prevent people from building in my residence, but when I rent a subzone out, I want that renter to be allowed to place items. Is this possible? Renters should be limited to their own rooms and I totally do not want to do it manually each time someone rents.

    Also, where can I see a list of who's renting? After several folks rent I can't remember and it doesn't show in the info tool.

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


    Is there any way I could get this to work with the GroupManager plugin? If not, is there a way I could get access to older versions of this plugin? I am getting an error every time somebody moves on the server:

    2011-07-30 20:50:14 [SEVERE] Could not pass event PLAYER_MOVE to Residence
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getPrimaryGroup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at com.bekvon.bukkit.residence.permissions.PermissionManager.getGroupNameByPlayer(
        at com.bekvon.bukkit.residence.listeners.ResidencePlayerListener.onPlayerMove(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        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(
  17. Offline


    Is there a way to override the PVP flag for certain players? Such as admins being able to attack players in no-pvp zones? :)
  18. Offline


    that would be awsome, you could prob get the source (if it's avaliable) and modify it to work with residence
  19. Offline


    When you set the flags for one particular group, you get the GroupDefault section. That's where you can define if an admin can pvp in other group's residences.
    Like this:

    pvp: true
  20. Offline


    I got the same error :(
    in previous version 2.3.5 do not appear this error.
  21. Offline


    Thats what I tried originally, but it still doesn't work. :\ On the wiki it says you can't set the PVP flag for players/groups.
  22. Offline


    Oh, sorry. I thought that would do the trick seing the "Specifys the flags that are applied to other groups for this residence, at creation." in the config file.

    Let's wait for an answer ;)
  23. Offline


    There is an option in the config file for this. I missed it the first time as well, but search for:
    PreventRentModify: true
  24. Offline


    Sorry to post again but does anyone know what flag causes mushrooms not to spread? I am 90% sure it is residence which is causing it. When I remove the mod the shrooms seem to grow fine.

    Also is there a way for lot creators to have use of flow and pistons by default? Seems I need to turn on the flow and piston flag for all groups for them to work.


    Figured it all out. Pistons and Flow can only be set for a whole residence and the thing that is making mushrooms not grow is the firespread false flag.

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


    1. thats actually too big a number lol... those values are Java Integers, which have a limit of approximatly + or - 2 billion. By setting it to that many 0's, you've over-set it and it wont take it. :)
    2. Try giving them the subzone flag, it SHOULD work, let me know again if it doesnt.
    3. CanTeleport config option gives access to the TP command it self. The person still has to have +tp flag on the residence they are trying to go to.
    4. Yup :)

    Im not sure if I have a good way to list all renters... /res market info i think lists on a per residence basis. I might have to add something like that :)

    Check out the red text message I added to the OP, and see if that fixes it for you :)

    Ehh, not at the moment no.... might be possible to add...

    Hmm.... Il see if I can fix the mushroom issue sometime... :)
  26. Offline


    I love this I really do, I have one problem that will make me remove it though, I use signs for most all my economy things, its much more simple then the commands and the chest shop or any other thing with sign get messed up with this. If you right click the sign it turns red then after that you can delete the first line and it messes everything up! I'm OP so if you say disable it in permissions it will have no effect on me! Any help? Thanks so much for the awesome plugin though!
  27. Offline


    Thanks for the answer bevkon, but there's something going on I really can't understand!
    Here is my config file:

    No one can teleport, including me (unless using /resadmin)! I can't create big zones (tried 290 000). It's saying I own the max number of residences when it's set to 100 (I have 8).

    This is an example residence: Mines (tp set to true, and every group tp flag set to true also).
    Without /resadmin, I can't go there, neither can the other guys. (message: You dont have teleport access)

    Going nuts, your help would be very appreciated !

    EDIT: With that particular config file, seems I am the only one not being able to do much.
  28. hello bekvon! Thanks for the amazing plugin!
    I hope I havent overseen that feature, but may I be allowed to request a feature to automatically swap all subzones of a residence to another user (or "server") when I change the residence to a different user (or "server"), plz? That would be outstandingly helpful.

    Thanks alot and keep up the great work!
  29. Offline


    How can I add another group here: ?
    # These groups correspond to the Permissions groups defined in your '<worldname>.yml'
        Builder: #group name
  30. Offline


    can u add a feature to make certain areas allow creative-style building? i want my server to be survival, but we need a monument area
  31. Offline


    When I in group which have permission (ex: +use +build +move +container) I can't see my flags by "/res info" in "Your flags:" this look like as "Your flags: none"
Thread Status:
Not open for further replies.

Share This Page