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

    thiefzer0

    A LOT of us are still running build 556, seeing as how its the current RECOMMENDED build and most all of the plugins are compatible with it (at least that I've tried). If he makes one thats 600+ compatible he would have to also keep developing the 556 compatible version for a certain amount of time, until the vast majority of servers have moved up to builds 600+.
     
  3. Offline

    Nat Ryall

    I'm totally serious about helping. I don't need to be on the credits or anything I just want to help improve this already great plugin. If you're going open-source just upload it to GitHub (most code for decent products is messy so I wouldn't worry about it), it doesn't take long and then I'll fork it and submit patches which you can approve/disapprove at your discretion. :)

    No need to do it all alone. :)
     
  4. Offline

    Sleaker

    602 is actually the recommended build. So plugin devs should work on updating.

    With the 'rewrite' for 2.0 - I'm thinking bek would be best just updating to 600+ at the same time.
     
  5. Offline

    nitroxygen

    The Sooner this update comes out the better i could use it soon.
     
  6. Offline

    GrimGoon

    Hey, everytime i try to buy a lot with the "/res Market buy "Name" " command i get this error.

    "Error, unable to get iConomy accounts."

    I got iConomy on my server
    and yes it's set "enableIConomy: true"
    I got CraftBukkit version 556

    Thanks
     
  7. Offline

    bekvon

    Hmm, thats actually quite a nice idea. That makes the commands smaller, and simpler. Il definitly do this for v2.0 which I have started on :D

    Im not sure whats going on with your save system... even with the yml version it does this? Oh and yea, im thinking about release the 2.0 source when its done. v1.x is waay to messy and disorderly to do so with :D

    Im waiting another day or two just to make sure they dont immediately put out another recommended build... they do that sometimes. Im actually not sure If I'm going to bother updating v1.x to 602 as it will interrupt my work on v2.0 (which will support 602).

    602 is new recommended, but this probbably wont be compatible until the 2.0 release.

    Like I said to Sleaker above, Il probably open up the v2.0 source. I know that my code isnt the only messy code, but v1.x is pretty bad, even In my eyes (and I'm used to dealing with messy code :D). But yea, will have 2.0 on GitHub with my other mods.

    What iConomy version are you using? I made this using a slightly outdated (4.5.2 i think). Maybe I need to upgrade.
     
  8. Offline

    simcop2387

    I'm helping evaluate this mod for a server I'm on and I've got one question about the messages. Can you remove the messages on a zone? and if so how? Looking through the docs I don't see it mentioned but I believe I've seen a post here reporting a bug when doing so.
     
  9. Offline

    Sleaker

    Sounds Good Bek! I like the stuff you make and I don't mind helping out if I can.
     
  10. Offline

    Sparx

    No, you don't have to do that. Towny comes with a config file that lets you specify the names of commands
    Here is the line regarding the /resident command:
    command_resident=/resident,/res,/r,/player,/p
    So if a user wants to use Residence with Towny they just need to remove the "/res" from Towny config.

    Also, to expand upon the idea of simplification for users complaining everything is too hard, perhaps "/res add <player>" or "/res allow <player>" could replace both "/res pset <residence name> <player> build true" and "/res pset <residence name> <player> use true"
     
  11. Offline

    GrimGoon

    I had 4.5 before :p

    I updated to 4.6.3 and still got the same problem, will try out (4.5.2) later today.
     
  12. How can I disable the use of unstuck with Permissions ?
     
  13. Offline

    TheVnChecker

    How can i teleport my friends to my residence? I have set the tp globally but my friends can't use the command "/res tp" cause it's show they haven't no permissions...

    pls help
     
  14. Offline

    DarkDexter

    Hey bekvon, awesome plugin. my players like it really, seriously!

    But I have a probleme here. I am the Admin of the Server and I also have OP status. I left out the Admin Group definition in Residence-config-file. I can create zone as big as I want, I can list them all, remove etc etc. But I cannot create a subzone. Thats weird. So I have to change my Group to "Player", which has access to SubZone, to create the subzone.

    Would be nice If u can fix that. Because we are on our way to create a lot of them soon. Thx for the best plugin ever and keep up doing great! btw pls stay on 556! thx

    DarkDexter
     
  15. Offline

    Jellifish

    Please don't stay on 556, surely we are all having to go to 606+ now?
     
  16. Offline

    Nytemare3701

    Indeed. 1.4 is here and all plugins will update or die.
     
  17. Offline

    thiefzer0

    If you need help testing this for compatibility with the new version let me know Bek. I'm still running 556, in fact my host went and auto upgraded everyone today to the 1.4 compatible build and I had to manually downgrade myself back to 5.56. I would love to get updated though but unfortunately, plugin compatibility in bukkit is a freaking nitemare. Let me know if I can help.
     
  18. plz update this to work with the latest craft bukkit build
     
  19. Offline

    bekvon

    @all
    Im working on updating this for minecraft 1.4 / 606+
     
  20. Offline

    thiefzer0

    Take your time man, rather have a good solid upgrade with some new requested features thrown in rather than a rush job :) Besides, alot of other plugin devs have some major catch up work to do now hehe.
     
  21. Offline

    Sleaker

    Just got this while running 1.25, randomly errored for no apparent reason.

    Code:
    19:56:20 [INFO] [Residences] - Saving...
    19:56:20 [INFO] [Residence] - Save FAILED: java.lang.NullPointerException
    19:56:20 [SEVERE] null
    java.lang.NullPointerException
        at com.bekvon.bukkit.residence.protection.CuboidArea.save(CuboidArea.java:264)
        at com.bekvon.bukkit.residence.managers.ResidenceManager.save(ResidenceManager.java:689)
        at com.bekvon.bukkit.residence.Residence.saveAll(Residence.java:774)
        at com.bekvon.bukkit.residence.Residence.access$500(Residence.java:56)
        at com.bekvon.bukkit.residence.Residence$2.run(Residence.java:99)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
        at java.lang.Thread.run(Thread.java:636)
    
    and this error completely corrupts all the Residence data.

    Any chance of adding mysql support? :p
     
  22. Offline

    kahlilnc

    Needs 1.4 support and CB build 612 support too.
     
  23. Offline

    bekvon

    Ok, I updated it for CB612. Im away from home right now and therefore am lacking both time and my normal testing environment, but I think everything went well. Version 2.0 is still in progress but as I'm away, I'm not working on it right now. I should be back in a few days and will resume development. :)
     
  24. Offline

    thiefzer0

    bug in 1.2.5 btw, prob exists in 1.2.6. When you delete the annoying enter/leave messages from subzones, it will always say null as you zone into them afterwards. Like this "Zone.subzone: null"
    Just as annoying :(
     
  25. Offline

    Chekkaa

    I found this plugin after WorldGuard stopped working for 1.4, and it's really nice! And the self-serve protection will be a great addition to my server. I hope it works out well.

    Also, a question/idea. Is there any way that a protected residence can be renewed automatically (for free) when the owner logs in or enters the residence? I like the idea of protected areas expiring so that people who leave the server permanently don't end up leaving a bunch of protected land behind, but I don't want my users to have to pay for the renewal or use any commands (in case they are not aware of the need to renew their protection, or simply don't know how).
     
  26. Offline

    EniGmA1987

    Error with the new versions, I think a few lines probably need to be changed in the code:

    [​IMG]
     
  27. Offline

    Huene

    Bukkit 612, Residence 1.2.6

    There seems to be an issue with Residence that is causing players to be invisible.

    Also:


    Edit: This also appears to conflict with AntiBuild that's part of Permissions 2.5.5 rendering all players unable to build. I have double checked my permissions
     
  28. Offline

    Ratte

    since the latest build, you can open chests and take stuff from them if you're standing outside the residential-zone and the chest within. this wasn't possible before. :(
     
  29. Offline

    bekvon

    I think I found and fixed that, try 1.2.7

    Hmm, this is odd because I am using the new onPlayerQuit event already.... don't know why its still showing that message. Might be a bukkit bug, but I will double check to make sure its not something.

    And yea, any plugin like Antibuild could conflict with this. Its just in the nature of protection plugins to not like each other :(

    Yep, I made a little error when upgrading by getting the players location instead of the block. Try 1.2.7, I think I got it fixed :)
     
  30. Offline

    Huene


    With it now being part of Permissions do you foresee that being looked at in the future?

    Nevermind, it appears that 617 resolves this issue.
     
  31. Offline

    thiefzer0

    ok ill try the new version prob late this weekend, still waiting on some other plugins to be updated to 600+ 1.4 compatibility.
     
Thread Status:
Not open for further replies.

Share This Page