PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
54 stars 21 forks source link

Compatibility issues with AdvancedOreGen plugin #1480

Closed xiaosange233 closed 2 years ago

xiaosange233 commented 2 years ago

Terms

Discord tag (optional)

xyxiaosange@outlook.com

What happened?

Here's the thing: My server has added the Itemsadder plugin, and the plugin version is v2.5.5 (the latest), when the player uses a non-forth tool to destroy the itemsadder's block, it will not destroy the block at the moment of destruction, but it will drop items!

Steps to reproduce the issue

  1. Use non-corresponding tools to mine the blocks of itemsadder
  2. The block is not destroyed at the moment of destruction, but drops items

Server version

1.18.1

ItemsAdder Version

2.5.5

ProtocolLib Version

4.7.0

LoneLibs Version

1.0.16b

LightAPI Version (optional)

No response

LibsDisguises Version (optional)

No response

FULL server log

No response

Error (optional)

No response

ItemsAdder config.yml

metrics: true
update-checker: false
disable-plugin-loading-messages_DONT_ASK_ME_FOR_SUPPORT_IF_YOU_SET_TRUE__THANKS: false
resource-pack:
  hosting:
    no-host:
      enabled: false
    auto-external-host:
      enabled: false
    self-host:
      enabled: false
      server-ip: 127.0.0.1
      pack-port: 8163
    external-host:
      enabled: false
      url: https://link.jscdn.cn/1drv/aHR0cHM6Ly8xZHJ2Lm1zL3UvcyFBa3YyenlQZmIzWm9nelo5X3VMQldLWlBGNENrP2U9a0tFQTIy.zip
      skip-url-file-type-check___DONT_ASK_HELP_IF_SET_TRUE: false
  apply-on-join: true
  kick-player-on-decline: false
  kick-player-on-fail: false
  delay-ticks: 1
  notify-other-plugins-interfering: true
  title:
    enabled: true
  protect-player:
    black-screen: true
    hide-hud: true
    cancel-movement: true
    lock-player: true
  command:
    usage-cooldown-seconds: 60
  custom-font:
    enabled: false
    name: ipaexg.ttf
    shift: '[0,0]'
    size: 11.0
    oversample: 2.0
  thin-font:
    enabled: false
  zip:
    protect-file-from-unzip:
      enabled: false
      extreme: false
    compress-png-files: true
    compress-json-files: true
    overwrite-vanilla-models: false
    overwrite-vanilla-lang-json: false
    generate-custom-armors-textures:
      _: 'Available values: VANILLA_1_17 or OPTIFINE'
      enabled: true
      mode: VANILLA_1_17
    disable-overwrite-leather-armor-layers-textures: false
    fix_transparent_noteblocks__disable-for-more-performance: false
    ignore-files-ext:
    - db
    - yml
    - xcf
    - html
  items:
    CustomModelData-starting-value:
      ALL: 10000
      DIAMOND: 11000
config_files:
  lang: zh_cn
  dictionaries-lang: zh_cn
  extract-default-items: true
  extract-default-resources: true
blocks:
  light-api: true
  fix-liquids-flow: true
  fix-floating-blocks: true
  fix-glitched-blocks:
    enabled: true
    only-new-chunks: false
    search-also-in-these-biomes:
      enabled: false
      biomes:
      - BEACH
      - BIRCH_FOREST
      - BIRCH_FOREST_HILLS
      - FOREST
      - MOUNTAINS
      - MOUNTAIN_EDGE
      - GRAVELLY_MOUNTAINS
      - PLAINS
      - RIVER
  cancel-break-wrong-tool:
    enabled: true
    send-actionbar: true
  campfire:
    unlit-on-place: true
    allow-any-item: true
  disable-REAL: false
  disable-REAL_TRANSPARENT: false
  disable-REAL_NOTE: false
  disable-REAL_WIRE: true
  disable-FIRE: false
items:
  fix-show-attack-and-damage-as-lore: true
  give_death_location_maps: true
  hide-custom-durability-lore: false
liquids:
  enabled: true
huds:
  enabled: true
mobs:
  disable-MOB-behaviour__DISABLE_AT_YOUR_OWN_RISK: false
font_images:
  chat:
    enabled: true
    doublecheck-permission__disable-for-more-performance: false
    add-hover-suggestion: true
  command:
    enabled: true
    commandblocks: true
    excluded:
    - home
    - sethome
    - tpa
  sign:
    enabled: true
  book:
    enabled: true
  anvil:
    enabled: true
  inventory-title:
    enabled: true
  tab-header-footer:
    enabled: true
  vault-prefix-suffix:
    enabled: true
    update-every-ticks: 1200
  scoreboard-teams:
    enabled: false
    update-every-ticks: 3600
  player-display-name:
    enabled: true
    update-every-ticks: 1200
  replace-in-customitems-name-and-lore: true
effects:
  hide-scoreboard-numbers: false
  text-effects:
    enabled: true
    replace-in-customitems-name-and-lore: true
    chat:
      enabled: true
    sign:
      enabled: true
    book:
      enabled: true
    anvil:
      enabled: true
    tab-header-footer:
      enabled: true
entities:
  max-furniture-vehicles-per-chunk: 30
  allow-removing-old-furnitures_2_3_11: false
recipes:
  hide-vanilla-unrecognized-recipe-errors: true
  fix-packet-too-large-kick: false
  custom-recipes:
    unlock:
      all-on-join: false
      on-pickup:
        any: false
        ingredients: true
  remove-vanilla-recipes:
    enabled: true
    list:
      DIAMOND_SWORD: false
      IRON_INGOT: false
debug:
  items:
    log-files-loading: false
    log-items-loading: false
    log-items-loading-disabled: false
    log-font-images-loading: false
    log-huds-loading: false
    log-attribute-modifiers-loading: false
    log-warnings: false
    log-loots-loading: false
    log-loots-loading-disabled: false
    log-armors-loading: false
  recipes:
    log-recipes-loading: false
    log-recipes-loading-disabled: false
    log-recipes-removed-vanilla: false
    log-fix-packet-too-large: false
  resource-pack:
    log-extract-default-resources: false
    log-not-extract-default-resources-already-exist: false
  blocks:
    log-save: false
    log-save-on-unload: false
    log-mined-unknown-blocks: true
  worlds-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  trees-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  surface-decorators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-decorators: false
    log-loading-no-world: true
    log-generation: false
  player-stats:
    log-save: false
  performance:
    loading-ms: true
  huds:
    log-triggers: false
  other:
    log-dictionaries-loading: false
    log-liquids-loading: false
    log-minecraft_lang_overwrite-loading: false
  categories:
    log-total-loaded: true
    log-single-loaded: false
    log-single-loaded-overwrite: false
    log-single-skip: false

Problematic items yml configuration file (optional)

# Here you can define worlds where the generator should not work
disabled-worlds:
- lobby
- bskyblock_world_nether
- bskyblock_world_the_end

# AFK mode: Players who stay more than 20 minutes afk would get the defined afk generator
# remove the '#' to enable this feature.
# afk-generator-name: afk
# afk-after-x-seconds: 1200

# command for players that shows the current generator on an island (permission: advancedoregen.showgenerator)
show-generator-command: generator

# water <-> lava fix
# the water-lava-fix avoid generating ores when water is poured on lava directly and vice-versa
# set it to false for using custom ore gen's generator behavior
water-lava-fix: true

# fence generator, allows you to generate cobblestone by placing a fence block instead of lava.
fence-generator-enabled: false

# Allows to build fast generators (when obsidian is created in vanilla)
allow-fast-generators: false

# Enables custom blocks for the basalt generator
enable-basalt-generator: false

# By default, AOG tries to hook with your skyblock plugin, resulting in using the island owner's permission (or level) while gathering the right generator for your player.
# Forcing to use the vanilla hook means that the plugin would use the permission of the nearest player mining on the generator.
force-vanilla-hook: false
cachedGenerators:
- 589869eb-411b-3a34-bd6b-ccdeeb386fd8:无
- 499680d2-d684-3d69-95a0-4de79cc39a4f:无
- 2a94acc9-18e2-3ced-ad8f-820094dccbbe:无
playerGenerators: []
generators:
  generator1:
    label: 无
    iconMaterial: COBBLESTONE
    permission: oregen.无
    unlock_islandLevel: 0
    blocks:
    - STONE:70
    - PAPER#iron_dirt_ore:10
    - PAPER#gold_dirt_ore:5
    - PAPER#coal_dirt_ore:15
  generator2:
    label: 初级
    iconMaterial: IRON_ORE
    permission: oregen.初级
    unlock_islandLevel: 1
    blocks:
    - STONE:70
    - COAL_ORE:15
    - IRON_ORE:5
    - PAPER#gold_dirt_ore:5
    - PAPER#blaze_powder_ore:5
  generator3:
    label: 中级
    iconMaterial: GOLD_ORE
    permission: oregen.中级
    unlock_islandLevel: 2
    blocks:
    - STONE:50
    - COAL_ORE:15
    - IRON_ORE:5
    - COPPER_ORE:5
    - AMETHYST_CLUSTER:5
    - PAPER#ruby_ore:4
    - PAPER#spinel_ore:6
    - PAPER#end_ore:5
    - PAPER#blaze_powder_ore:5
  generator4:
    label: 高级
    iconMaterial: DIAMOND_ORE
    permission: oregen.高级
    unlock_islandLevel: 3
    blocks:
    - STONE:40
    - COAL_ORE:16
    - IRON_ORE:6
    - GOLD_ORE:2
    - COPPER_ORE:5
    - AMETHYST_CLUSTER:5
    - LAPIS_ORE:3
    - REDSTONE_ORE:3
    - PAPER#ruby_ore:4
    - PAPER#spinel_ore:6
    - PAPER#turquoise_ore:2
    - PAPER#aqua_aura_ore:2
    - PAPER#bronze_ore:2
    - PAPER#end_ore:4
  generator5:
    label: 终极
    iconMaterial: LAPIS_ORE
    permission: oregen.终极
    unlock_islandLevel: 4
    blocks:
    - STONE:28
    - COAL_ORE:16
    - IRON_ORE:6
    - GOLD_ORE:3
    - COPPER_ORE:5
    - AMETHYST_CLUSTER:5
    - LAPIS_ORE:3.5
    - REDSTONE_ORE:3.5
    - DIAMOND_ORE:1
    - EMERALD_ORE:1
    - NETHER_QUARTZ_ORE:6
    - PAPER#ruby_ore:4
    - PAPER#spinel_ore:6
    - PAPER#turquoise_ore:2
    - PAPER#aqua_aura_ore:2
    - PAPER#bronze_ore:2
    - PAPER#amethyst_ore:1.5
    - PAPER#end_ore:4.5
  generator6:
    label: 史诗
    iconMaterial: IRON_BLOCK
    permission: oregen.史诗
    unlock_islandLevel: 5
    blocks:
    - STONE:19
    - COAL_ORE:16
    - IRON_ORE:8
    - GOLD_ORE:4
    - COPPER_ORE:5
    - AMETHYST_CLUSTER:5
    - LAPIS_ORE:4.5
    - REDSTONE_ORE:4.5
    - DIAMOND_ORE:2
    - EMERALD_ORE:2
    - ANCIENT_DEBRIS:1
    - NETHER_QUARTZ_ORE:6
    - PAPER#ruby_ore:4
    - PAPER#spinel_ore:6
    - PAPER#turquoise_ore:2
    - PAPER#aqua_aura_ore:2
    - PAPER#bronze_ore:2
    - PAPER#amethyst_ore:1.5
    - PAPER#mysterious_ore:1
    - PAPER#end_ore:4.5
  generator7:
    label: 传奇
    iconMaterial: GOLD_BLOCK
    permission: oregen.传奇
    unlock_islandLevel: 6
    blocks:
    - STONE:17
    - COAL_ORE:16
    - IRON_ORE:8
    - GOLD_ORE:4
    - COPPER_ORE:5
    - AMETHYST_CLUSTER:5
    - LAPIS_ORE:4.5
    - REDSTONE_ORE:4.5
    - DIAMOND_ORE:2
    - EMERALD_ORE:2
    - ANCIENT_DEBRIS:2
    - NETHER_QUARTZ_ORE:6
    - PAPER#ruby_ore:4
    - PAPER#spinel_ore:6
    - PAPER#turquoise_ore:2
    - PAPER#aqua_aura_ore:2
    - PAPER#bronze_ore:2
    - PAPER#amethyst_ore:1.5
    - PAPER#mysterious_ore:1
    - PAPER#nether_alchemy_ore:0.5
    - PAPER#end_ore:5

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

D}H05MZ4CYW_` 44K 9YP9A

LoneDev6 commented 2 years ago

a non-forth tool

Sorry I don't understand. Anyway i suspect it's a bug of AdvancedOreGen, please contact its developer. ItemsAdder blocks won't drop if the break event is not successful.