PluginBugs / Issues-ItemsAdder

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

Bungeecord/Velocity - Stuck on "applying resource pack" screen #3442

Open P5ina opened 5 months ago

P5ina commented 5 months ago

Terms

Discord tag (optional)

p5ina

What happened?

Resource pack doesn't download if you using external hosting and link to other self-hosted itemsadder resource pack. My servers connected using velocity, and resource pack works perfectly fine only on "self-hosted" server. I'm running proxy and both servers in docker, maybe that's the issue?

Also, when "external host" server is booting, it says that "Unexpected end of file from server" and if you run /iazip on self-hosted server it gives you very strange path: CleanShot 2024-02-18 at 14 26 28@2x

Steps to reproduce the issue

  1. Create two purpur servers
  2. Connect them using velocity
  3. Go through this guide

Server version

Current: git-Purpur-2143 (MC: 1.20.4)*

ItemsAdder Version

ItemsAdder version 3.6.3-beta-12

ProtocolLib Version

ProtocolLib version 5.2.0-SNAPSHOT-679

LoneLibs Version

LoneLibs version 1.0.45

FULL server log

"External host" server logs

[11:10:42] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[11:10:44] [ServerMain/INFO]: Loaded 1174 recipes
[11:10:44] [ServerMain/INFO]: Loaded 1271 advancements
[11:10:45] [Server thread/INFO]: Starting minecraft server version 1.20.4
[11:10:45] [Server thread/INFO]: Loading properties
[11:10:45] [Server thread/INFO]: This server is running Purpur version git-Purpur-2143 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: d66bc35 on HEAD)
[11:10:45] [Server thread/INFO]: Server Ping Player Sample Count: 12
[11:10:45] [Server thread/INFO]: Using 4 threads for Netty based IO
[11:10:45] [Server thread/INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 2 worker threads, and gen parallelism of 2 threads
[11:10:46] [Server thread/WARN]: [Pufferfish] SIMD operations are available for your server, but are not configured!
[11:10:46] [Server thread/WARN]: [Pufferfish] To enable additional optimizations, add "--add-modules=jdk.incubator.vector" to your startup flags, BEFORE the "-jar".
[11:10:46] [Server thread/WARN]: [Pufferfish] If you have already added this flag, then SIMD operations are not supported on your JVM or CPU.
[11:10:46] [Server thread/WARN]: [Pufferfish] Debug: Java: 17.0.9, test run: true
[11:10:46] [Server thread/INFO]: Default game type: SURVIVAL
[11:10:46] [Server thread/INFO]: Generating keypair
[11:10:46] [Server thread/INFO]: Starting Minecraft server on *:25565
[11:10:46] [Server thread/INFO]: Using epoll channel type
[11:10:46] [Server thread/INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[11:10:46] [Server thread/INFO]: Paper: Using OpenSSL 1.1.x (Linux x86_64) cipher from Velocity.
[11:10:46] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loading 1 libraries... please wait
[11:10:46] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /data/libraries/org/apache/httpcomponents/httpmime/4.5.14/httpmime-4.5.14.jar
[11:10:46] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /data/libraries/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar
[11:10:46] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /data/libraries/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar
[11:10:46] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /data/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
[11:10:46] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /data/libraries/commons-codec/commons-codec/1.11/commons-codec-1.11.jar
[11:10:46] [Server thread/INFO]: [ProtocolLib] Loading server plugin ProtocolLib v5.2.0-SNAPSHOT-679
[11:10:48] [Server thread/INFO]: [LuckPerms] Loading server plugin LuckPerms v5.4.118
[11:10:48] [Server thread/INFO]: [LoneLibs] Loading server plugin LoneLibs v1.0.45
[11:10:48] [Server thread/INFO]: [spark] Loading server plugin spark v1.10.59
[11:10:48] [Server thread/INFO]: [HuskSync] Loading server plugin HuskSync v3.3.3
[11:10:48] [Server thread/INFO]: [ItemsAdder] Loading server plugin ItemsAdder v3.6.3-beta-12
[11:10:48] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[11:10:48] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v5.2.0-SNAPSHOT-679
[11:10:48] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.4.118
[11:10:49] [Server thread/INFO]:         __    
[11:10:49] [Server thread/INFO]:   |    |__)   LuckPerms v5.4.118
[11:10:49] [Server thread/INFO]:   |___ |      Running on Bukkit - Purpur
[11:10:49] [Server thread/INFO]: 
[11:10:49] [Server thread/INFO]: [LuckPerms] Loading configuration...
[11:10:49] [Server thread/INFO]: [LuckPerms] Loading storage provider... [MYSQL]
[11:10:49] [Server thread/INFO]: [me.lucko.luckperms.lib.hikari.HikariDataSource] luckperms-hikari - Starting...
[11:10:49] [Server thread/INFO]: [me.lucko.luckperms.lib.hikari.HikariDataSource] luckperms-hikari - Start completed.
[11:10:49] [Server thread/INFO]: [LuckPerms] Loading messaging service... [REDIS]
[11:10:49] [Server thread/INFO]: [LuckPerms] Loading internal permission managers...
[11:10:50] [Server thread/INFO]: [LuckPerms] Performing initial data load...
[11:10:50] [Server thread/INFO]: [LuckPerms] Successfully enabled. (took 1558ms)
[11:10:50] [Server thread/INFO]: [LoneLibs] Enabling LoneLibs v1.0.45
[11:10:50] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[11:10:50] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[11:10:50] [Server thread/WARN]: Whilst this makes it possible to use Velocity, unless access to your server is properly restricted, it also opens up the ability for hackers to connect with any username they choose.
[11:10:50] [Server thread/WARN]: Please see https://docs.papermc.io/velocity/security for further information.
[11:10:50] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[11:10:50] [Server thread/INFO]: Preparing level "world"
[11:10:51] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[11:10:51] [Server thread/INFO]: Time elapsed: 260 ms
[11:10:51] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether
[11:10:52] [Server thread/INFO]: Time elapsed: 1211 ms
[11:10:52] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[11:10:52] [Server thread/INFO]: Time elapsed: 89 ms
[11:10:52] [Server thread/INFO]: [spark] Enabling spark v1.10.59
[11:10:53] [Server thread/INFO]: [spark] Using Paper ServerTickStartEvent for tick monitoring
[11:10:53] [Server thread/INFO]: [spark] Starting background profiler...
[11:10:54] [Server thread/INFO]: [HuskSync] Enabling HuskSync v3.3.3
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing plugin config & locale files...
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized plugin config & locale files
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing data adapter...
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized data adapter
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing data serializers...
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized data serializers
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing data migrators/converters...
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized data migrators/converters
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing MySQL database connection...
[11:10:54] [Server thread/INFO]: [net.william278.husksync.libraries.hikari.HikariDataSource] HuskSyncHikariPool - Starting...
[11:10:54] [Server thread/INFO]: [net.william278.husksync.libraries.hikari.pool.HikariPool] HuskSyncHikariPool - Added connection com.mysql.cj.jdbc.ConnectionImpl@64db978b
[11:10:54] [Server thread/INFO]: [net.william278.husksync.libraries.hikari.HikariDataSource] HuskSyncHikariPool - Start completed.
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized MySQL database connection
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing Redis server connection...
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized Redis server connection
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing data syncer...
[11:10:54] [husksync:redis_subscriber/INFO]: [HuskSync] Redis subscribed to channel 'husksync:::update_user_data'
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized data syncer
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing events...
[11:10:54] [husksync:redis_subscriber/INFO]: [HuskSync] Redis subscribed to channel 'husksync:::request_user_data'
[11:10:54] [husksync:redis_subscriber/INFO]: [HuskSync] Redis subscribed to channel 'husksync:::return_user_data'
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized events
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing commands...
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized commands
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing hooks...
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized hooks
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing api...
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized api
[11:10:54] [Server thread/INFO]: [HuskSync] Initializing metrics...
[11:10:54] [Server thread/INFO]: [HuskSync] Successfully initialized metrics
[11:10:54] [Server thread/INFO]: [ItemsAdder] Enabling ItemsAdder v3.6.3-beta-12
[11:10:55] [Server thread/INFO]: [NBTAPI] [NBTAPI] Found Spigot: v1_20_R3! Trying to find NMS support
[11:10:55] [Server thread/INFO]: [NBTAPI] [NBTAPI] NMS support 'MC1_20_R3' loaded!
[11:10:56] [Server thread/INFO]: [ItemsAdder] 
  ___  ___        __        __   __   ___  __      ItemsAdder 3.6.3-beta-12
|  |  |__   |\/| /__`  /\  |  \ |  \ |__  |__)     LoneLibs 1.0.45
|  |  |___  |  | .__/ /--\ |__/ |__/ |___ |  \     Purpur git-Purpur-2143 (MC: 1.20.4)

[11:10:57] [Server thread/INFO]: Starting remote control listener
[11:10:57] [Server thread/INFO]: Thread RCON Listener started
[11:10:57] [Server thread/INFO]: RCON running on 0.0.0.0:25575
[11:10:57] [Server thread/INFO]: Running delayed init tasks
[11:10:57] [Server thread/INFO]: [ItemsAdder] [Pack] Extracting internal contents from .jar
[11:10:57] [Server thread/INFO]: [ItemsAdder] [Pack] DONE extracting internal contents from .jar
[11:10:57] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] [License] Spigot product licensed to: P5ina (1034401)
[11:10:58] [Server thread/INFO]: Done (13.009s)! For help, type "help"
[11:10:58] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] Loaded 7 items
[11:10:58] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] Used 0/188 REAL block IDs
[11:10:58] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] Used 0/750 REAL_NOTE block IDs
[11:10:58] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] Used 0/63 REAL_TRANSPARENT block IDs
[11:10:58] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] Used 0/127 REAL_WIRE block IDs
[11:10:58] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] Used 0/14 FIRE block IDs
[11:10:58] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] Used 27/6608 font_images
[11:10:58] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] [Init] Loaded 1 categories
[11:10:58] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] [Init] Loaded successfully.
[11:10:58] [Craft Scheduler Thread - 0 - ItemsAdder/INFO]: [ItemsAdder] [Pack] Checking resourcepack url... 
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]: java.net.SocketException: Unexpected end of file from server
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at java.base/sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at java.base/sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at ItemsAdder_3.6.3-beta-12.jar//ia.m.qG.a(SourceFile:336)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at ItemsAdder_3.6.3-beta-12.jar//ia.m.qK.a(SourceFile:116)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at ItemsAdder_3.6.3-beta-12.jar//ia.m.rC.run(SourceFile:108)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[11:10:58] [Craft Scheduler Thread - 2 - ItemsAdder/WARN]:  at java.base/java.lang.Thread.run(Unknown Source)

Error (optional)

This warning is printed on start of "external host" server.

[11:10:58 WARN]: java.net.SocketException: Unexpected end of file from server
[11:10:58 WARN]:        at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
[11:10:58 WARN]:        at java.base/sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
[11:10:58 WARN]:        at java.base/sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
[11:10:58 WARN]:        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
[11:10:58 WARN]:        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
[11:10:58 WARN]:        at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
[11:10:58 WARN]:        at ItemsAdder_3.6.3-beta-12.jar//ia.m.qG.a(SourceFile:336)
[11:10:58 WARN]:        at ItemsAdder_3.6.3-beta-12.jar//ia.m.qK.a(SourceFile:116)
[11:10:58 WARN]:        at ItemsAdder_3.6.3-beta-12.jar//ia.m.rC.run(SourceFile:108)
[11:10:58 WARN]:        at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101)
[11:10:58 WARN]:        at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[11:10:58 WARN]:        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[11:10:58 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[11:10:58 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[11:10:58 WARN]:        at java.base/java.lang.Thread.run(Unknown Source)

Problematic items yml configuration file (optional)

metrics: true
update-checker: true
disable-plugin-loading-messages_DONT_ASK_ME_FOR_SUPPORT_IF_YOU_SET_TRUE__THANKS: false
ignore-server-compatibility-check: false
resource-pack:
  hosting:
    no-host:
      enabled: false
    lobfile:
      enabled: false
    self-host:
      enabled: false
      server-ip: hrizolight.ru
      pack-port: 8163
    external-host:
      enabled: true
      url: http://hrizolight.ru:8163/generated.zip
      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: 5
  notify-other-plugins-interfering: true
  title:
    enabled: true
  1_19_3_atlas_support: true
  fix_force_unicode_font_images: true
  expert_users:
    allow_other_plugins_resourcepacks: false
  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:
      protection_1: true
      protection_2: true
    compress-png-files: true
    compress-json-files: true
    generate-custom-armors-textures:
      vanilla_1_17: true
      optifine: true
    disable-overwrite-leather-armor-layers-textures: false
    fix_transparent_noteblocks: false
    ignore-files-ext:
    - db
    - yml
    - xcf
    - psd
    - html
    - gz
    - rar
    - zip
    - 7z
    extract_internal_utility_assets: true
    contents-folders-priority:
    - vanilla
    - _iainternal
    merge_other_plugins_resourcepacks_folders:
    - ModelEngine/resource pack
  items:
    CustomModelData-starting-value:
      ALL: 10000
      DIAMOND: 11000
  custom_blocks_sounds_patch:
    enabled: true
    step:
      enabled: true
      allow_non_player: true
    other: true
config_files:
  lang: en
  dictionaries-lang: en
  force-sync-loading: false
blocks:
  light-api: true
  fix-liquids-flow: true
  fix-floating-blocks: true
  fix-glitched-blocks:
    enabled: true
    only-new-chunks: false
  cancel-break-wrong-tool:
    enabled: true
    send-actionbar: true
  campfire_enhancements:
    enable: true
    unlit_on_place: true
    allow_any_item: true
    drop_when_broken: false
  disable-REAL: false
  disable-REAL_NOTE: false
  disable-REAL_TRANSPARENT: false
  disable-REAL_WIRE: true
  disable-FIRE: false
  convert-vanilla-blocks:
    enabled: false
    only-new-chunks: true
  convert-legacy-ia-region-files: true
  remove-unused-palettes-on-region-save: false
items:
  fix-show-attack-and-damage-as-lore: true
  give_death_location_maps: true
  hide-custom-durability-lore: true
  show_item_durability:
    in_ia_menu: true
    in_inventory: false
  handle-wear-held-actions-on-unexpected-inventory-changes: true
  fix_trades_guis_match_custom_items:
    itemsadder_trade_machines: true
    vanilla_villagers: false
    other_plugins: true
liquids:
  enabled: true
huds:
  enabled: true
  force_color:
    enabled: false
    color: '#FFFFFF'
  hide_if_pack_not_accepted: true
cooldown_bars:
  enabled: true
  refresh_ticks: 1
  bossbar:
    color: WHITE
    style: SOLID
loots:
  allow-loots-drop-from-spawners-using-silk-touch: true
mobs:
  disable-MOB-behaviour__DISABLE_AT_YOUR_OWN_RISK: false
compatibility:
  worldguard:
    show_legacy_furniture_flags: false
font_images:
  replace-in-customitems-name-and-lore: true
  chat:
    enabled: true
    add-hover-suggestion: true
    tab-autocompletion_1_19_1_plus: true
  command:
    enabled: true
    commandblocks: true
    excluded:
    - home
    - sethome
    - tpa
  sign:
    enabled: true
  book:
    enabled: true
  anvil:
    enabled: true
  inventory-title:
    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
  iaimage-book:
    max-line-length: 18
    placeholder-font: minecraft:default
effects:
  hide-scoreboard-numbers: false
  hide-scoreboard-numbers-old-clients: false
  text-effects:
    enabled: true
    customitem-name-and-lore:
      enabled: true
    chat:
      enabled: true
    sign:
      enabled: true
    book:
      enabled: true
    anvil:
      enabled: true
entities:
  max-furniture-vehicles-per-chunk: 30
  allow-removing-old-furnitures_2_3_11: false
  custom-entitites:
    enabled: true
    emotes: true
    expert_users:
      fast_packets_creation: true
      bundle_packets: false
      delay_packets: false
recipes:
  hide-vanilla-unrecognized-recipe-errors: true
  fix-packet-too-large-kick: false
  show-no-permission-popup-in-recipebook: true
  show-no-permission-chat-message: false
  crafting:
    enabled: true
  cooking:
    enabled: true
  anvil:
    enabled: true
  smithing:
    enabled: true
  custom-recipes:
    unlock:
      all-on-join: false
      on-pickup:
        any: true
        ingredients: true
      on-item-click:
        any: true
        ingredients: true
  remove-vanilla-recipes:
    enabled: true
    list:
      DIAMOND_SWORD: false
      IRON_INGOT: false
player_stats:
  save_type: CUSTOM_NBT # CUSTOM_NBT, PLAYER_DAT
debug:
  benchmark: false
  items:
    log-files-loading: false
    log-files-reloading: 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-recipes-unknown-item: 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-load:
      enabled: false
      min-ms: 0
    log-convert-vanilla-blocks: false
    log-fix-bugged-blocks: false
    log-unusual-block-break: false
  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
  cave-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
    log-icon-failed-load: false
  entities:
    log-files-loading: false
    log-entities-loading: false
    log-entities-loading-disabled: false

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

"Self hosted" server configuration:

metrics: true
update-checker: true
disable-plugin-loading-messages_DONT_ASK_ME_FOR_SUPPORT_IF_YOU_SET_TRUE__THANKS: false
ignore-server-compatibility-check: false
resource-pack:
  hosting:
    no-host:
      enabled: false
    lobfile:
      enabled: false
    self-host:
      enabled: true
      server-ip: hrizolight.ru
      pack-port: 8163
    external-host:
      enabled: false
      url: ''
      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
  1_19_3_atlas_support: true
  fix_force_unicode_font_images: true
  expert_users:
    allow_other_plugins_resourcepacks: false
  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:
      protection_1: true
      protection_2: true
    compress-png-files: true
    compress-json-files: true
    generate-custom-armors-textures:
      vanilla_1_17: true
      optifine: true
    disable-overwrite-leather-armor-layers-textures: false
    fix_transparent_noteblocks: false
    ignore-files-ext:
    - db
    - yml
    - xcf
    - psd
    - html
    - gz
    - rar
    - zip
    - 7z
    extract_internal_utility_assets: true
    contents-folders-priority:
    - vanilla
    - _iainternal
    merge_other_plugins_resourcepacks_folders:
    - ModelEngine/resource pack
  items:
    CustomModelData-starting-value:
      ALL: 10000
      DIAMOND: 11000
  custom_blocks_sounds_patch:
    enabled: true
    step:
      enabled: true
      allow_non_player: true
    other: true
config_files:
  lang: en
  dictionaries-lang: en
  force-sync-loading: false
blocks:
  light-api: true
  fix-liquids-flow: true
  fix-floating-blocks: true
  fix-glitched-blocks:
    enabled: true
    only-new-chunks: false
  cancel-break-wrong-tool:
    enabled: true
    send-actionbar: true
  campfire_enhancements:
    enable: true
    unlit_on_place: true
    allow_any_item: true
    drop_when_broken: false
  disable-REAL: false
  disable-REAL_NOTE: false
  disable-REAL_TRANSPARENT: false
  disable-REAL_WIRE: true
  disable-FIRE: false
  convert-vanilla-blocks:
    enabled: false
    only-new-chunks: true
  convert-legacy-ia-region-files: true
  remove-unused-palettes-on-region-save: false
items:
  fix-show-attack-and-damage-as-lore: true
  give_death_location_maps: true
  hide-custom-durability-lore: true
  show_item_durability:
    in_ia_menu: true
    in_inventory: false
  handle-wear-held-actions-on-unexpected-inventory-changes: true
  fix_trades_guis_match_custom_items:
    itemsadder_trade_machines: true
    vanilla_villagers: false
    other_plugins: true
liquids:
  enabled: true
huds:
  enabled: true
  force_color:
    enabled: false
    color: '#FFFFFF'
  hide_if_pack_not_accepted: true
cooldown_bars:
  enabled: true
  refresh_ticks: 1
  bossbar:
    color: WHITE
    style: SOLID
loots:
  allow-loots-drop-from-spawners-using-silk-touch: true
mobs:
  disable-MOB-behaviour__DISABLE_AT_YOUR_OWN_RISK: false
compatibility:
  worldguard:
    show_legacy_furniture_flags: false
font_images:
  replace-in-customitems-name-and-lore: true
  chat:
    enabled: true
    add-hover-suggestion: true
    tab-autocompletion_1_19_1_plus: true
  command:
    enabled: true
    commandblocks: true
    excluded:
    - home
    - sethome
    - tpa
  sign:
    enabled: true
  book:
    enabled: true
  anvil:
    enabled: true
  inventory-title:
    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
  iaimage-book:
    max-line-length: 18
    placeholder-font: minecraft:default
effects:
  hide-scoreboard-numbers: false
  hide-scoreboard-numbers-old-clients: false
  text-effects:
    enabled: true
    customitem-name-and-lore:
      enabled: true
    chat:
      enabled: true
    sign:
      enabled: true
    book:
      enabled: true
    anvil:
      enabled: true
entities:
  max-furniture-vehicles-per-chunk: 30
  allow-removing-old-furnitures_2_3_11: false
  custom-entitites:
    enabled: true
    emotes: true
    expert_users:
      fast_packets_creation: true
      bundle_packets: false
      delay_packets: false
recipes:
  hide-vanilla-unrecognized-recipe-errors: true
  fix-packet-too-large-kick: false
  show-no-permission-popup-in-recipebook: true
  show-no-permission-chat-message: false
  crafting:
    enabled: true
  cooking:
    enabled: true
  anvil:
    enabled: true
  smithing:
    enabled: true
  custom-recipes:
    unlock:
      all-on-join: false
      on-pickup:
        any: true
        ingredients: true
      on-item-click:
        any: true
        ingredients: true
  remove-vanilla-recipes:
    enabled: true
    list:
      DIAMOND_SWORD: false
      IRON_INGOT: false
player_stats:
  save_type: CUSTOM_NBT # CUSTOM_NBT, PLAYER_DAT
debug:
  benchmark: false
  items:
    log-files-loading: false
    log-files-reloading: 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-recipes-unknown-item: 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-load:
      enabled: false
      min-ms: 0
    log-convert-vanilla-blocks: false
    log-fix-bugged-blocks: false
    log-unusual-block-break: false
  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
  cave-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
    log-icon-failed-load: false
  entities:
    log-files-loading: false
    log-entities-loading: false
    log-entities-loading-disabled: false

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

In this example lobby is "self-hosted" server and general is "external host"

https://github.com/PluginBugs/Issues-ItemsAdder/assets/44378225/d71265a0-427f-43ec-a242-e6e1b4052956

github-actions[bot] commented 5 months ago

Hello, your report will be looked into as soon as possible. Please do not bump this thread and don't post it on multiple platforms.

Thanks a lot for your patience.

P5ina commented 5 months ago

I fixed "end of file error" by updating field server-ip to http://hrizolight.ru, but still, issue is presented

P5ina commented 5 months ago

Okey, I found the issue, storage folder was unsynchronized, closing the issue

P5ina commented 5 months ago

Nah, it appeared again

P5ina commented 5 months ago

There's more info, when transitioning from server to server, resourcepack doesn't unloads

LoneDev6 commented 5 months ago

Okey, I found the issue, storage folder was unsynchronized, closing the issue

So it wasn't the issue?

There's more info, when transitioning from server to server, resourcepack doesn't unloads

It's how Minecraft 1.20.4+ works now, it's a "feature". Basically the pack doesn't get removed during servers changes (proxy like Bungeecord and Velocity). It might be worth adding a setting in the ItemsAdder configuration to force the client to unload the pack on server change, but idk if this might cause more confusion.

P5ina commented 5 months ago

So it wasn't the issue?

Yes, that's not the problem. The problem is that when plugin tries to load the resource pack again, itemsadder thinks that it is not loaded, but in fact it has already been loaded from the previous server

P5ina commented 5 months ago

Is it possible to receive resource packs loaded on the client? Then the fix would simply be to check before loading the resource pack whether it is loaded

LoneDev6 commented 5 months ago

The reason might be because you have two packs with two different URLs. The plugin can differentiate packs by their URL and unique id.

P5ina commented 5 months ago

The reason might be because you have two packs with two different URLs.

The plugin can differentiate packs by their URL and unique id.

But as you can see in configs URLs are the same.

LoneDev6 commented 5 months ago

Can you try with the latest beta 13?

P5ina commented 5 months ago

Can you try with the latest beta 13?

Still the same issue

LoneDev6 commented 5 months ago

Thanks a lot for the patience, I will setup a proxy and test the issue as soon as I can. In the meantime set no-host on the other server to avoid the player to get stuck. They will still have the resourcepack installed because they joined the first server.

P5ina commented 5 months ago

Ok, thanks, I'll wait.

MsMaciek123 commented 4 months ago

I can confirm this as an issue. It was working normally (tested on velocity 3.2.0-SNAPSHOT). With the newest velocity it doesn't work - the resourcepack is not sent which makes player stuck at loading screen (/iatexture does nothing)

LoneDev6 commented 4 months ago

This issue is quite strange, @MsMaciek123 can you tell me which velocity version has no issue and which has the issue? So that I can check their recent code changes and see why this happens. Thanks

MsMaciek123 commented 4 months ago

paper server (1.20.4) plugins: ItemsAdder, LoneLibs, ProtocolLib, ViaBackwards, ViaVersion

client 1.20.4 - newest velocity, works client 1.20.2 - newest velocity, stuck at applying resourcepack (it doesn't even start to load)

Velocity version where it stops working: velocity-3.3.0-SNAPSHOT-358 https://github.com/PaperMC/velocity/commit/ef861819e336b0466e4f5138d597223c3de8c5e4

However I'm not sure who should fix the issue (velocity, viaversion or itemsadder).