PluginBugs / Issues-ItemsAdder

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

Issues about scoreboard #1587

Closed Akiranya closed 2 years ago

Akiranya commented 2 years ago

Terms

Discord tag (optional)

Nailm#9364

What happened?

Players being randomly kicked because of scoreboard. This is the message (from Waterfall console) when players are kicked:

java.lang.IllegalArgumentException: Team LD_mwzhm7460nus already exists in this scoreboard

And I guess it might relate to ItemsAdder modifying the scoreboard (and meanwhile some other plugins aren't happy with this...?). Also I'm wonrdering if the prefix LD means "LoneDevs" (sorry if I'm wrong but it's the only thing I could think of ItemsAdder xD). I also reported this issue in the TAB's repo (https://github.com/NEZNAMY/TAB/issues/548) because TAB is also a plugin that modifies the scoreboard. More details can be found in the TAB's repo.

Steps to reproduce the issue

Sorry I really have no idea how to reproduce thiss issue because it just happens randomly ... Sometimes I was afk in the game and I was kicked then the exception I pasted was shown on the console.

Server version

Current: git-Purpur-1604 (MC: 1.18.2)* Previous: git-Purpur-1602 (MC: 1.18.2) You are running the latest version

ItemsAdder Version

[15:15:48 INFO]: ItemsAdder version 3.0.4b [15:15:48 INFO]: Customized Minecraft without client mods! [15:15:48 INFO]: Website: devs.beer [15:15:48 INFO]: Author: LoneDev

ProtocolLib Version

[15:15:48 INFO]: ItemsAdder version 3.0.4b [15:15:48 INFO]: Customized Minecraft without client mods! [15:15:48 INFO]: Website: devs.beer [15:15:48 INFO]: Author: LoneDev

LoneLibs Version

[15:15:57 INFO]: LoneLibs version 1.0.18 [15:15:57 INFO]: Collection of libs used by my plugins [15:15:57 INFO]: Authors: LoneDev and others

LightAPI Version (optional)

[15:16:14 INFO]: LightAPI version bukkit-5.2.0 (build SNAPSHOT) [15:16:14 INFO]: Bukkit library for edit light levels [15:16:14 INFO]: Website: https://github.com/BeYkeRYkt/LightAPI [15:16:14 INFO]: Authors: BeYkeRYkt and other contributors in GitHub

LibsDisguises Version (optional)

[15:16:24 INFO]: LibsDisguises version 10.0.28 [15:16:24 INFO]: A disguise plugin with various disguises. [15:16:24 INFO]: Authors: libraryaddict, Byteflux and Navid K.

FULL server log

No response

Error (optional)

https://github.com/NEZNAMY/TAB/issues/548

ItemsAdder config.yml

metrics: true
update-checker: true
disable-plugin-loading-messages_DONT_ASK_ME_FOR_SUPPORT_IF_YOU_SET_TRUE__THANKS: false
resource-pack:
  hosting:
    no-host:
      enabled: true
    auto-external-host:
      enabled: false
    self-host:
      enabled: false
      server-ip: 127.0.0.1
      pack-port: 8163
    external-host:
      enabled: false
      url: ''
      skip-url-file-type-check___DONT_ASK_HELP_IF_SET_TRUE: false
  apply-on-join: false
  kick-player-on-decline: false
  kick-player-on-fail: false
  delay-ticks: 20
  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: true
      extreme: true
    compress-png-files: true
    compress-json-files: true
    overwrite-vanilla-models: true
    overwrite-vanilla-lang-json: true
    generate-custom-armors-textures:
      vanilla_1_17: true
      optifine: false
    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: 50000
      DIAMOND: 11000
config_files:
  lang: zh_cn
  dictionaries-lang: zh_cn
  extract-default-items: false
  extract-default-resources: false
blocks:
  light-api: false
  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: false
  disable-REAL: false
  disable-REAL_TRANSPARENT: false
  disable-REAL_NOTE: false
  disable-REAL_WIRE: true
  disable-FIRE: false
  fix-liquids-flow: true
  fix-floating-blocks: true
items:
  fix-show-attack-and-damage-as-lore: false
  give_death_location_maps: false
  hide-custom-durability-lore: true
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: false
  command:
    enabled: true
    commandblocks: false
    excluded:
    - home
    - sethome
    - tpa
  sign:
    enabled: true
  book:
    enabled: false
  anvil:
    enabled: true
  inventory-title:
    enabled: true
  tab-header-footer:
    enabled: true
  vault-prefix-suffix:
    enabled: true
    update-every-ticks: 1200
  scoreboard-teams:
    enabled: true
    update-every-ticks: 3600
  player-display-name:
    enabled: false
    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
  custom-entitites:
    enabled: true
    interval-rendering-packets-ticks: 1
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: false
    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: true
    log-not-extract-default-resources-already-exist: true
  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: true
    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
  entities:
    log-files-loading: false
    log-entities-loading: false
    log-entities-loading-disabled: false
loots:
  allow-loots-drop-from-spawners-using-silk-touch: false

Problematic items yml configuration file (optional)

No response

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)

No response

LoneDev6 commented 2 years ago

Hello, none of my plugins is editing the scoreboard teams, LD_ is not something appended by my plugins. Have a nice day

Akiranya commented 2 years ago

Thanks for the reply! I finally figured out it was the LibsDisguise plugin which modifies TEAM.

Hope this information helps other people who cares about it.