Residence - destroy flag

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
hellraid
Příspěvky: 12
Registrován: 21 lis 2016, 12:48
Reputation: -14

Residence - destroy flag

#1 Příspěvekod hellraid » 21 lis 2016, 16:26

Ahoj ,

pouzivame resky zo spigotu (link) a ked hrac vytvori resku tak nema defaultne nastavenu destroy vlajku cize po vytvoreni RES nemoze nicit bloky vo vlastnej RESke. Prikladam config , groups.yml a flags.yml.

config.yml

Kód: Vybrat vše

# These are Global Settings for Residence.
Global:
  # Starts UUID conversion on plugin startup
  # DONT change this if you are not sure what you doing
  UUIDConvertion: false
  # If you running offline server, better to check this as true. This will help to solve issues with changing players UUID.
  OfflineMode: true
  # Players with residence.versioncheck permission node will be noticed about new residence version on login
  versionCheck: true
  # This loads the <language>.yml file in the Residence Language folder
  # All Residence text comes from this file. (NOT DONE YET)
  Language: Czech
  # Wooden Hoe 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: 271
  Selection:
    # By setting this to true, all selections will be made from bedrock to sky ignoring Y coordinates
    IgnoreY: false
    # By setting this to true, player will only pay for x*z blocks ignoring height
    # This will lower residence price by up to 256 times, so ajust block price BEFORE enabling this
    NoCostForYBlocks: false
  # 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
  Optimizations:
    # Name of your main residence world. Usually normal starting world 'World'. Capitalization essential
    DefaultWorld: Lobby
    DisabledWorlds:
      # List Of Worlds where this plugin is disabled
      List: []
      # Disables all listeners in included worlds
      DisableListeners: true
      # Disabled any command usage in included worlds
      DisableCommands: true
    GlobalChat:
      # Enables or disables chat modification by including players main residence name
      Enabled: false
      # Modifys chat to add chat titles.  If you're using a chat manager, you may add the tag {residence} to your chat format and disable this.
      SelfModify: true
      Format: '&c[&e%1&c]'
    # When this set to true, any teleportation to residence where player dont have tp flag, action will be denyied
    # This can prevent from teleporting players to residence with 3rd party plugins like esentials /tpa
    BlockAnyTeleportation: false
    # Set this as low as posible depending of residence.max.res.[number] permission you are using
    # In example if you are giving max number of 10 for players, set it to 15, if its 30, set it to 35 just to have some small buffer in case
    MaxResCount: 30
    # Set this as low as posible depending of residence.max.rents.[number] permission you are using
    # In example if you are giving max number of 10 for players, set it to 15, if its 30, set it to 35 just to have some small buffer in case
    MaxRentCount: 10
    # Set this as low as posible depending of residence.max.subzones.[number] permission you are using
    # In example if you are giving max number of 10 for players, set it to 15, if its 30, set it to 35 just to have some small buffer in case
    MaxSubzoneCount: 5
    # By setting this to true, regular pvp flag will be acting as overridepvp flag
    # Overridepvp flag tries to ignore any pvp protection in that residence by any other plugin
    OverridePvp: false
    KickLocation:
      # By setting this to true, when player kicks another player from residence, he will be teleported to this location instead of getting outside residence
      Use: false
      World: Lobby
      X: 0.5
      Y: 63.0
      Z: 0.5
      # Less than 0 - head up, more than 0 - head down. Range from -90 to 90
      Pitch: 0.0
      # Head position to left and right. Range from -180 to 180
      Yaw: 0.0
    ShortInfo:
      # By setting this to true, when checking residence info with /res info, you will get only names in list, by hovering on them, you will get flag list
      Use: false
    Vote:
      # Range players can vote to, by default its from 0 to 10 points
      RangeFrom: 0
      RangeTo: 10
      # If this true, players can onli give like for shop instead of point voting
      OnlyLike: false
    Intervals:
      # How often in seconds to heal/feed players in residence with appropriate flag
      # Bigger numbers can save some resources
      Heal: 1
      Feed: 5
    # Potions containing one of thos effects will be ignored if residence dont have pvp true flag set
    NegativePotionEffects:
    - blindness
    - confusion
    - harm
    - hunger
    - poison
    - slow
    - slow_digging
    - weakness
    - wither
    NegativeLingeringPotions:
    - slowness
    - instant_damage
    - poison
    - slowness
    # Defines speed for particular wspeed1 and wspeed2 flags. It can be from 0 up to 5
    WalkSpeed:
      '1': 0.5
      '2': 2.0
  # 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
  Tp:
    # The interval, in seconds, for teleportation.
    # Use 0 to disable
    TeleportDelay: 3
    # Show aditional message in title message area when player is teleporting to residence
    TeleportTitleMessage: true
  RandomTeleportation:
    # World name to use this feature. Add annother one with appropriate name to enable random teleportation
    Lobby:
      # Max coordinate to teleport, setting to 1000, player can be teleported between -1000 and 1000 coordinates
      MaxCoord: 1000
      # If maxcord set to 1000 and mincord to 500, then player can be teleported between -1000 to -500 and 1000 to 500 coordinates
      MinCord: 500
      CenterX: 0
      CenterZ: 0
    # How long force player to wait before using command again.
    Cooldown: 5
    # How many times to try find correct location for teleportation.
    # Keep it at low number, as player always can try again after delay
    MaxTries: 20
  # The interval, in minutes, between residence saves.
  SaveInterval: 10
  Backup:
    AutoCleanUp:
      # Do you want to automaticaly remove backup files from main backup folder if they are older than defined day amount
      Use: false
      Days: 30
    # Do you want to backup files by creating zip files in main residence folder in backup folder
    # This wont have effect on regular backuped files made in save folder
    UseZip: true
    IncludeFiles:
      Worlds: true
      forsale: true
      leases: true
      permlists: true
      rent: true
      flags: true
      groups: true
      config: true
  AutoCleanUp:
    # HIGHLY EXPERIMENTAL residence cleaning on server startup if player is offline for x days.
    # Players can bypass this wih residence.cleanbypass permission node
    Use: false
    # For how long player should be offline to delete hes residence
    Days: 60
    # Worlds to be included in check list
    Worlds:
    - Lobby
  Lwc:
    # Removes lwc protection from all defined objects when removing residence
    OnDelete: true
    # Removes lwc protection from all defined objects when buying residence
    OnBuy: true
    # Removes lwc protection from all defined objects when unrenting residence
    OnUnrent: true
    # List of blocks you want to remove protection from
    MaterialList:
    - CHEST
    - TRAPPED_CHEST
    - furnace
    - dispenser
  AntiGreef:
    TNT:
      # When set to true will allow tnt and minecart with tnt to explode below 62 (default) level outside of residence
      # This will allow mining with tnt and more vanilla play
      ExplodeBelow: false
      level: 62
    Creeper:
      # When set to true will allow Creeper explode below 62 (default) level outside of residence
      # This will give more realistic game play
      ExplodeBelow: false
      level: 62
    Flow:
      # Level from witch one to start lava and water flow blocking
      # This dont have effect in residence area
      Level: 63
      # With this set to true, lava flow outside residence is blocked
      NoLavaFlow: true
      # With this set to true, water flow outside residence is blocked
      NoWaterFlow: true
      Worlds:
      - Lobby
    Place:
      # Level from witch one to start block lava and water place
      # This don't have effect in residence area
      Level: 63
      # With this set to true, playrs cant place lava outside residence
      NoLavaPlace: true
      # With this set to true, playrs cant place water outside residence
      NoWaterPlace: true
      Worlds:
      - Lobby
    BlockFall:
      # With this set to true, falling blocks will be deleted if they will land in different area
      Use: true
      # Level from witch one to start block block's fall
      # This don't have effect in residence area or outside
      Level: 62
      Worlds:
      - Lobby
    ResCleaning:
      # With this set to true, after player removes its residence, all blocks listed below, will be replaced with air blocks
      # Effective way to prevent residence creating near greefing target and then remove it
      Use: true
      # Level from whichone you want to replace blocks
      Level: 63
      # Block list to be replaced
      # By default only water and lava will be replaced
      Blocks:
      - 8
      - 9
      - 10
      - 11
      Worlds:
      - Lobby
    Flags:
      # By setting this to true flags from list will be protected from change while there is some one inside residence besides owner
      # Protects in example from people inviting some one and changing pvp flag to true to kill them
      Prevent: true
      list:
      - pvp
  # The default group to use if Permissions fails to attach or your not using Permissions.
  DefaultGroup: default
  # Enable / Disable the Lease System.
  UseLeaseSystem: false
  # Sets date format when shown in example lease or rent expire date
  # How to use it properly, more information can be found at http://www.tutorialspoint.com/java/java_date_time.htm
  DateFormat: dd.MM.yyyy 'at' hh:mm:ss
  # Sets time zone for showing date, usefull when server is in different country then main server player base
  # Full list of posible time zones can be found at http://www.mkyong.com/java/java-display-list-of-timezone-with-gmt/
  TimeZone: Europe/Prague
  # Enable / Disable money returning on residence removal.
  ResMoneyBack: 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
  # When enabled extra message will apear in chat if residence is for rent or for sell to inform how he can rent/buy residence with basic information.
  ExtraEnterMessage: true
  Sell:
    # If set to true, this will allow to sell subzones. Its recommended to keep it false tho
    Subzone: false
  # Enables or disables the Rent System
  EnableRentSystem: false
  Rent:
    # Prevents residence/subzone removal if its subzone is still rented by some one
    PreventRemoval: true
    Inform:
      # Informs players on rent time ending
      OnEnding: true
      # Time range in minutes when to start informing about ending rent
      Before: 1440
      # Time range in seconds for how long to wait after player logs in to inform about ending rents
      Delay: 60
    DefaultValues:
      # Default values used when putting residence for rent
      AllowRenewing: true
      StayInMarket: true
      AllowAutoPay: true
      # If set to true, when player is not defining auto pay on renting, then this value will be used
      PlayerAutoPay: true
    Schematics:
      # EXPERIMENTAL!!! If set to true, residence will be restored to state it was when backup flag was set to true
      # For securoty reassons only players with aditional residence.backup permission node can set backup flag
      RestoreAfterRentEnds: true
      # When set to true, area state will be saved only when setting backup to true value
      # When set to false, area state will be saved before each renting to have always up to date area look
      # Keep in mind that when its set to false, there is slightly bigger server load as it has to save area each time when some one rents it
      SaveOnFlagChange: 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
  ActionBar:
    # True for ActionBar - new component in 1.8
    # False for old Messaging in chat enter/leave Residence messages
    General: true
    ShowOnSelection: true
  # Color of residence chat.
  ResidenceChatColor: DARK_PURPLE
  ResidenceChatPrefixLength: 16
  # 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
  # Setting this to true server administration wont need to use /resadmin command to access admin command if they are op or have residence.admin permission node.
  AdminFullAccess: false
  # 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 true will prevent subzone deletion when subzone owner is not same as parent zone owner.
  PreventSubZoneRemoval: true
  # Setting this to false will cause residence to continue to load even if a error is detected in the save file.
  StopOnSaveFault: true
  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
  # Setting this to true sends a tutorial message to the new player when he places chest on ground.
  ShowNoobMessage: true
  # Setting this to true creates residence around players placed chest if he don't have any.
  # Only once every server restart if he still don't have any residence
  NewPlayer:
    Use: false
    # Setting this to true, residence will be created for free
    # By setting to false, money will be taken from player, if he has them
    Free: true
    # Range from placed chest o both sides. By setting to 5, residence will be 5+5+1 = 11 blocks wide
    Range:
      X: 5
      Y: 5
      Z: 5
  # 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: []
  Visualizer:
    # With this enabled player will see particle effects to mark selection boundries
    Use: true
    # Range in blocks to draw particle effects for player
    # Keep it no more as 30, as player cant see more than 16 blocks
    Range: 16
    # For how long in miliseconds (5000 = 5sec) to show particle effects
    ShowFor: 5000
    # How often in miliseconds update particles for player
    updateInterval: 20
    # Spacing in blocks between particle effects for rows
    RowSpacing: 2
    # Spacing in blocks between particle effects for collums
    CollumnSpacing: 2
    # Maximum amount of frame particles to show for one player
    FrameCap: 2000
    # Maximum amount of sides particles to show for one player
    SidesCap: 2000
    # Particle effect names. Posible: explode, largeexplode, hugeexplosion, fireworksSpark, splash, wake, crit, magicCrit
    #  smoke, largesmoke, spell, instantSpell, mobSpell, mobSpellAmbient, witchMagic, dripWater, dripLava, angryVillager, happyVillager, townaura
    #  note, portal, enchantmenttable, flame, lava, footstep, cloud, reddust, snowballpoof, snowshovel, slime, heart, barrier
    #  droplet, take, mobappearance

    # If using spigot based server different particales can be used:
    # click2, click1, bow_fire, door_toggle, iron_door_toggle, trapdoor_toggle, iron_trapdoor_toggle, fence_gate_toggle, door_close, iron_door_close, trapdoor_close, iron_trapdoor_close, fence_gate_close, extinguish, record_play, ghast_shriek, ghast_shoot, blaze_shoot, zombie_chew_wooden_door, zombie_chew_iron_door, zombie_destroy_door, smoke, step_sound, potion_break, ender_signal, mobspawner_flames, brewing_stand_brew, chorus_flower_grow, chorus_flower_death, portal_travel, endereye_launch, firework_shoot, villager_plant_grow, dragon_breath, anvil_break, anvil_use, anvil_land, enderdragon_shoot, wither_break_block, wither_shoot, zombie_infect, zombie_converted_villager, bat_takeoff, end_gateway_spawn, enderdragon_growl, fireworks_spark, crit, magic_crit, potion_swirl, potion_swirl_transparent, spell, instant_spell, witch_magic, note, portal, flying_glyph, flame, lava_pop, footstep, splash, particle_smoke, explosion_huge, explosion_large, explosion, void_fog, small_smoke, cloud, coloured_dust, snowball_break, waterdrip, lavadrip, snow_shovel, slime, heart, villager_thundercloud, happy_villager, large_smoke, item_break, tile_break, tile_dust,
    Selected:
      Frame: happyVillager
      Sides: reddust
    Overlap:
      Frame: FLAME
      Sides: FLAME
  # Shows particle effect when player are being pushed back
  BounceAnimation: true
  GUI:
    # Enable or disable flag GUI
    Enabled: true
    # Item id and data to use when flag is set to true
    setTrue:
      Id: 35
      Data: 13
    # Item id and data to use when flag is set to false
    setFalse:
      Id: 35
      Data: 14
    # Item id and data to use when flag is set to remove
    setRemove:
      Id: 35
      Data: 8
  # Default = false. Enabling this, residences with flag nomobs will be cleared from monsters in regular intervals.
  # This is quite heavy on server side, so enable only if you really need this feature
  AutoMobRemoval:
    Use: false
    # How often in seconds to check for monsters in residences. Keep it at reasonable amount
    Interval: 3
  EnforceAreaInsideArea: false
  EnableSpout: false
  EnableLeaseMoneyAccount: true
  # By setting this to true, partial compatability for kCouldron servers will be anabled. Action bar messages and selection visualizer will be disabled automaticaly as off incorrect compatability
  CouldronCompatability: false
DynMap:
  # Enables or disable DynMap Support
  Use: true
  # Shows or hides residence flags
  ShowFlags: true
  # If set true, residence with hidden flag set to true will be hidden from dynmap
  HideHidden: true
  Layer:
    # Enables 3D zones
    3dRegions: true
    # How deep to go into subzones to show
    SubZoneDepth: 2
  Border:
    # Color of border. Pick color from this page http://www.w3schools.com/colors/colors_picker.asp
    Color: '#FF0000'
    # Transparency. 0.3 means that only 30% of color will be visible
    Opacity: 0.3
    # Border thickness
    Weight: 3
  Fill:
    Opacity: 0.3
    Color: '#FFFF00'
    ForRent: '#33cc33'
    Rented: '#99ff33'
    ForSale: '#0066ff'
  # Shows only regions on this list
  VisibleRegions: []
  # Hides region on map even if its not hidden ingame
  HiddenRegions: []


groups.yml

Kód: Vybrat vše

# These groups correspond to the Permissions groups defined in your '<worldname>.yml'
Groups:
    Default: #group name, DONT remove this group
       # 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: 55
           # (Optional) The minimum number of blocks a Residence can be, East to West (X).
           MinEastWest: 3
           # The maximum number of blocks a Residence can be, North to South (Z).
           MaxNorthSouth: 55
           # (Optional) The minimum number of blocks a Residence can be, North to South (Z).
           MinNorthSouth: 3
           # The maximum number of blocks a Residence can be, High to Low (Y).
           MaxUpDown: 256
           # (Optional) The minimum number of blocks a Residence can be, High to Low (Y).
           MinUpDown: 3
           # 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
           # (Optional) The maximum number of blocks a Residence Subzone can be, East to West (X).
           SubzoneMaxEastWest: 55
           # (Optional) The minimum number of blocks a Residence Subzone can be, East to West (X).
           SubzoneMinEastWest: 3
           # (Optional) The maximum number of blocks a Residence Subzone can be, North to South (Z).
           SubzoneMaxNorthSouth: 55
           # (Optional) The minimum number of blocks a Residence Subzone can be, North to South (Z).
           SubzoneMinNorthSouth: 3
           # (Optional) The maximum number of blocks a Residence Subzone can be, High to Low (Y).
           SubzoneMaxUpDown: 256
           # (Optional) The minimum number of blocks a Residence Subzone can be, High to Low (Y).
           SubzoneMinUpDown: 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 /res kick, to kick player from residence.
           Kick: 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: Vitej %player v residenci %residence, kterou vlastni %owner.
           # The default leave message to apply to new Residences created by players in this group.
           # Leaving the message blank will disable it.
           DefaultLeave: Opoustis residenci %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
           # determines max days player can rent residence at once
           MaxRentDays: 31
       # Options relating to the Residence Economy.
       Economy:
          # Whether or not players in this group can buy other Residences that are for sale.
          CanBuy: false
          # 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
          # The cost, per block, player will be getting back when removing residence.
          SellCost: 0
          # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
          RenewCost: 0
       # 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:
               destroy: 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:
              destroy: 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
    elita: #group name, player should have residence.group.nextgroup permission node to have access to this residence group
       Residence:
           CanCreate: true
           MaxResidences: 5
           MaxAreasPerResidence: 4
           MaxEastWest: 150
           MaxNorthSouth: 150
           MaxUpDown: 256
           MinHeight: 0
           MaxHeight: 255
           SubzoneDepth: 3
           CanTeleport: true
           Unstuck: true
           Kick: true
           SelectCommandAccess: true
           ItemListAccess: true
       Messaging:
           CanChange: true
           DefaultEnter: Vitej %player v residenci %residence, kterou vlastni %owner
           DefaultLeave: Opoustis residenci %residence.
       Lease:
          MaxDays: 16
          RenewIncrement: 14
       Rent:
           MaxRents: 3
           MaxRentables: 3
           MaxRentDays: 31
       Economy:
          CanBuy: false
          CanSell: false
          IgnoreLimits: false
          BuyCost: 0.0
          SellCost: 0.0
          RenewCost: 0.0
       Flags:
          # Specifically allow or deny this group from changing certain flags.
          Permission:
               destroy: 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:
              destroy: 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
    legenda: #group name, player should have residence.group.nextgroup permission node to have access to this residence group
       Residence:
           CanCreate: true
           MaxResidences: 5
           MaxAreasPerResidence: 4
           MaxEastWest: 200
           MaxNorthSouth: 200
           MaxUpDown: 256
           MinHeight: 0
           MaxHeight: 255
           SubzoneDepth: 3
           CanTeleport: true
           Unstuck: true
           Kick: true
           SelectCommandAccess: true
           ItemListAccess: true
       Messaging:
           CanChange: true
           DefaultEnter: Vitej %player v residenci %residence, kterou vlastni %owner
           DefaultLeave: Opoustis residenci %residence.
       Lease:
          MaxDays: 16
          RenewIncrement: 14
       Rent:
           MaxRents: 3
           MaxRentables: 3
           MaxRentDays: 31
       Economy:
          CanBuy: false
          CanSell: false
          IgnoreLimits: false
          BuyCost: 0.0
          SellCost: 0.0
          RenewCost: 0.0
       Flags:
          # Specifically allow or deny this group from changing certain flags.
          Permission:
               destroy: 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:
              destroy: 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
    hrdina: #group name, player should have residence.group.nextgroup permission node to have access to this residence group
       Residence:
           CanCreate: true
           MaxResidences: 4
           MaxAreasPerResidence: 4
           MaxEastWest: 125
           MaxNorthSouth: 125
           MaxUpDown: 256
           MinHeight: 0
           MaxHeight: 255
           SubzoneDepth: 3
           CanTeleport: true
           Unstuck: true
           Kick: true
           SelectCommandAccess: true
           ItemListAccess: true
       Messaging:
           CanChange: true
           DefaultEnter: Vitej %player v residenci %residence, kterou vlastni %owner
           DefaultLeave: Opoustis residenci %residence.
       Lease:
          MaxDays: 16
          RenewIncrement: 14
       Rent:
           MaxRents: 3
           MaxRentables: 3
           MaxRentDays: 31
       Economy:
          CanBuy: false
          CanSell: false
          IgnoreLimits: false
          BuyCost: 0.0
          SellCost: 0.0
          RenewCost: 0.0
       Flags:
          # Specifically allow or deny this group from changing certain flags.
          Permission:
               destroy: 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:
              destroy: 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


flags.yml

Kód: Vybrat vše

Global:
  Flags:
    Global:
      use: true
      build: true
      ignite: true
      firespread: true
      damage: true
      creeper: true
      tnt: true
      pvp: true
  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
    animalkilling: true
    mobkilling: true
    vehicledestroy: true
    trade: true
    shear: true
    leash: true
    nofly: false
    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: true
    burn: true
    explode: true
    fireball: true
    command: false
    day: true
    night: true
    chat: true
    hidden: false
    overridepvp: false
    keepinv: false
    keepexp: false
    shop: true
    bank: false
    anvil: true
    admin: true
    backup: false
    beacon: true
    canimals: true
    chorustp: true
    cmonsters: true
    commandblock: false
    coords: true
    craft: true
    dragongrief: true
    dye: true
    damage: true
    decay: true
    dryup: true
    egg: true
    enderpearl: true
    falldamage: true
    feed: true
    flowerpot: true
    grow: true
    glow: true
    hotfloor: true
    hook: false
    iceform: true
    icemelt: true
    jump2: false
    jump3: false
    mobexpdrop: true
    mobitemdrop: true
    nanimals: true
    nmonsters: true
    nomobs: true
    nodurability: false
    pressure: true
    pistonprotection: true
    rain: true
    redstone: true
    respawn: false
    riding: true
    sun: true
    snowtrail: true
    spread: true
    snowball: true
    sanimals: true
    smonsters: true
    trusted: true
    wspeed1: true
    wspeed2: true
  FlagGui:
    animalkilling:
      Id: 365
      Data: 0
    animals:
      Id: 383
      Data: 90
    bed:
      Id: 355
      Data: 0
    brew:
      Id: 379
      Data: 0
    bucket:
      Id: 325
      Data: 0
    build:
      Id: 45
      Data: 0
    burn:
      Id: 50
      Data: 0
    button:
      Id: 143
      Data: 0
    cake:
      Id: 354
      Data: 0
    canimals:
      Id: 383
      Data: 91
    chat:
      Id: 386
      Data: 0
    cmonsters:
      Id: 383
      Data: 50
    command:
      Id: 137
      Data: 0
    container:
      Id: 342
      Data: 0
    creeper:
      Id: 383
      Data: 50
    destroy:
      Id: 121
      Data: 0
    diode:
      Id: 356
      Data: 0
    door:
      Id: 324
      Data: 0
    enchant:
      Id: 116
      Data: 0
    explode:
      Id: 407
      Data: 0
    fireball:
      Id: 385
      Data: 0
    firespread:
      Id: 377
      Data: 0
    flow:
      Id: 111
      Data: 0
    healing:
      Id: 373
      Data: 0
    ignite:
      Id: 259
      Data: 0
    lavaflow:
      Id: 327
      Data: 0
    leash:
      Id: 420
      Data: 0
    lever:
      Id: 69
      Data: 0
    mobkilling:
      Id: 367
      Data: 0
    monsters:
      Id: 52
      Data: 0
    move:
      Id: 301
      Data: 0
    nanimals:
      Id: 383
      Data: 92
    nmonsters:
      Id: 383
      Data: 51
    nofly:
      Id: 171
      Data: 1
    nomobs:
      Id: 166
      Data: 0
    note:
      Id: 25
      Data: 0
    piston:
      Id: 33
      Data: 0
    place:
      Id: 169
      Data: 0
    pvp:
      Id: 268
      Data: 0
    sanimals:
      Id: 383
      Data: 101
    shear:
      Id: 359
      Data: 0
    smonsters:
      Id: 383
      Data: 54
    subzone:
      Id: 160
      Data: 7
    table:
      Id: 58
      Data: 0
    tnt:
      Id: 46
      Data: 0
    tp:
      Id: 120
      Data: 0
    trade:
      Id: 388
      Data: 0
    trample:
      Id: 3
      Data: 0
    use:
      Id: 70
      Data: 0
    vehicledestroy:
      Id: 328
      Data: 0
    waterflow:
      Id: 326
      Data: 0
    anvil:
      Id: 145
      Data: 0
    admin:
      Id: 7
      Data: 0
    backup:
      Id: 47
      Data: 0
    bank:
      Id: 130
      Data: 0
    beacon:
      Id: 138
      Data: 0
    chorustp:
      Id: 432
      Data: 0
    commandblock:
      Id: 137
      Data: 0
    coords:
      Id: 345
      Data: 0
    craft:
      Id: 1
      Data: 0
    dragongrief:
      Id: 3
      Data: 0
    day:
      Id: 37
      Data: 0
    dye:
      Id: 351
      Data: 14
    damage:
      Id: 283
      Data: 0
    decay:
      Id: 18
      Data: 0
    dryup:
      Id: 160
      Data: 11
    egg:
      Id: 344
      Data: 0
    enderpearl:
      Id: 368
      Data: 0
    falldamage:
      Id: 301
      Data: 0
    feed:
      Id: 364
      Data: 0
    flowerpot:
      Id: 390
      Data: 0
    grow:
      Id: 295
      Data: 0
    glow:
      Id: 169
      Data: 0
    hotfloor:
      Id: 213
      Data: 0
    hidden:
      Id: 102
      Data: 0
    hook:
      Id: 346
      Data: 0
    iceform:
      Id: 79
      Data: 0
    icemelt:
      Id: 79
      Data: 0
    jump2:
      Id: 165
      Data: 0
    jump3:
      Id: 165
      Data: 0
    keepinv:
      Id: 298
      Data: 0
    keepexp:
      Id: 322
      Data: 0
    mobexpdrop:
      Id: 362
      Data: 0
    mobitemdrop:
      Id: 351
      Data: 3
    night:
      Id: 35
      Data: 15
    nodurability:
      Id: 145
      Data: 0
    overridepvp:
      Id: 267
      Data: 0
    pressure:
      Id: 147
      Data: 0
    pistonprotection:
      Id: 29
      Data: 0
    rain:
      Id: 38
      Data: 1
    redstone:
      Id: 175
      Data: 0
    respawn:
      Id: 175
      Data: 0
    riding:
      Id: 329
      Data: 0
    sun:
      Id: 175
      Data: 0
    shop:
      Id: 389
      Data: 0
    snowtrail:
      Id: 78
      Data: 0
    spread:
      Id: 332
      Data: 0
    snowball:
      Id: 332
      Data: 0
    trusted:
      Id: 1
      Data: 0
    wspeed1:
      Id: 373
      Data: 0
    wspeed2:
      Id: 373
      Data: 0
  ResidenceDefault:
    build: false
    destroy: false
    use: false
    container: false
    pvp: false
    tnt: false
    creeper: false
    ignite: false
    firespread: false
    vehicledestroy: false
    animalkilling: false
    hook: false
    shear: false
    leash: false
    pistonprotection: true
    tp: true
    explode: false
  CreatorDefault:
    build: true
    move: true
    use: true
    ignite: true
    container: true
    animalkilling: true
    mobkilling: true
    vehicledestroy: true
    trade: true
    shear: true
    leash: true
  GroupedFlags:
    redstone:
    - note
    - pressure
    - lever
    - button
    - diode
    craft:
    - brew
    - table
    - enchant
    trusted:
    - use
    - tp
    - build
    - container
    - bucket
    - move
    - leash
    - animalkilling
    - mobkilling
    - shear
    - chat
    - beacon
    fire:
    - ignite
    - firespread
ItemList:
  DefaultList:
    Type: blacklist
    Items:
    - BEDROCK
    - LAVA
    - WATER
    - STATIONARY_LAVA
    - STATIONARY_WATER
    - MOB_SPAWNER


Za vyriesenie problemu odmenim K+.

Uživatelský avatar
Teiichi
Příspěvky: 866
Věk: 25
Registrován: 29 lis 2014, 02:11
Reputation: 23
Bydliště: <?= $inhome ;?>
Kontaktovat uživatele:

Re: Residence - destroy flag

#2 Příspěvekod Teiichi » 21 lis 2016, 16:45

  ResidenceDefault:
    build: false
    destroy: false


Flags.yml
Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter.”
Příliš snahy škodí, když programátor použije CTRL+C a CTRL+V více jak jednou, má někde chybu v návrhu.”
In theory, theory and practice are the same. In practice, they’re not.”
Vždy pište kód tak, jako by ten chlapík, co ho po vás bude udržovat, měl být násilnický psychopat, který bude vědět, kde bydlíte.”

hellraid
Příspěvky: 12
Registrován: 21 lis 2016, 12:48
Reputation: -14

Re: Residence - destroy flag

#3 Příspěvekod hellraid » 21 lis 2016, 17:01

Dik , K+.


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 39 hostů