Residence and Multiworld

Discussion in 'Bukkit Help' started by Mr_Pleco, Aug 19, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Mr_Pleco

    Hello All

    I'm using residence with permissions, and I'm trying to set up a protect area for using stargates to connect two worlds that I've built, but I can't seem to get residence to recognize me as an admin.

    What should my config files be set up like?

    *edit*

    I can post my current config files if needed.
     
  2. Offline

    Sh8kezula

    Please do...

    Are you suing the new permissionsBukkit? If yes.. the plugin might not be recognizing your Permissions group.
    If this is the case. Maybe the plugin offers a permission node to add to the admin class that distinguishes it as admin.
     
  3. Offline

    Mr_Pleco

    I'm using the permissions plugin, not permissions bukkit.

    This is my current residences config.yml:


    Code:
    Global:
        SelectionToolId: 271
        InfoToolId: 287
        MoveCheckInterval: 3000
        SaveInterval: 10
        DefaultGroup: default
        UseLeaseSystem: false
        LeaseCheckInterval: 10
        EnablePermissions: true
        EnableEconomy: true
        EconomySystem: iConomy
        AdminOnlyCommands: false
        AdminOPs: true
        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: false
            WorldNameHere: #here you can set default flags for individual worlds, these override Global
                #build: true
    
    # These groups correspond to the Permissions groups defined in your '<worldname>.yml'
    Groups:
        Admins:
           Residence:
               CanCreate: true
               MaxResidences: 99
               MaxEastWest: 9999
               MaxNorthSouth: 9999
               MaxUpDown: 256
    
    
        Default:
           Residence:
               # Determins if this group can create residences or not.
               CanCreate: true
               # The maximum number of Residences a player can have.
               MaxResidences: 1
               # The maximum number of physical areas a residence can have.
               MaxAreasPerResidence: 2
               # The maximum number of blocks a Residence can be, East to West (X).
               MaxEastWest: 256
               # The maximum number of blocks a Residence can be, North to South (Z).
               MaxNorthSouth: 256
               # The maximum number of blocks a Residence can be, High to Low (Y).
               MaxUpDown: 256
                # 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: 1
               # 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
           # Options relating to enter and leave messages on the residence.
           Messaging:
               # Whether or not the player can change the Residence enter and/or leave message.
               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 leasing of zones.
           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 if this group can rent residences FROM other players
               CanRent: true
               #determines if this group can rent residences TO other players
               CanSetForRent: true
           # 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 buying a Residence or adding a area to it.
              BuyCost: 0.05
              # The cost, per block, of renewing a Residence lease.
              RenewCost: 0.02
           # Flags are checked in the order:
           # 1: Player (in-game only)
           # 2: Group
           # 3: Owner
           # 4: Default
           # 5: Otherwise, if all others are undefined, defaults to 'true'.
           # Flag permissions default to false.
           Flags:
              # Specifys the flags that players of this group are allowed to change.
              Permission:
                   move: true
                   build: true
                   use: true
                   ignite: true
                   pvp: true
                   tp: true
                   flow: true
                   firespread: true
                   creeper: true
                   tnt: true
                   container: true
              # Specifys the flags that are applied at residence creation for players of this group.
              Default:
                   build: false
                   use: false
                   tnt: false
                   pvp: false
                   creeper: false
                   firespread: false
                   container: false
              # Specifys the flags that are applied at to the creator at residence creation.
              CreatorDefault:
                   move: true
                   build: true
                   use: true
                   container: 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 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
                    WorldNameHere: #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:
         bekvon: default
         player: default
         mr_pleco: Admins
    
    ItemList: #this is where you can create blacklists / whitelists
         ListName: #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 or whitelist
            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:
               - 'TNT'
    
    # Used to determine which major revision of Residence this config is from, dont change this.
    ResidenceVersion: 2
    The global groups:


    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - ''
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - ''
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - residence.admin
                - residence.create
    

    The global users:


    Code:
    users:
        Theta_Zero:
            permissions:
            - residence.admin
            - creativebuild.cb
            groups:
            - Admins
        Mr_Pleco:
            permissions:
            - residence.admin
            - creativebuild.cb
            groups:
            - Admins
        TheNo1Yeti:
            permissions: []
            groups:
            - Admins
        Herpina:
            info:
                prefix: Moo
                suffix: Cow
            permissions:
            - herp.derp
            groups:
            - Moderator
        Derpina:
            permissions:
            - -derp.derp
            groups:
            - Admins
        Hebuss:
            permissions:
            groups:
            - Default
    

    My first world's permissions:

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - ''
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - ''
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        Theta_Zero:
            group: Admins
            permissions:
                - 'residence.admin'
                - 'creativebuild.cb'
        Mr_Pleco:
            group: Admins
            permissions:
            - 'residence.admin'
              - 'creativebuild.cb'
        TheNo1Yeti:
            group: Admins
            permissions:
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
    Permissions for my second world:

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - ''
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - ''
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        Theta_Zero:
            group: Admins
            permissions:
                - 'residence.admin'
                - 'creativebuild.cb'
        Mr_Pleco:
            group: Admins
            permissions:
            - 'residence.admin'
              - 'creativebuild.cb'
        TheNo1Yeti:
            group: Admins
            permissions:
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
     
  4. Offline

    Mr_Pleco

    *bump*

    Can anybody help please? =)
     
Thread Status:
Not open for further replies.

Share This Page