(Plugin) Residence Problem

Discussion in 'Bukkit Help' started by Killur, Mar 29, 2013.

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

    Killur

    Hello,
    I want to sell Regions on my Server. When I create a Residence with an OP Account with all permissions and place a sign on it (to sell it), and then try to buy it with an normal account, I can buy it, but I cant build/delete blocks on it.. I have WorldGuard installed.
    If you need any configs/logs to help me just ask :)

    Greets!
     
  2. Offline

    jordanzilla02

    Did you protect the region with WorldGuard around the area to protect it?
     
  3. Offline

    Iroh

    We do need your config file for residence and your permissions config/perms file
     
  4. Offline

    Killur

    Residence Config:
    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: 270
        # 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: 5
        # The default group to use if Permissions fails to attach or your not using Permissions.
        DefaultGroup: default
        # 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 (iConomy, MineConomy, Essentials, BOSEconomy, and RealEconomy supported).
        EnableEconomy: true
        # Enables or disables the Rent System
        EnableRentSystem: true
        # 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: true
        # 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-Core
        # 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
        # This is the residence name filter, that filters out invalid characters.  Google "Java RegEx" or "Java Regular Expressions" for more info on how they work.
        ResidenceNameRegex: '[^a-zA-Z0-9\\-\\_]'
        # Setting this to true sends a message to the console every time Residence does a rent expire check or a lease expire check.
        ShowIntervalMessages: false
        # Experimental - The following settings are lists of block IDs to be used as part of the checks for the "container" and "use" flags when using mods.
        CustomContainers: []
        CustomBothClick: []
        CustomRightClick: []
        # These are world flags that are applied when the player is NOT within a residence.
        Flags:
            Global: #these are default for all worlds unless specified below, they can be overridden per group
                use: false
                build: true
                ignite: flase
                firespread: false
                damage: true
                creeper: false
                tnt: false
                pvp: false
            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: false
            tp: true
            ignite: false
            firespread: false
            bucket: true
            flow: true
            lavaflow: true
            waterflow: true
            creeper: true
            tnt: false
            monsters: true
            animals: true
            subzone: true
            healing: true
            piston: true
            diode: true
            lever: true
            button: true
            door: true
            table: true
            enchant: true
            brew: true
            bed: true
            cake: true
            note: true
            trample: false
            burn: true
            explode: false
            fireball: 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:
    # These groups correspond to the Permissions groups defined in your '<worldname>.yml'
    Groups:
        Default: #group name
          # Information about the Residence zone that the player can define.
          #Uncomment the lines below to mirror this config to other groups.
          #Mirror:
            #- 'group1'
            #- 'group2'
          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: 3
              # 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: 100
              # The maximum number of blocks a Residence can be, North to South (Z).
              MaxNorthSouth: 100
              # The maximum number of blocks a Residence can be, High to Low (Y).
              MaxUpDown: 256
              # The lowest altitude this group is allowed to protect.
              MinHeight: 0
              # The highest altitude this group is allowed to protect.
              MaxHeight: 255
                # 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: true
              # 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
                    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.
    GroupAssignments:
        bekvon: default
        player: default
     
    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
    
    Permissions:
    Code:
    groups:
      user:
        default: true
        permissions:
        - modifywolrd.*
        prefix: '&2[User]'
        suffix: '&f'
      admin:
        permissions:
        - '*'
        prefix: '&c[Admin]'
        suffix: '&f'
    users:
      Bobby:
        group:
        - admin
      Blazy:
        group:
        - admin
      4321kauft:
        group:
        - admin
      Bobydd:
        group:
        - user
    
    I create the Area with Bobby and I buy it with Bobbydd.

    jordanzilla02:
    I did not directly create an area, but the complete world is protected with WorldGuard. Here's the World Guard Config:
    Code:
    #
    # WorldGuard's main configuration file
    #
    # This is the global configuration file. Anything placed into here will
    # be applied to all worlds. However, each world has its own configuration
    # file to allow you to replace most settings in here for that world only.
    #
    # About editing this file:
    # - DO NOT USE TABS. You MUST use spaces or Bukkit will complain. If
    #  you use an editor like Notepad++ (recommended for Windows users), you
    #  must configure it to "replace tabs with spaces." In Notepad++, this can
    #  be changed in Settings > Preferences > Language Menu.
    # - Don't get rid of the indents. They are indented so some entries are
    #  in categories (like "enforce-single-session" is in the "protection"
    #  category.
    # - If you want to check the format of this file before putting it
    #  into WorldGuard, paste it into http://yaml-online-parser.appspot.com/
    #  and see if it gives "ERROR:".
    # - Lines starting with # are comments and so they are ignored.
    #
     
    regions:
        use-scheduler: true
        use-creature-spawn-event: true
        sql:
            use: false
            dsn: jdbc:mysql://localhost/worldguard
            username: worldguard
            password: worldguard
        enable: true
        invincibility-removes-mobs: false
        high-frequency-flags: false
        wand: 334
        max-claim-volume: 30000
        claim-only-inside-existing-regions: false
        max-region-count-per-player:
            default: 7
    auto-invincible: false
    use-player-move-event: true
    security:
        deop-everyone-on-join: false
        block-in-game-op-command: false
    host-keys: {}
    summary-on-start: true
    op-permissions: true
    protection:
        item-durability: true
        remove-infinite-stacks: false
        disable-xp-orb-drops: false
        disable-obsidian-generators: false
    gameplay:
        block-potions: []
        block-potions-overly-reliably: false
    simulation:
        sponge:
            enable: true
            radius: 3
            redstone: false
    default:
        pumpkin-scuba: false
        disable-health-regain: false
    physics:
        no-physics-gravel: false
        no-physics-sand: false
        vine-like-rope-ladders: false
        allow-portal-anywhere: false
        disable-water-damage-blocks: []
    ignition:
        block-tnt: true
        block-tnt-block-damage: false
        block-lighter: true
    fire:
        disable-lava-fire-spread: true
        disable-all-fire-spread: true
        disable-fire-spread-blocks: []
        lava-spread-blocks: []
    mobs:
        block-creeper-explosions: false
        block-creeper-block-damage: false
        block-wither-explosions: false
        block-wither-block-damage: false
        block-wither-skull-explosions: false
        block-wither-skull-block-damage: false
        block-enderdragon-block-damage: false
        block-enderdragon-portal-creation: false
        block-fireball-explosions: false
        block-fireball-block-damage: false
        anti-wolf-dumbness: false
        disable-enderman-griefing: false
        block-painting-destroy: false
        block-item-frame-destroy: false
        block-plugin-spawning: true
        block-above-ground-slimes: false
        block-other-explosions: false
        block-zombie-door-destruction: false
        block-creature-spawn: []
    player-damage:
        disable-fall-damage: false
        disable-lava-damage: false
        disable-fire-damage: false
        disable-lightning-damage: false
        disable-drowning-damage: false
        disable-suffocation-damage: false
        disable-contact-damage: false
        teleport-on-suffocation: false
        disable-void-damage: false
        teleport-on-void-falling: false
        disable-explosion-damage: false
        disable-mob-damage: false
        disable-death-messages: false
    chest-protection:
        enable: false
        disable-off-check: false
    crops:
        disable-creature-trampling: false
        disable-player-trampling: false
    weather:
        prevent-lightning-strike-blocks: []
        disable-lightning-strike-fire: false
        disable-thunderstorm: false
        disable-weather: false
        disable-pig-zombification: false
        disable-powered-creepers: false
        always-raining: false
        always-thundering: false
    dynamics:
        disable-mushroom-spread: false
        disable-ice-melting: false
        disable-snow-melting: false
        disable-snow-formation: false
        disable-ice-formation: false
        disable-leaf-decay: false
        disable-grass-growth: false
        disable-mycelium-spread: false
        disable-vine-growth: false
    blacklist:
        use-as-whitelist: false
        logging:
            console:
                enable: true
            database:
                enable: false
                dsn: jdbc:mysql://localhost:3306/minecraft
                user: root
                pass: ''
                table: blacklist_events
            file:
                enable: false
                path: worldguard/logs/%Y-%m-%d.log
                open-files: 10
    
    Thanks for your answers, I hope you know what to do ;D
     
  5. Offline

    Iroh

    Do you need to give people permission to buy residences?
     
  6. Offline

    Killur

    No I dont think so. I buy the residence with a player in "User"-Group. I can buy it, but I cant build/destroy blocks on it when i've bought it..
     
  7. Offline

    Iroh

    Can we see where residence stores the region data and that data for the region you bought?
     
  8. Offline

    Killur

    How can I show you?
     
  9. Offline

    Iroh

    Forget my last question... What version are you running?
     
  10. Offline

    Killur

    Bukkit: "This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-62-g40cbc3d-b2704jnks (MC: 1.5.1) (Implementing API version 1.5.1-R0.1-SNAPSHOT)" So 1.5.1 Dev-Build

    Residence: "This server running Residence version: 2.6.6.4"
     
  11. Offline

    jordanzilla02

    Sorry I know nothing about Residence and if you protected the world with WorldGuard you would need to to be a member of the region so get rid of the WorldGuard protection in the individual plots for sale and use Residence
     
  12. Offline

    minicl55

    I don't know anything about this residence plugin... However if I had to guess I'd say that it probably has two permission nodes (for some reason), one to buy and one to build in a bought plot.
     
  13. Offline

    Killur

    I looked up the entire config.yml in Residence, but there's nothing like that. I also created a region on the Residence and added the flag "build allow". But it still doesn't work..

    Edit: I just deinstalled WorldGuard for test reasons and I still can't build, so WorldGuard isn't the problem. Maybe I have to set permissions in PermissionsEx?
     
Thread Status:
Not open for further replies.

Share This Page