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

    bekvon

    MOVED TO DEV BUKKIT:
    [​IMG]
    News

    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

    Links
    Developer API: Wiki
    GitHub Source: GitHub
    DevBukkit Project Page: DevBukkit

    [​IMG]

    Contributors:
    Daniel Few (Wiki)​
    Linaks (Residence Logo)​
    SirHedgehog (Code)
    GSValore (Code)​
    Samkio (Wiki Video)​
    JustinGuy (Code)​

    Addons:
    Residence Signs (by KarnEdge)​

    NOTE: All Residence usage information has been moved to the wiki!

    About:
    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:
    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

    ChangeLog
    v2.4.2
    • Fix bug affecting some people with the new save system
    v2.4.1
    • 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)

    v2.4.0
    • 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...
    v2.3.9
    - 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.

    v2.3.8
    - 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.

    v2.3.7
    • Added direct support for PermissionsBukkit (doesn't go through the bukkit API)
    • Added LegacyPermissions true/false config option.
    v2.3.6
    • 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.
    v2.3.5
    • Fix for firespread flag with CB1000.
    • Added "piston" flag.
    v2.3.4
    • Fixes for CB1000
    • Fixes for a few minor bugs, and for concurrent modification issue with the Lease Manager.
    v2.3.3
    • 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.
    v2.3.2
    • Changed MaxUpDown in the default config to 128...
    • Fixed issue with /res vert still selecting more then the MaxUpDown allowed.
    v2.3.1
    • 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.
    v2.3
    • 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)
    v2.2
    • 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.
    v2.1.3
    • Fixed a couple bugs with the lease system, including being enabled when it shouldn't be and the lease auto-renew option.
    v2.1.2
    • 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.
    v2.1.1
    • Fix case sensitivity bug in rent system.
    v2.1
    • 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 :)
    v2.0
    - 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

    e_zach

    ahh out of date documentation, hopefully he updates it
     
  3. Offline

    tha d0ctor

    can you please add a Ghast Flag so ghast's can't damage stuff in the Nether

    Also what happened to firespread it definitely still does not work?

    also none of the preconfigured flags are added to residences on creation...

    and /res mirror apparent isn't working because I try to transfer the flags from one fully protected residence to another and when I do /res info nothing shows up that is different

    is there anything wrong with my config? sorry its an attachment, pastie was broken or something
     

    Attached Files:

  4. Offline

    e_zach

    try the tnt or creeper flag (or both), i have indestructable residencies within the Nether without any issues
     
  5. Offline

    maetthew

    I can not find a solution on this. Could someone please give point me out or give me some other tips
     
  6. Offline

    schools

    Very cool! I would like to see the ability to rent out land and add a sign which shows the price with the ability to buy it, or current owner.
     
  7. Offline

    Syd

    We got an error on our Server:

    When someone buys an piece of Land, without /res select vert before he has, as it should be, just this area.
    But if he selects the new area via /res select residence <name> <areaid> and then use /res select vert, his area is from up to down, but he didn't pay any money for it.

    We are using Bukkit #835 and Residence 2.2


    btw: is it normal that admins have not to pay for areas, or is it just a misconfig in my files?
     
  8. Offline

    kris76

    Hello,

    I have a recursive problem with the file res.yml : sometimes at server startup the plugin try apparently to upgrade it and fail, then a new file is created and all residences defined are lost.

    2011-06-10 06:15:45 [INFO] [Residence] Found Permissions Plugin!
    2011-06-10 06:15:45 [INFO] [Residence] Successfully linked with iConomy!
    2011-06-10 06:15:45 [INFO] [Residence] FAILED to upgrade save file...
    2011-06-10 06:15:45 [SEVERE] null
    java.lang.NullPointerException
    at com.bekvon.bukkit.residence.Residence.upgradeSave(Residence.java:1683)
    at com.bekvon.bukkit.residence.Residence.loadYml(Residence.java:1626)
    at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:191)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-10 06:15:45 [INFO] [Residence] Loaded Residences...
    2011-06-10 06:15:45 [INFO] [Residence] Enabled! Version v2.2 by bekvon
     
  9. Offline

    tha d0ctor

    have you run your config files through a YML parser to make sure they are formatted correctly?
     
    kris76 likes this.
  10. Offline

    e_zach

    admins with the residence.admin node will have no restrictions and yes, it will be free for them as well (as far as i know).
     
  11. Offline

    Kaosvf

    Hi,
    I'v a problem, when I do "/res pset House Name place true" it doesn't works, the player can't place nothing, why this?
     
  12. Offline

    e_zach

    have you tried setting the build flag for the player? and if so, did that work?
    also, (on a side note) if your standing in the residency you don't need to provide the residency name (house) and it's just t/f (don't bother with the full thing)
     
  13. Offline

    Kaosvf

    hmm, doesn't work and I'm the owner of the zone :/
    edit: well, I can place but the water that I place doesn't move (remain in 1 block)
     
  14. Offline

    Combat Wombat

    Hi, any plans to add costs to enabling/disabling of flags for residences?
     
  15. Offline

    e_zach

    there is a flow flag as well (stops water from 'moving')
     
  16. Offline

    KillerSmurf

    Where are the permission nodes?
     
  17. Offline

    e_zach

    Permission Nodes:
    These nodes override settings in the configuration file, as the majority of permission handling is done in the configuration file.
    residence.admin - Makes users of the group a residence admin, this allows them to ignore all limits and ignore all residence flags (they can build in any areas even if they are not normally allowed to, etc...)
    residence.create - Allows users to create residences.


    check the wiki :)
     
  18. Offline

    Kaosvf

    how can I change it?
     
  19. Offline

    e_zach

    /res set flow t/f
     
  20. Offline

    Kaosvf

    solved, thx
     
  21. Offline

    e_zach

    np
     
  22. Offline

    morizuki

    Hmm.. I'm trying to allow the monster in my residence then disallowing monster in the subzone, but they're still spawning inside the subzone..

    Another thing is, when I rent a residence/subzone, it won't let me build, even it says on the res.yml, i can build, it just say cannot modify a rented residence!
     
  23. Offline

    fugue2005

    can you add a permission node that would allow people to bypass residence protections.
    i'm trying to create a class of players that would be able to bypass move and pvp restrictions
    but i don't want them to have the power to alter the residence.
     
  24. Offline

    mkaster

    Could you PLEASE add a link to older versions of residence? I can't get 2.2 to work nomatter what (even if I delete all residence data) and I'm stuck in 1.2.8 without the ability to make zones!!! I'd like to try 2.1 to see if it works!

    (In case anyone knows what is wrong with 2.2 I have build 818, use linux and no gui for host machine, 5GB ram. Tons of other plugins. When I start server with res 2.2 it gives me an error that asks me if it is up to date then doesnt start just disables itself and the rest of the server continues to start up with no problems)
     
  25. Offline

    e_zach

    post the error
     
  26. Offline

    bekvon

    Hey all, just a quick post. I am still working on the mod, but development has gotten really slow as I just don't have the time and motivation to work on it much right now. I have briefly gone over the posts since my last post, and I'll try to fix some of the issues you've mentioned when I can. If anyone with coding abilities wants to help fix bugs or implement new features, please submit patches to GitHub and I will merge them with the code, and will add you under the OP as a contributor :) Anyway, I know I haven't been on much and just felt like I should let you guys know I haven't disappeared, hopefully around the end of the summer I'll have alot of time again, and can do some more real work on the plugin :)
     
  27. Offline

    e_zach

    if i could be bothered to get off my lazy ass and learn the code base, i might help out..... might.
     
  28. Offline

    Deathmarine

    Ouch, you get beaten up with errors and other issues, but kudos on the plugin. Awesome. Two issues (yah I had that in mind. Works well on 863 however claims to nag you about well this....

    2011-06-12 01:31:14 [SEVERE] Nag author: 'bekvon' of 'Residence' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded. This may cause conflicts with the newly loaded version of the plugin.

    Lastly... Sometimes after a save or reload (of the plugin) it deletes the entire database, can't find it in the logs but after about 24 hrs everything has to be re setup, the config everything, which also reminds me even with the config setup and residence.create in permissions on default players they still can't create over 16 blocks if I set it to anything more or to override in the config. Pain in the ass. Love the plugin though, keeps the idiots from setting land and the other idiots from messing with it.
     
  29. Offline

    InnovativeDan

    hi all,
    i'm having a really weird problem for my residence plugin. when i tried to claim an area to be my residence USING A NORMAL PLAYER account, I select the primary and secondary points and /res select vert, after that, /res create x. But when i tried to create, it says "Area size not within your allowed limit". I have the permissions already in Permissions plugin and in the residence config file:

    for the max height. no matter what i set, the /res select vert will be higher by 1 block.
    example: if maxheight is 1270, /res select vert and /res select size 's height will be 1271.
    That's why i'm getting that error.

    HOWEVER, if i use an OP/admin account, there is no problem. Anyone know how I can fix this problem?
     
  30. Offline

    Deathmarine

    I can't help but notice your config is set to
    Code:
    
              # The maximum number of blocks a Residence can be, East to West (X).
                MaxEastWest: 16
               # The maximum number of blocks a Residence can be, North to  South (Z).
                MaxNorthSouth: 16
    
    These values are for maximum size horizontal. My config is set to 160 but I have a similar issue, maximum height in game is 127 blocks... 1271 is really over shooting it.
    Try this.
    Code:
    Residence:
               # Determins if this group can create residences or not.  This option can be overriden with the permissions node 'residence.create'
               CanCreate: true
               # The maximum number of Residences a player can have.
               MaxResidences: 10
               # The maximum number of physical areas a residence can have.
               MaxAreasPerResidence: 5
               # The maximum number of blocks a Residence can be, East to West (X).
               MaxEastWest: 160
               # The maximum number of blocks a Residence can be, North to South (Z).
               MaxNorthSouth: 160
               # The maximum number of blocks a Residence can be, High to Low (Y).
               MaxUpDown: 127
               # The lowest altitude this group is allowed to protect.
               MinHeight: 0
               # The highest altitude this group is allowed to protect.
               MaxHeight: 127
                # The maximum recursive depth that subzones can go.
                # A subzone within a subzone within the Residence zone would be a depth of 2.
                # Set to 0 to disable subzones.
    
     
  31. Offline

    InnovativeDan

    I know, I set to 1270 just to test, even after setting to 1270, the select vert command is still selecting 1271 =.=

    Is there a bug?
     
Thread Status:
Not open for further replies.

Share This Page