FastCraft

FastCraft

138k Downloads

Feature request: Limit minecraft/lang asset downloads to language(s) of interest

SlimeDog opened this issue ยท 10 comments

commented

Description

FastCraft downloads 186 language files from minecraft.net. Only one language is required on my servers. It would be nice if FC attempted to download only the language of interest. This would (probably) require a configuration node, unless the server language(s) can be gleaned from the system or MC server settings.

Server Details

  • Server: Spigot or Paper 1.16.5
  • FastCraft: v3.2.9
commented

Ah yep, looks like you aren't using the new build I linked. The loading message should say 3.2.9-7.g84ff18bb

commented

How's this? It only downloads locale assets as they're needed :)
https://1026-53271895-gh.circle-artifacts.com/0/artifacts/FastCraft-3.2.9-7.g84ff18bb.jar

commented

My network connection blocker tripped on the recent generalization of resources.download.minecraft.net. There were 186 failed connections to that target and 126 error messages in the log about language files that could not be downloaded.

plugins/FastCraft/cache/assets/minecraft/1.16.5/minecraft/lang/
contains 125 json language files, none (or maybe one) of which is needed.

commented

Could you share the Enabling Fastcraft line and one of the error messages from the log? I'm confused because that doesn't sound right

commented
Log
[08:05:55] [Server thread/INFO]: [FastCraft] Loading FastCraft v3.2.9
[08:06:18] [Server thread/INFO]: [FastCraft] Enabling FastCraft v3.2.9
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ar_sa.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ast_es.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/az_az.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ba_ru.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/bar.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/be_by.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/bg_bg.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/br_fr.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/brb.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/bs_ba.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ca_es.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/cs_cz.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/cy_gb.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/da_dk.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/de_at.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/de_ch.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/de_de.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/el_gr.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/en_au.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/en_ca.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/en_gb.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/en_nz.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/en_pt.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/en_ud.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/enp.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/enws.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/eo_uy.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/es_ar.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/es_cl.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/es_ec.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/es_es.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/es_mx.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/es_uy.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/es_ve.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/esan.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/et_ee.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/eu_es.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/fa_ir.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/fi_fi.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/fil_ph.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/fo_fo.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/fr_ca.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/fr_fr.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/fra_de.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/fy_nl.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ga_ie.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/gd_gb.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/gl_es.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/got_de.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/gv_im.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/haw_us.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/he_il.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/hi_in.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/hr_hr.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/hu_hu.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/hy_am.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/id_id.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ig_ng.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/io_en.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/is_is.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/isv.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/it_it.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ja_jp.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/jbo_en.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ka_ge.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/kab_kab.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/kk_kz.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/kn_in.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ko_kr.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ksh.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/kw_gb.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/la_la.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/lb_lu.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/li_li.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/lol_us.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/lt_lt.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/lv_lv.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/mi_nz.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/mk_mk.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/mn_mn.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/moh_ca.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ms_my.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/mt_mt.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/nds_de.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/nl_be.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/nl_nl.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/nn_no.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/no_no.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/nuk.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/oc_fr.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/oj_ca.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ovd.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/pl_pl.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/pt_br.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/pt_pt.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/qya_aa.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ro_ro.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ru_ru.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/scn.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/se_no.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/sk_sk.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/sl_si.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/so_so.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/sq_al.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/sr_sp.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/sv_se.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/swg.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/sxu.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/szl.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/ta_in.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/th_th.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/tl_ph.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/tlh_aa.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/tr_tr.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/tt_ru.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/tzl_tzl.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/uk_ua.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/val_es.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/vec_it.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/vi_vn.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/yi_de.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/yo_ng.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/zh_cn.json': Connection timed out
[08:06:56] [Craft Scheduler Thread - 6/ERROR]: [FastCraft] Unable to cache asset 'minecraft/lang/zh_tw.json': Connection timed out
commented

This is an existing installation. Nothing new should have been needed. Currently, plugins/FastCraft/cache/assets/minecraft/1.16.5/minecraft/lang contains 124 json files. It's not clear why all of them are required, and they consume 44MB of disk. But after that failure, the directory was empty.

Please let me know if you need more.

commented

I missed that. :(
It works fine. Very few files downloaded, so now I'm 44MB to the good. Thanks.

I use the builds from https://github.com/BenWoodworth/FastCraft/releases, the last of which was January 17. Is there somewhere else my automagical update-checker should be looking?

commented

Awesome! And that's basically it for releases.

I got this build from a build server (click the green checkmark on the commits page), but I wouldn't recommend using those since it's bleeding edge. It's just convenient to share specific builds when I want someone to test something like here. I'm actually not even sure it shows other people build artifacts besides me...

commented

Let me know if anything's acting weird with this build. I think it's fine, but just in case. I'll post a new release in a week or so if I don't hear back about any issues :)

commented

We have heavily engaged in testing and prep for MC 1.17 on Spigot and Paper. We do not have a lot of cycles to test FC. I noticed this issue only because I was reviewing disk usage.