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

    bekvon

    Hmm, LegacyPermissions should fix that issue, I'll double check I didnt break anything with it recently. Make sure that you dont have LegacyPermissions in the config twice (basically if you used the default config, its already in there and you should have changed it not added it)
    Hmm, that sounds strange really strange... Il give it a look over...

    Lookup time goes up linearly. Probably the heaviest load on the server is the movement checks done for the "move" flag. There is a limiter for that in the config file though, that basically requires a minimum amount of time to have passed before another move check can be done, on a per player basis. Look in the config under the global section for MoveCheckInterval.

    Ok, thanks for that :D

    Ehh, I don't think this is causes by residence, as it never changes any block types in the code anywhere...

    Just copy and paste the error log here from your server.log file :)
     
  3. Offline

    darkhelmet

    It seems that per-world global overrides are not working right. We have three worlds. I've configured several things to not be allowed in all worlds and then allowed them specifically in one.

    However, while those things were allowed in one, they also became allowed in all worlds. I tried setting every world to be sure and it almost seems like the last configuration is used for all worlds. In the pastie link below, mobs/firespread is not allowed in any world except, by the config, it should work in one.

    http://www.pastie.org/2456561
     
  4. Offline

    Retricide

    I don't think Residence is compatible with bPermissions, even with LegacyPermissions: true.
    It doesn't seem to be recognizing groups in the config.yml file.
     
  5. Offline

    Jombi

    Yeah, that's the same crap I'm getting. I'm really not sure how to fix it... Nobody in my server is able to edit their own residences...

    Here's something else I'm getting. I'm not sure if this has anything to do with iConomy or not...
    Code:
    2011-08-30 23:13:51 [SEVERE] Error occurred while enabling Residence v2.3.9 (Is it up to date?): com/nijiko/coelho/iConomy/iConomy java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy 	at com.bekvon.bukkit.residence.Residence.loadIConomy(Residence.java:402) 	at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:201) 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) 	at com.bekvon.bukkit.residence.Residence.setEnabled(Residence.java:1568) 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885) 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278) 	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178) 	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161) 	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286) 	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273) 	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149) 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337) 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy 	at java.net.URLClassLoader$1.run(Unknown Source) 	at java.security.AccessController.doPrivileged(Native Method) 	at java.net.URLClassLoader.findClass(Unknown Source) 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36) 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24) 	at java.lang.ClassLoader.loadClass(Unknown Source) 	at java.lang.ClassLoader.loadClass(Unknown Source) 	... 13 more
     
  6. Btw, when comes the new recommended build with the water placement fix?
     
  7. Offline

    Build-O-Tron

    I am using PermissionEX and I have a group that does not have any flag set with "worldmodify" to prevent them from building.
    Is there a way to allow them to build in the limit of their residence only ?
     
  8. How should that work when you globaly disallow modify??? gosh...
     
  9. Offline

    Build-O-Tron

    I suspect it would work by creating a zone that is overlooked by the "worldmodify" permission.
    Altough I am not a developper, so I don't know much about the limitations of the engine.
    I guess i'll have my Guests buy a prefab house or just bribe someone to build them one. Or petition to become a full member with build permission.
    Still a very awsome mod !
     
  10. Nah, Residence does not have any knowledge what worldmodify from PEX is.
     
  11. Offline

    kagangu

    Good plugin, but on my server i seem to be having this problem with some redstone problems. Maybe pistons to be exact im not quit sure yet. We have found thing error in the logs though.
    PHP:
    2011-08-31 15:55:24 [SEVERECould not pass event BLOCK_PISTON_EXTEND to Residence
    java
    .lang.ClassCastExceptionorg.bukkit.material.MaterialData cannot be cast to org.bukkit.material.PistonBaseMaterial
            at org
    .bukkit.event.block.BlockPistonEvent.getDirection(BlockPistonEvent.java:41)
            
    at org.bukkit.event.block.BlockPistonExtendEvent.getBlocks(BlockPistonExtendEvent.java:37)
            
    at com.bekvon.bukkit.residence.listeners.ResidenceBlockListener.onBlockPistonExtend(ResidenceBlockListener.java:183)
            
    at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:540)
            
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            
    at net.minecraft.server.BlockPiston.g(BlockPiston.java:70)
            
    at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
            
    at net.minecraft.server.World.k(World.java:459)
            
    at net.minecraft.server.World.applyPhysics(World.java:436)
            
    at net.minecraft.server.World.update(World.java:407)
            
    at net.minecraft.server.World.setTypeIdAndData(World.java:391)
            
    at net.minecraft.server.BlockRedstoneTorch.a(BlockRedstoneTorch.java:142)
            
    at net.minecraft.server.World.a(World.java:1997)
            
    at net.minecraft.server.World.doTick(World.java:1736)
            
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:444)
            
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Do you think you could help me out with this, we cant seem what could be causing this error and it seems to like to restart our server after everytime this message pops up too which we believe is when someone uses redstone.
     
  12. Offline

    Build-O-Tron

    Heh, I'll live with it i guess :)
     
  13. Offline

    Chrisknyfe

    What's up with the "<worldname>.yml" comment just above the groups section? Is this a Permissions 3 feature, or can I create several <worldname>.yml files to set different prices for different worlds?

    Actually, let me rephrase that as a question: is it even possible for me to set different buy / lease prices for different worlds?
     
  14. Offline

    tjetson

    When I start my server, it appears that Residence is loading before the worlds are. Residence therefore throws up this error:
    A little bit prior to this, the server states that it has loaded the first world:
    However, it only loads the other worlds after the Residence error above:
    I read that Bukkit loads plugins in alphabetical order, so I renamed Residence.jar to zResidence.jar, after which I got the aforementioned errors. I note that once Residence fails, several other plugins load, so the z clearly is not making Residence load last. The plugins that are loading after Residence are also not in alphabetical order, so something strange is going on. Can anybody help?

    EDIT: Just to clarify, the "level 0" that is loading is NOT Town, level 0 is my default world where new players are told the rules, etc
     
  15. Offline

    EmWserver

    having a problem getting my groups to be recognized by the config file

    Code:
    #These are Global Settings for Residence.
    Global:
        # This loads the <language>.yml file in the Residence Language folder
        # All Residence text comes from this file. (NOT DONE YET)
        Language: English
        # Wooden Axe is the default selection tool for Residence.
        # You can change it to another item ID listed here: http://www.minecraftwiki.net/wiki/Data_values
        SelectionToolId: 280
        # This determins which tool you can use to see info on residences, default is String.
        # Simply equip this tool and hit a location inside the residence and it will display the info for it.
        InfoToolId: 287
        # The interval, in milliseconds, between movement checks.
        # Reducing this will increase the load on the server.
        # Increasing this will allow players to move further in movement restricted zones before they are teleported out.
        MoveCheckInterval: 500
        # The interval, in minutes, between residence saves.
        SaveInterval: 10
        # The default group to use if Permissions fails to attach or your not using Permissions.
        DefaultGroup: everyone
        # Enable / Disable the Lease System.
        UseLeaseSystem: false
        # The interval, in minutes, between residence lease checks (if leases are enabled).
        LeaseCheckInterval: 10
        # Allows leases to automatically renew so long as the player has the money, if economy is disabled, this setting does nothing.
        LeaseAutoRenew: true
        # Whether or not to use the Permissions system in conjunction with this config.
        EnablePermissions: true
        # Set to true if NOT using Permissions or PermissionsBukkit, or using a really old version of Permissions
        LegacyPermissions: false
        # Enable / Disable Residence's Economy System.
        EnableEconomy: true
        # The economy system to use (iConomy, MineConomy, Essentials, BOSEconomy, and RealEconomy supported).
        EconomySystem: iConomy
        # Enables or disables the Rent System
        EnableRentSystem: false
        # The interval, in minutes, between residence rent expiration checks (if the rent system is enabled).
        RentCheckInterval: 10
        # Enable or disable residence chat channels.
        ResidenceChatEnable: true
        # Color of residence chat.
        ResidenceChatColor: DARK_PURPLE
        # Whether or not to ignore the usual Permission flags and only allow OPs and groups with 'residence.admin' to change residences.
        AdminOnlyCommands: false
        # Setting this to true makes server OPs admins.
        AdminOPs: true
        # This is the name of the plugin you use for multiworld, if you dont have a multiworld plugin you can safely ignore this.
        # The only thing this does is check to make sure the multiworld plugin is enabled BEFORE Residence, to ensure properly loading residences for other worlds.
        MultiWorldPlugin: MultiVerse
        # Setting this to true causes subzones to inherit flags from their parent zones.
        ResidenceFlagsInherit: true
        # Setting this to false will allow rented residences to be modified by the renting player.
        PreventRentModify: true
        # Setting this to false will cause residence to continue to load even if a error is detected in the save file.
        StopOnSaveFault: true
        # These are world flags that are applied when the player is NOT within a residence.
        ResidenceNameRegex: '[^a-zA-Z0-9\\-\\_]'
        Flags:
            Global: #these are default for all worlds unless specified below, they can be overridden per group
                use: true
                build: true
                ignite: true
                firespread: true
                damage: true
                creeper: true
                tnt: true
                pvp: true
            WorldNameHere: #here you can set flags for individual worlds, these override Global
                #build: true
        # This gives permission to change certain flags to all groups, unless specifically denied to the group.
        FlagPermission:
            move: true
            build: true
            place: true
            destroy: true
            use: true
            container: true
            pvp: true
            tp: true
            ignite: true
            firespread: true
            bucket: true
            flow: true
            lavaflow: true
            waterflow: true
            creeper: true
            tnt: true
            monsters: true
            animals: true
            subzone: true
            healing: true
        # These are default flags applied to all residences from any user group.
        ResidenceDefault:
            build: false
            use: false
            container: false
            pvp: false
            tnt: false
            creeper: false
            flow: false
            piston: false
            ignite: false
            firespread: false
        # These are default flags applied to the residence creator of any group.
        CreatorDefault:
            build: true
            move: true
            use: true
            ignite: true
            container: true
         # These are default group flags applied to a residence made by a user of any group.
        GroupDefault:
            #default: #group name
                #build: true
    
    # These groups correspond to the Permissions groups defined in your '<worldname>.yml'
    Groups:
        everyone: #group name
           # Information about the Residence zone that the player can define.
           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: 1000
               # The maximum number of blocks a Residence can be, North to South (Z).
               MaxNorthSouth: 1000
               # The maximum number of blocks a Residence can be, High to Low (Y).
               MaxUpDown: 128
               # 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.
               SubzoneDepth: 3
               # Whether or not to allow teleporting to Residences.
               CanTeleport: true
               # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
               Unstuck: true
               # Allow or Disallow the use of the /res select command, if disabled they can only use the selection tool.
               SelectCommandAccess: true
               # Allow or Disallow the group to access the Blacklist/Ignorelist for residences they own.
               ItemListAccess: true
           # Options relating to enter and leave messages on the residence.
           Messaging:
               # Whether or not the player can change the Residence enter and leave messages.
               CanChange: true
               # The default enter message to apply to new Residences created by players in this group.
               # Leaving the message blank will disable it.
               DefaultEnter: Welcome %player to %residence, owned by %owner.
               # The default leave message to apply to new Residences created by players in this group.
               # Leaving the message blank will disable it.
               DefaultLeave: Now leaving %residence.
           # Options relating to the Lease system.
           Lease:
              # The maximum number of days to allow leases.
              MaxDays: 16
              # The number of days to add to the lease following a '/res lease renew' command.
              RenewIncrement: 14
           #Options related to the rent system
           Rent:
               #determines how many residences can be rented by players of this group at once
               MaxRents: 3
               #determines how many residences can be set for rent by players of this group at once
               MaxRentables: 3
           # Options relating to the Residence Economy.
           Economy:
              # Whether or not players in this group can buy other Residences that are for sale.
              CanBuy: true
              # Whether or not players in this group can sell their Residences.
              CanSell: false
              # Whether or not to ignore the Residence size/count limits when buying a residence.
              IgnoreLimits: false
              # The cost, per block, of making a new Residence or adding a area to it.
              BuyCost: 0.03
              # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
              RenewCost: 0.02
           # Flags are checked in the order:
           # 1: Player
           # 2: Group
           # 3: Owner
           # 4: If all others are undefined, reverts to default value (usually true).
           # Flag permissions default to false.
           # These flags settings override the globals.
           Flags:
              # Specifically allow or deny this group from changing certain flags.
              Permission:
                   #build: true
              # Specifys the flags that are applied at residence creation for players of this group.
              Default:
                  #build: true
              # Specifys the flags that are applied at to the creator at residence creation.
              CreatorDefault:
                  #build: true
              # Specifys the flags that are applied to other groups for this residence, at creation.
              GroupDefault:
                   #default: #group name
                       #build: false
              #these flags are applied specifically to this group whenever they are outside a residence
              #these flags will override the flags at the top, under the Global section.
              World:
                    Global: #these flags will apply to all worlds
                         #build: false
                    Undiscovered Planet: #or you can apply them by each individual world
                         #build: false
        credomane: #group name
           # Information about the Residence zone that the player can define.
           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: 25
               # The maximum number of blocks a Residence can be, East to West (X).
               MaxEastWest: 10000
               # The maximum number of blocks a Residence can be, North to South (Z).
               MaxNorthSouth: 10000
               # The maximum number of blocks a Residence can be, High to Low (Y).
               MaxUpDown: 128
               # 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.
               SubzoneDepth: 10
               # Whether or not to allow teleporting to Residences.
               CanTeleport: true
               # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
               Unstuck: true
               # Allow or Disallow the use of the /res select command, if disabled they can only use the selection tool.
               SelectCommandAccess: true
               # Allow or Disallow the group to access the Blacklist/Ignorelist for residences they own.
               ItemListAccess: true
           # Options relating to enter and leave messages on the residence.
           Messaging:
               # Whether or not the player can change the Residence enter and leave messages.
               CanChange: true
               # The default enter message to apply to new Residences created by players in this group.
               # Leaving the message blank will disable it.
               DefaultEnter: Welcome %player to %residence, owned by %owner.
               # The default leave message to apply to new Residences created by players in this group.
               # Leaving the message blank will disable it.
               DefaultLeave: Now leaving %residence.
           # Options relating to the Lease system.
           Lease:
              # The maximum number of days to allow leases.
              MaxDays: 16
              # The number of days to add to the lease following a '/res lease renew' command.
              RenewIncrement: 14
           #Options related to the rent system
           Rent:
               #determines how many residences can be rented by players of this group at once
               MaxRents: 3
               #determines how many residences can be set for rent by players of this group at once
               MaxRentables: 3
           # Options relating to the Residence Economy.
           Economy:
              # Whether or not players in this group can buy other Residences that are for sale.
              CanBuy: true
              # Whether or not players in this group can sell their Residences.
              CanSell: false
              # Whether or not to ignore the Residence size/count limits when buying a residence.
              IgnoreLimits: false
              # The cost, per block, of making a new Residence or adding a area to it.
              BuyCost: 0.05
              # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
              RenewCost: 0.02
           # Flags are checked in the order:
           # 1: Player
           # 2: Group
           # 3: Owner
           # 4: If all others are undefined, reverts to default value (usually true).
           # Flag permissions default to false.
           # These flags settings override the globals.
           Flags:
              # Specifically allow or deny this group from changing certain flags.
              Permission:
                   #build: true
              # Specifys the flags that are applied at residence creation for players of this group.
              Default:
                  #build: true
              # Specifys the flags that are applied at to the creator at residence creation.
              CreatorDefault:
                  #build: true
              # Specifys the flags that are applied to other groups for this residence, at creation.
              GroupDefault:
                   #default: #group name
                       #build: false
              #these flags are applied specifically to this group whenever they are outside a residence
              #these flags will override the flags at the top, under the Global section.
              World:
                    Global: #these flags will apply to all worlds
                         #build: false
                    Undiscovered Planet: #or you can apply them by each individual world
                         #build: false
        administrators: #group name
           # Information about the Residence zone that the player can define.
           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: 50
               # The maximum number of physical areas a residence can have.
               MaxAreasPerResidence: 50
               # The maximum number of blocks a Residence can be, East to West (X).
               MaxEastWest: 10000
               # The maximum number of blocks a Residence can be, North to South (Z).
               MaxNorthSouth: 10000
               # The maximum number of blocks a Residence can be, High to Low (Y).
               MaxUpDown: 128
               # 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.
               SubzoneDepth: 25
               # Whether or not to allow teleporting to Residences.
               CanTeleport: true
               # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
               Unstuck: true
               # Allow or Disallow the use of the /res select command, if disabled they can only use the selection tool.
               SelectCommandAccess: true
               # Allow or Disallow the group to access the Blacklist/Ignorelist for residences they own.
               ItemListAccess: true
           # Options relating to enter and leave messages on the residence.
           Messaging:
               # Whether or not the player can change the Residence enter and leave messages.
               CanChange: true
               # The default enter message to apply to new Residences created by players in this group.
               # Leaving the message blank will disable it.
               DefaultEnter: Welcome %player to %residence, owned by %owner.
               # The default leave message to apply to new Residences created by players in this group.
               # Leaving the message blank will disable it.
               DefaultLeave: Now leaving %residence.
           # Options relating to the Lease system.
           Lease:
              # The maximum number of days to allow leases.
              MaxDays: 16
              # The number of days to add to the lease following a '/res lease renew' command.
              RenewIncrement: 14
           #Options related to the rent system
           Rent:
               #determines how many residences can be rented by players of this group at once
               MaxRents: 3
               #determines how many residences can be set for rent by players of this group at once
               MaxRentables: 3
           # Options relating to the Residence Economy.
           Economy:
              # Whether or not players in this group can buy other Residences that are for sale.
              CanBuy: true
              # Whether or not players in this group can sell their Residences.
              CanSell: false
              # Whether or not to ignore the Residence size/count limits when buying a residence.
              IgnoreLimits: false
              # The cost, per block, of making a new Residence or adding a area to it.
              BuyCost: 0.00
              # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
              RenewCost: 0.00
           # Flags are checked in the order:
           # 1: Player
           # 2: Group
           # 3: Owner
           # 4: If all others are undefined, reverts to default value (usually true).
           # Flag permissions default to false.
           # These flags settings override the globals.
           Flags:
              # Specifically allow or deny this group from changing certain flags.
              Permission:
                   #build: true
              # Specifys the flags that are applied at residence creation for players of this group.
              Default:
                  #build: true
              # Specifys the flags that are applied at to the creator at residence creation.
              CreatorDefault:
                  #build: true
              # Specifys the flags that are applied to other groups for this residence, at creation.
              GroupDefault:
                   #default: #group name
                       #build: false
              #these flags are applied specifically to this group whenever they are outside a residence
              #these flags will override the flags at the top, under the Global section.
              World:
                    Global: #these flags will apply to all worlds
                         #build: false
                    Undiscovered Planet: #or you can apply them by each individual world
                         #build: false
    
        subadmins: #group name
           # Information about the Residence zone that the player can define.
           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: 15
               # The maximum number of physical areas a residence can have.
               MaxAreasPerResidence: 15
               # The maximum number of blocks a Residence can be, East to West (X).
               MaxEastWest: 5000
               # The maximum number of blocks a Residence can be, North to South (Z).
               MaxNorthSouth: 5000
               # The maximum number of blocks a Residence can be, High to Low (Y).
               MaxUpDown: 128
               # 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.
               SubzoneDepth: 10
               # Whether or not to allow teleporting to Residences.
               CanTeleport: true
               # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
               Unstuck: true
               # Allow or Disallow the use of the /res select command, if disabled they can only use the selection tool.
               SelectCommandAccess: true
               # Allow or Disallow the group to access the Blacklist/Ignorelist for residences they own.
               ItemListAccess: true
           # Options relating to enter and leave messages on the residence.
           Messaging:
               # Whether or not the player can change the Residence enter and leave messages.
               CanChange: true
               # The default enter message to apply to new Residences created by players in this group.
               # Leaving the message blank will disable it.
               DefaultEnter: Welcome %player to %residence, owned by %owner.
               # The default leave message to apply to new Residences created by players in this group.
               # Leaving the message blank will disable it.
               DefaultLeave: Now leaving %residence.
           # Options relating to the Lease system.
           Lease:
              # The maximum number of days to allow leases.
              MaxDays: 16
              # The number of days to add to the lease following a '/res lease renew' command.
              RenewIncrement: 14
           #Options related to the rent system
           Rent:
               #determines how many residences can be rented by players of this group at once
               MaxRents: 3
               #determines how many residences can be set for rent by players of this group at once
               MaxRentables: 3
           # Options relating to the Residence Economy.
           Economy:
              # Whether or not players in this group can buy other Residences that are for sale.
              CanBuy: true
              # Whether or not players in this group can sell their Residences.
              CanSell: false
              # Whether or not to ignore the Residence size/count limits when buying a residence.
              IgnoreLimits: false
              # The cost, per block, of making a new Residence or adding a area to it.
              BuyCost: 0.00
              # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
              RenewCost: 0.00
           # Flags are checked in the order:
           # 1: Player
           # 2: Group
           # 3: Owner
           # 4: If all others are undefined, reverts to default value (usually true).
           # Flag permissions default to false.
           # These flags settings override the globals.
           Flags:
              # Specifically allow or deny this group from changing certain flags.
              Permission:
                   #build: true
              # Specifys the flags that are applied at residence creation for players of this group.
              Default:
                  #build: true
              # Specifys the flags that are applied at to the creator at residence creation.
              CreatorDefault:
                  #build: true
              # Specifys the flags that are applied to other groups for this residence, at creation.
              GroupDefault:
                   #default: #group name
                       #build: false
              #these flags are applied specifically to this group whenever they are outside a residence
              #these flags will override the flags at the top, under the Global section.
              World:
                    Global: #these flags will apply to all worlds
                         #build: false
                    Undiscovered Planet: #or you can apply them by each individual world
                         #build: false
    # You can manually specify the group a player is in below, this overrides their permissions group.
    GroupAssigments:
         credomane: credomane
         free_doom: subadmins
         MWFilth: administrators
    
    ItemList: #this is where you can create blacklists / whitelists
         DefaultList: #list name is not important, as long as it is unique. Its good to use a descripive name.
            #type of the list, can be blacklist, whitelist, or ignorelist
            Type: blacklist
            #If you want, you can have this list only apply to one world, otherwise it applys to all worlds
            #World: world
            #You can also have the list apply only to one group, otherwise it applys for all groups
            #Group: default
            #this is the actual list of material names that this list allows or dissallows
            #You can look up the material name by item ID in game by typing /res material <id>
            #Alternativly, you can simply use the item ID in the list, but its less descriptive and harder to see what the list allows or dissallows at a glance
            Items:
               - 'BEDROCK'
               - 'LAVA'
               - 'WATER'
               - 'STATIONARY_LAVA'
               - 'STATIONARY_WATER'
               - 'MOB_SPAWNER'
    # Used to determine which major revision of Residence this config is from, dont change this.
    ResidenceVersion: 2
    [​IMG]

    this is what i am getting. everyone including myself is getting put in the default group and it is not reading the groups. there are no errors in console on startup

    Code:
    2011-09-01 09:46:10 [INFO] [Residence] Found Permissions Bukkit version 1.2!
    2011-09-01 09:46:10 [INFO] [Residence] Successfully linked with iConomy!
    2011-09-01 09:46:10 [INFO] [Residence] Loaded Residences...
    2011-09-01 09:46:10 [INFO] [Residence] Enabled! Version 2.3.9 by bekvon
    [​IMG]
    that is my permissionsbukkit permission file and that is set up fine, i don't get any errors from anything on startup. It is strange and i don't like having the default group with what should be the admin limits, but i can't find any other way around it

    edit: i fixed administrators to administrator to match and still nothing
    this is for all groups going to default:everyone not just me
     
  16. Offline

    fellerets

    ok. when I try to add someone to a residence to be able to build too! like this /resadmin pset PLOT NAME build true . somehow it says +build but he cant build. pls fixx?
     
  17. Somehow with PermissionsEx Residences don't get group names, so everyone have 'default' :(

    Residences 2.3.9 Perms true, Legacy true
    PEX 1.14

    On totally clean/empty copy of bukkit + PEX + Residences working ...
    I will check it out :)
     
  18. Offline

    frickinlosers

    @bekvon

    I fixed it. Turns out permissions 3 is required, maybe I didn't see it. Thanks anyway!
     
  19. Offline

    tjetson

    Quick update to my issue a few posts above. One of the other admins on my server suggests that DefaultCommands might be dictating which worlds load first, or some such. Here is the full list of plugins we are running, in case one of them has any known incompatibilities such that I would get the aforementioned error:
    EDIT: Another update, I have everything working now. For others with similar problems, the solution was that I didn't have DefaultCommands as the multi-world plugin in the Residence config files.
     

  20. Watch your config and screen:

    administrators: #group name
    aren't the same as
    Permissions group: administrator
     
  21. Offline

    lifewater

    Has anyone had this issue? Kagangu and I are still having this issue, we had to disable residence just to make the server playable.
     
  22. Offline

    Beans

    my server died the other day and ever since, i have been trying to get residence to work but it just doesn not wan tto work. when ever i walk, jump, or even open doors it gives me an error message on console. for example when i open a door it says, [Server] Could not pass event PLAYER_INTERACT to Residence java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionsHandler.getPrimaryGropu(LjAVA/LANG/sTRING;lJAVA/LANG/sTRING;) Ljava/langString; and so on... wha tis the problem? then if i move it says [SERVER] Could not pass event PLAYER_MOVE to Residence. this is urgent! can someone help please? i even tried starting a new map, but still gives me the same error.
    im using CB1066
     
  23. Try upgrading Residence plugin, or disable any other plugins, for example for me 'mcSimpleAdmin' did similar error.
     
  24. Offline

    profileryan

    Hi there, we love the plugin (it's exactly what we need on the freebuild server we're trying to start), but we've been struggling with it for ages and finally thought we'd come back here for some badly needed help!

    [I'm on the lastest build of CraftBukkit: 1066, and the lastest version of this plugin: v2.3.9]

    What we've been trying for the past few days to figure out was the simple task of using the Residence plugin to make sure that players on our server can ONLY build within the plots of land that they have rented. (E.g: We want to give them WorldEdit/VoxelSniper rights, but we want to CONTAIN those abilities to be used only within their plot of land). The second part to our quest was to STOP players from building anywhere that's NOT their rented land.

    We've been staring at the config file for days till our eyes water (and probably BLEED soon), and I'm not sure if WHERE we've gone wrong. We've done and redone the config while referencing the Wiki page and...WE JUST REALLY NEED SOME HELP!! :(

    Here is our config file, if it'll help: Our Config File
    If ANYONE in the Minecraft community out there could give me some clear pointers or directions as to how to make this work, I would GREATLY appreciate and be forever(ish) indebted!! (That's as close to a plea for help as it's going to get, please help!) Thanks :)
     
  25. Offline

    keyosuke

    Next time I give those two plugins an update, I'll give that a try. I've been using bukkit since last March, so maybe I missed "the old days".

    I've got MultiWorldPlugin: MultiVerse in my config, and the config is recognized and working fine. When I posted about this problem, that was the case as well, and the upgrade of both Residence and MultiVerse is what broke it. I think the reason this setting probably didn't help is that Multiverse isn't called multiverse.jar anymore. It has been broken down into several component plugins that sit next to eachother and all have different names. I guess, next time I try this upgrade, I'll try tossing a Z in front of Residence and an A in front of all of the multiverse component plugins and hope the load order changes. Thanks for looking into this.

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

    Beans

    i have upgraded the residence plugin and i dont have mcsimpadmin...
     
  27. Offline

    TheMadMan697

    Im having a problem with permissions.
    I have a world which i dont want my default group to be able to create a residence in.

    I added
    Code:
     residence.create: false
    To the permissions for the group i dont want to be able to create them but it does not override the inbuilt permissions like it said it does in the wiki.

    I also tried to change
    Code:
    EnablePermissions: false
        # Set to true if NOT using Permissions or PermissionsBukkit, or using a really old version of Permissions
    in the the residence config buit i still have permissions to create a residence.

    Can anyone tell me how i can take permissions for a user to create a residence.

    I'm Using
    Bukkit RB1060
    Permissions Bukkit
     
  28. i didn't say 'disable mcsimplemail' but disable any other plugins and check what plugin mixup with permissions that residences get error. if you have only permissions + bukkit + residences, then you have a problem :D
     
  29. Offline

    frelling

    Greeting bekvon:

    We came across an interesting anomaly with your internationalization module while attempting to rent a subzone (e.g. myplace.room1). The '.' in the subzone name causes your phrase argument tokenizer Languages.getPhrase( String, String) to shift tokens by 1. For example,

    Code:
    /res market rentable myspace 100 2
    results in the message "myspace is now for rent for 100 every 2 days", the same for the subzone

    Code:
    /res market rentable myspace.room1 100 2
    results in the message "myspace is now for rent for room1 every 100 days". The subzone name becomes the amount and the amount becomes the duration - in the message only.

    This is only a cosmetic issue; the rental system continues to operate as expected. You should consider using a non-character delimiter for your phrases such as tab (\t); not something that can be reasonably expected in your arguments.

    Other than that, keep up the good work on this wonderful plugin. It is one of the best personalized griefer protection plugins available; with tons of other features. Kudos.

    Best regards,

    Frelling
     
  30. Offline

    raddad

    Feature request:

    Remove player. When we want to remove permissions for another player we need to remove each flag one at a time. Being able to remove the player all at once would be awesome.

    It seems everything is migrating towards spout, I sincerely hope you are going to be compatible.

    Love this plugin. We use it at specialattack.net (Tell them Yankee sent you)
     
  31. Offline

    FORC3

    Nice work
    I use it on my server all the time
     
Thread Status:
Not open for further replies.

Share This Page