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


    is the change to the wooden doors intended? before the update, everyone could use wooden doors, even if -use was set. now it seems they don't work all the times.
  3. Offline


    i set a zone and transferred ownership to another player, but he is not able to do anything?
  4. Offline


    Awesome mod! Unfortunally i'm running 1.2.7 with default permissions settings in the config file and normal players with no special permissions can do "/res set build true" in an area that doesn't belong to them and they can build. They can't destroy though.

    Tried this after I verified this is true:
    EDIT: I also agree with some people saying I wish there were a way to delete enter/leave messages from an area completely ;)
  5. Offline


    Its still works on my server greate. I just want to thanks again :)
  6. Offline


    ok I was wrong in my post PLS Update! dont stay on 556.
    But, still as Admin I cannot create subzones. Even if I OP myself, dont have access to subzones.

    Thanks for the hard work!
  7. Offline


    apparently, this plugin doesn't work with the last version of Iconomy (4.6.5).
    I get the "unable to get Iconomy accounts" error when trying to buy from the market.
    I'll wait for you to upgrade!
  8. Offline


    could it be possible to have price before buying land thks
  9. Offline


    THIS .. 2 last lines error .. [617] RB / Res ver. 1.2.7
  10. Offline


    everyone can set flags on residents they dont belong to.
    the res belongs to me, a completely new user gets on the server and changes his build flag to true on my res. i dont know what to do about this. already checked config files and permissions. users by default have absolutely no permissions.
  11. Offline


    You probbably need to change the flags so he has build permission. This is going to be done automatically when i get v2.0 out, but until then you have to manually do it.

    I found the problem, just uploaded a fix in v1.2.8 :)
    And you should be able to remove the message with /res message [residence] remove [enter/leave]

    Ok, thanks for testing. Il see if theres something that has changed in the new version that causes this. In the mean time, I have iConomy v4.6.1 running on my test server and it seems to do fine, if you can revert, try that.

    Hmm, there should be a message... maybe your having the same IConomy problems everyone else seems to be having with newer versions of IConomy. My test server is running iConomy v4.6.1 and it seems to work fine....

    I swear I've updated to use the new playerQuitEvent.... apparently bukkit doesn't think so....

    I found the problem, try v1.2.8 :)
  12. Offline

    Justin Peeler

    Very nice! Like many other people I discovered this once WorldGuard stopped working. This is very simple and intuitive and will really simplify things. I'll keep on using WorldGuard for things like firespread, tnt/creeper detonation and protecting large Public areas e.g. malls, towns etc however giving my users the freedom to protect their individual residences without my input is a huge weight off my shoulders.

    One suggestion, maybe make the default selection tool something other than the wooden axe? This will conflict with WorldEdit's default wand and I bet most people will just find themselves taking the extra step to change the default tool before anything else (I know that was my first step).

    Anyway great plugin thank you so much for your hard work and contribution to the community! Us paranoid admins with OCD who want to grant protection to every single block that needs it can now just relax and let the players buy it for themselves.
  13. Offline


    Just to say that I also have this message sometimes :
    [SEVERE] Nag author: 'bekvon' of 'Residence' about the following: onPlayerQuit has been replaced with a new signature, (PlayerQuitEvent)
    I hope it's just a simple message who doesn't cause any bugs IG.
    My others plugins : Iconomy, IconomyChestShops, Backup, Essentials, LWC
  14. Offline


    Ok well in my server im trying to sell land and it says can't find iconomy and i have iconomy i seriously don't know whats wrong please someone help.
  15. Offline


    00:53:15 [SEVERE] Nag author: 'bekvon' of 'Residence' about the following: onPla
    yerQuit has been replaced with a new signature, (PlayerQuitEvent)
    CB 617 with Res 1.2.8...

    EDIT : CORRUPTED save... wow its not working fine on 617 like it's mentionned :( or maybe you should explain how to upgrade without loosing the residences...
  16. Offline

    Nat Ryall

    Hey bekvon,

    #1: I'm setting up some tiered groups for my server. Do permission inherit like with the permissions plugin? I don't like having to specify every flag all over again and would prefer to just specify what I need to change.

    #2: I want to know what defaults are applied to a group if a section of the permissions is left out:

                move: true
                use: true
                build: false
                pvp: true
                fire: false
                damage: true
                explosions: false
                monsters: true
                tp: false
                flow: true
            #these are the group flags people in this group have access to
                build: true
    In this case would the groupflagaccess become the defaultflags but with build set to true?
  17. Offline


    Hey. I got my own server SHS:server and I use this plugin. When people buy some land with this plugin can they only build on a small part of it or nothing of it. PLEASE HELP!
  18. Hello,

    I get an error when i want to buy a Residence there cames:
    Error: Unable to get iConomy Accounts.

    I have: Resodence 1.2.8
    CB 612
    iConomy 4.6.5
  19. Offline


    Ok I thought it might have been ok to re-activate this on my server, but I'm still getting corrupted saves if Residence stays on. This makes it pretty impossible to run the plugin. No matter what, it only took overnight for this to start happening, it's been doing this since you implemented the periodic saves, and without fail it WILL corrupt and break all my players residences. The only way I've been able to fix this is to reset everything (That I can tell)

    09:25:42 [INFO] [Residence] - Save CORRUPTED: java.lang.NullPointerException
    09:25:42 [SEVERE] null
        at com.bekvon.bukkit.residence.managers.ResidenceManager.getYamlCompatible(
        at com.bekvon.bukkit.residence.Residence.saveYml(
        at com.bekvon.bukkit.residence.Residence.access$300(
        at com.bekvon.bukkit.residence.Residence$
    Attempting to disable the plugin after it has given this error:
    >plugman disable Residence
    09:46:09 [INFO] [Residence] - Save CORRUPTED: java.lang.NullPointerException
    09:46:09 [SEVERE] null
        at com.bekvon.bukkit.residence.managers.ResidenceManager.getYamlCompatible(
        at com.bekvon.bukkit.residence.Residence.saveYml(
        at com.bekvon.bukkit.residence.Residence.onDisable(
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(
        at com.bekvon.bukkit.plugman.PlugMan.disablePlugin(
        at com.bekvon.bukkit.plugman.PlugMan.doCommand(
        at com.bekvon.bukkit.plugman.PlugMan.onCommand(
        at org.bukkit.command.PluginCommand.execute(
        at org.bukkit.command.SimpleCommandMap.dispatch(
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
        at net.minecraft.server.MinecraftServer.b(
        at net.minecraft.server.MinecraftServer.h(

    If you need I can pastebin the res.yml
  20. Offline


    When i want to create a subzone, it sais i wouldn't have access to subzoning,
    im using phoenix permissions, have '*' permission, 'enablePermissions: true' is configured
    and im op. parentzone exists subzone doesnt overlap to any other zone and is inside the parentzone

    im using cb#617
    help me!
  21. Offline


    I have exact the same error :(
    Please fix that or release Residence with SQLite or MySQL
  22. Offline


    please delete annoying enter/leave messages or make optional to show, its just annoying
  23. Offline


    MCAndi, find the line in config.yml
    defaultEnterMessage: Entered Residence!
    defaultLeaveMessage: Left Residence!
    and put a # infront of it. That will disable the message for every new one you make.
    You can delete the lines too in the res.yml file if u have flat file
    (Would recommend a copy first)

    As for the ownership transfer bug; player isn't added to the playerlist group automaticly who can build & stuff
    so that might be something to look at. you can edit the file yourself every time to add the owner but its
    not how it's suppose to work i reckon.

    Further; i'm unsure if you can fix this, but when you are not authorized in a residence and there is a wooden pressure plate which does an action while the flag use is false you can still throw an item onto it so it will open anyway. Not really that important tbh but well..

    Awesome mod! <3 /huggles
  24. Offline


    This pops up on every server start.
  25. Offline


    Corrupted saves...
  26. Offline


    should i be able to set leases on subzones?
  27. Offline


    I'm getting the following error... I'm up to date on iconomy, permissions and residence

    The error in-game is: Unknown Error, :D

    02:31:57 [SEVERE] null
            at com.nijiko.permissions.Control.getGroup(
            at com.bekvon.bukkit.residence.Residence.getGroup(
            at com.bekvon.bukkit.residence.managers.LimitsManager.getDefaultEnterMessage(
            at com.bekvon.bukkit.residence.managers.ResidenceManager.defineNewArea(
            at com.bekvon.bukkit.residence.Residence.onCommand(
            at org.bukkit.command.PluginCommand.execute(
            at org.bukkit.command.SimpleCommandMap.dispatch(
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
            at net.minecraft.server.NetServerHandler.c(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(
  28. Offline


    12:55:13 [SCHWERWIEGEND] Nag author: 'bekvon' of 'Residence' about the following: onPlayerQuit has been replaced with a neature, (PlayerQuitEvent)
    Steve Cole likes this.
  29. Offline


    im currently running the latest version of craftbukkit and v1.2.8 of residence, im having a problem with subzoning, im the owner of a server, but whenever i try subzone it says "You don't have access to subzoning"

    commands i used:
    1.(selected to points) then did /res select vert
    2./res create test
    3.(then selected another two points)
    4./res select vert
    5./res subzone test tests
  30. Offline


    This save errors are very annoying :(
    I hope the SQL interface will be released soon
  31. Offline


    No it doesn't delete the enter message it alway says:
    zone.subzone: null

    Please Fix this
Thread Status:
Not open for further replies.

Share This Page