PreciousStones

PreciousStones

269k Downloads

Issue with protection

arturek1666 opened this issue ยท 3 comments

commented

Hi, so i created 2 blocks diamond block and obsidian block that protects region the deference is the size, but the issue is that if someone place an diamond_block close to that region with obsidian block player can open chest, place, remove blocks. Please help or fix

My Config:

unbreakable-blocks: []
force-field-blocks:
- title: Limitowany
  no-conflict: true
  block: obsidian
  ?no-resize: true
  limits:
  - 1
  radius: 100
  custom-height: 256
  meta-name: '&bZabezpieczenie terenu PRO'
  meta-autoset: false
  meta-lore:
  - '&eTo zabezpieczy twoje miasto'
  - '&eZabezpiecza region na 200x200blokow'
  - '&eTen block dostaje sie tylko z crate'
  - '&eTen blok automatycznie wylacza PVP'
  prevent-use:
  - 96
  - 167
  - 64
  - 71
  - 193
  - 194
  - 195
  - 196
  - 54
  - 69
  - 70
  - 72
  - 77
  - 107
  - 143
  - 69
  ?prevent-mob-spawn: true
  prevent-pvp: true
  prevent-fire: true
  protect-animals: true
  prevent-place: true
  prevent-creeper-explosions: true
  prevent-destroy: true
  prevent-vehicle-destroy: true
  prevent-fire-spread: true
  prevent-entry: false
  prevent-enderman-destroy: true
  entry-alert: true
  ?protect-villagers: true
  prevent-explosions: true
  prevent-unprotectable: true
  prevent-item-frame-take: true
  protect-armor-stands: true
  prevent-flow: true
  protect-crops: true
  ?prevent-potion-splash: true
  protect-inventories: true
  ?prevent-teleport: true
  prevent-place-blacklist:
  - 153
  ?welcome-message: true
  ?farewell-message: true
  ?prevent-portal-enter: false
  ?prevent-portal-destination: false
  ?prevent-portal-create: false
  ?prevent-vehicle-enter: true
  ?prevent-vehicle-exit: true
  command-blacklisting: true
  can-change-owner: true
  enable-on-src: true
  mixing-group: 1
  rentable: true
  rents-limit: 5
  buyable: false
  cuboid: true
  mask-on-disabled: 80
- title: Small City Protection
  no-conflict: true
  limits:
  - 4
  block: iron_block
  ?no-resize: true
  radius: 25
  custom-height: 256
  meta-name: '&bZabezpieczenie Miasta mini'
  meta-autoset: false
  meta-lore:
  - '&eTo zabezpieczy twoje miasto'
  - '&eZabezpiecza region na 50x50blokow'
  - '&eWysokosc zabezpieczenia 256'
  prevent-use:
  - 96
  - 167
  - 64
  - 71
  - 193
  - 194
  - 195
  - 196
  - 54
  - 69
  - 70
  - 72
  - 77
  - 107
  - 143
  - 69
  prevent-entry: false
  ?protect-animals: true
  prevent-pvp: true
  prevent-fire: true
  prevent-place: true
  ?prevent-potion-splash: true
  prevent-creeper-explosions: true
  prevent-destroy: true
  prevent-vehicle-destroy: true
  prevent-enderman-destroy: true
  entry-alert: true
  prevent-explosions: true
  prevent-unprotectable: true
  prevent-fire-spread: true
  protect-armor-stands: true
  prevent-flow: true
  ?protect-villagers: true
  protect-crops: true
  prevent-place-blacklist:
  - 153
  ?prevent-mob-spawn: true
  ?prevent-item-frame-take: true
  ?prevent-teleport: true
  ?protect-inventories: true
  ?welcome-message: true
  ?farewell-message: true
  ?prevent-portal-enter: false
  ?prevent-portal-destination: false
  ?prevent-portal-create: false
  ?prevent-vehicle-enter: true
  ?prevent-vehicle-exit: true
  command-blacklisting: true
  can-change-owner: true
  enable-on-src: true
  mixing-group: 1
  rentable: true
  rents-limit: 5
  buyable: false
  cuboid: true
  mask-on-disabled: 80
- title: City Protection
  no-conflict: true
  limits:
  - 4
  block: diamond_block
  radius: 50
  custom-height: 256
  meta-name: '&bZabezpieczenie Miasta'
  meta-autoset: true
  meta-lore:
  - '&eTo zabezpieczy twoje miasto'
  - '&eZabezpiecza region na 100x100 blokow'
  - '&eWysokosc zabezpieczenia 256'
  prevent-use:
  - 96
  - 167
  - 64
  - 71
  - 193
  - 194
  - 195
  - 196
  - 54
  - 69
  - 70
  - 72
  - 77
  - 107
  - 143
  - 69
  prevent-entry: false
  prevent-pvp: true
  ?protect-animals: true
  prevent-fire: true
  prevent-fire-spread: true
  prevent-place: true
  ?prevent-potion-splash: true
  ?protect-villagers: true
  prevent-destroy: true
  entry-alert: true
  prevent-vehicle-destroy: true
  prevent-creeper-explosions: true
  prevent-enderman-destroy: true
  prevent-explosions: true
  prevent-unprotectable: true
  protect-armor-stands: true
  prevent-flow: true
  protect-crops: true
  protect-inventories: true
  prevent-place-blacklist:
  - 153
  ?prevent-mob-spawn: true
  ?welcome-message: true
  ?prevent-item-frame-take: true
  ?farewell-message: true
  ?prevent-portal-enter: false
  ?prevent-portal-destination: false
  ?prevent-portal-create: false
  ?prevent-vehicle-enter: true
  ?prevent-vehicle-exit: true
  ?prevent-teleport: true
  command-blacklisting: true
  can-change-owner: true
  enable-on-src: true
  mixing-group: 1
  rentable: true
  rents-limit: 5
  buyable: false
  cuboid: true
  mask-on-disabled: 80
bypass-blocks: []
unprotectable-blocks: []
hiding-mask-blocks:
- '1'
- '2'
- '3'
- '4'
- '5'
- '7'
- '12'
- '13'
- '17'
- '18'
- '20'
- '24'
- '35'
- '43'
- '45'
- '47'
- '48'
- '49'
- '53'
- '60'
- '67'
- '80'
- '81'
- '82'
- '87'
- '88'
- '89'
- '99'
- '100'
- '108'
- '109'
- '110'
- '123'
- '124'
- '125'
- '128'
- '134'
- '135'
- '136'
tool-items:
- '256'
- '257'
- '258'
- '269'
- '270'
- '271'
- '273'
- '274'
- '275'
- '277'
- '278'
- '279'
- '284'
- '285'
- '286'
- '290'
- '291'
- '292'
- '293'
- '294'
repairable-items:
- '256'
- '257'
- '258'
- '259'
- '261'
- '267'
- '268'
- '269'
- '270'
- '271'
- '272'
- '273'
- '274'
- '275'
- '276'
- '277'
- '278'
- '279'
- '283'
- '284'
- '285'
- '286'
- '290'
- '291'
- '292'
- '293'
- '294'
- '298'
- '299'
- '300'
- '301'
- '302'
- '303'
- '304'
- '305'
- '306'
- '307'
- '308'
- '309'
- '310'
- '311'
- '312'
- '313'
- '314'
- '315'
- '316'
- '317'
- '346'
- '359'
log:
  translocation: true
  rollback: true
  fire: true
  entry: true
  place: true
  use: true
  pvp: true
  destroy: true
  destroy-area: false
  place-area: false
  unprotectable: true
  bypass-pvp: true
  bypass-delete: true
  bypass-place: true
  bypass-destroy: true
  conflict-place: true
  rents-and-purchases: true
notify:
  translocation: true
  rollback: true
  place: true
  destroy: true
  bypass-unprotectable: true
  bypass-pvp: true
  bypass-place: true
  bypass-destroy: true
  fly-zones: true
warn:
  instant-heal: true
  slow-heal: true
  slow-damage: true
  slow-feeding: true
  slow-repair: true
  fast-damage: true
  air: true
  fire: true
  entry: true
  place: true
  use: true
  pvp: true
  destroy: true
  destroy-area: true
  unprotectable: true
  launch: true
  cannon: true
  mine: true
settings:
  disable-messages: false
  prevent-removal-if-player-in-field: true
  use-commands-to-rent: true
  disable-simpleclans-hook: false
  max-size-translocation: 100000
  max-size-translocation-for-redstone: 1000
  version: 14
  prevent-place-everywhere:
  - none
  prevent-destroy-everywhere:
  - none
  show-default-welcome-farewell-messages: true
  sneak-to-place-field: false
  sneak-to-place-normal-block: true
  disable-ground-info: false
  global-field-limit: 1000000
  no-refund-for-fields: false
  public-block-details: false
  drop-on-delete: true
  disable-alerts-for-admins: true
  disable-bypass-alerts-for-admins: false
  off-by-default: false
  lines-per-page: 100
  show-debug-info: false
  blacklisted-worlds:
  - end
  - nether
  - spawn
  - Eventy
  auto-allow-clan-on-fields: true
  auto-allow-team-on-fields: false
  check-once-per-block-on-move: false
  use-blockids-in-snitches: false
  fence-max-depth: 50
  max-target-distance: 100
  default-item-currency: '266'
  disable-field-break-while-creative: false
  prevent-breaking-hidden: false
cuboid:
  defining-blocktype: obsidian
  visualization-blocktype: glass
cleanup:
  player-inactivity-purge-days: 180
  purge-banned-players: true
saving:
  frequency-seconds: 1
  max-records-per-snitch: 50
visualization:
  frame-block-type: glass
  block-type: glass
  seconds: 30
  new-dotted-style: true
  end-on-player-move: false
  mark-block-type: obsidian
  default-density: 8
  blocks-to-send: 100
  max-fields-to-visualize-at-once: 5
  ticks-between-sends: 10
  visualize-on-expand: true
grief-revert:
  min-interval-secs: 30
  black-list:
  - '92'
mysql:
  enable: true
  host: localhost
  port: 3306
  database: s2075
  username: s2075
  password: HB6hkVV23m

commented

All three fields you have defined use the same mixing-group - meaning if they overlap they will treat them as one field. You also have no-conflict: true, which means fields can overlap if placed close together. Remove the no-conflict flag (or set it to false) and it should fix your issue. Note that you may need to re-place some of the conflicting fields in order to update them (and/or restart).

commented

thank you I will check it out :) and if it will work fine i will close

commented

Thanks it fixed. CLOSING