Localized Item Name

There is 3 ways to add localized item name to your shop products, in this way, if vanilla items are displayed in some situations, we will display it's localized item name instead of the English ID of the item in pure uppercase.

NeigeItems Hook

  • You should download NeigeItems-xxx.jar (not NeigeItems-api), the file lager than 10MB.

  • Install it in your server.

  • All is done! Now plugin will auto display localized item name for now.

  • Be careful: NeigeItems for now does not support 1.20.5 and higher version.

Set custom display-item for product

  • Use display-name option in product configs.

  • This method requires manual setting of localized names for items.

For example:

items:
  A:
    display-name: 'Apple' # Added line!
    products:
      1:
        material: APPLE
    buy-prices:
      1:
        economy-plugin: Vault
        amount: 10

Auto download and load Minecraft locate file - Premium (Require server version 1.16+)

  • Open config.yml file, and fine below contents:

config-files:
  generate-default-files: true
  language: en_US
  minecraft-locate-file:
    enabled: true
    generate-new-one: true
    file: 'zh_cn.json'
  • Please set minecraft-locate-file.enabled option to true.

  • Then also set minecraft-locate-file.generate-new-one option to true.

  • Finally, set file option to your language locate file name. Support value:

    af_za.json

    • ar_sa.json

    • ast_es.json

    • az_az.json

    • ba_ru.json

    • bar.json

    • be_by.json

    • bg_bg.json

    • br_fr.json

    • brb.json

    • bs_ba.json

    • ca_es.json

    • cs_cz.json

    • cy_gb.json

    • da_dk.json

    • de_at.json

    • de_ch.json

    • de_de.json

    • el_gr.json

    • en_au.json

    • en_ca.json

    • en_gb.json

    • en_nz.json

    • en_pt.json

    • en_ud.json

    • enp.json

    • enws.json

    • eo_uy.json

    • es_ar.json

    • es_cl.json

    • es_ec.json

    • es_es.json

    • es_mx.json

    • es_uy.json

    • es_ve.json

    • esan.json

    • et_ee.json

    • eu_es.json

    • fa_ir.json

    • fi_fi.json

    • fil_ph.json

    • fo_fo.json

    • fr_ca.json

    • fr_fr.json

    • fra_de.json

    • fur_it.json

    • fy_nl.json

    • ga_ie.json

    • gd_gb.json

    • gl_es.json

    • haw_us.json

    • he_il.json

    • hi_in.json

    • hr_hr.json

    • hu_hu.json

    • hy_am.json

    • id_id.json

    • ig_ng.json

    • io_en.json

    • is_is.json

    • isv.json

    • it_it.json

    • ja_jp.json

    • jbo_en.json

    • ka_ge.json

    • kk_kz.json

    • kn_in.json

    • ko_kr.json

    • ksh.json

    • kw_gb.json

    • la_la.json

    • lb_lu.json

    • li_li.json

    • lmo.json

    • lo_la.json

    • lol_us.json

    • lt_lt.json

    • lv_lv.json

    • lzh.json

    • mk_mk.json

    • mn_mn.json

    • ms_my.json

    • mt_mt.json

    • nah.json

    • nds_de.json

    • nl_be.json

    • nl_nl.json

    • nn_no.json

    • no_no.json

    • oc_fr.json

    • ovd.json

    • pl_pl.json

    • pt_br.json

    • pt_pt.json

    • qya_aa.json

    • ro_ro.json

    • rpr.json

    • ru_ru.json

    • ry_ua.json

    • sah_sah.json

    • se_no.json

    • sk_sk.json

    • sl_si.json

    • so_so.json

    • sq_al.json

    • sr_cs.json

    • sr_sp.json

    • sv_se.json

    • sxu.json

    • szl.json

    • ta_in.json

    • th_th.json

    • tl_ph.json

    • tlh_aa.json

    • tok.json

    • tr_tr.json

    • tt_ru.json

    • uk_ua.json

    • val_es.json

    • vi_vn.json

    • vp_vl.json

    • yi_de.json

    • yo_ng.json

    • zh_hk.json

    • zh_cn.json

    • zh_tw.json

    • zlm_arab.json

  • Like I put zh_cn.json here. Start the server, the plugin will say it starting download the file.

  • If sucessfully download, you will see new localized item name, like me:

  • Do you have problems? Try:

    • Delete the json file generated at plugins/UltimateShop folder then regenerate this file.

    • Are you using premium version? Only premium version support this for now.

    • Did plugin print error message when generate the locate file? If yes, try restart the server and plugin will auto regenerate.

  • After generate this file, please keep generate-new-one option to false.

  • If your server upgraded game version, you need delete old locate file and regenerate new one.

  • Server or plugin maybe lag when first time open the shop menu after restart the server, because we need build a cache for those localized item name. Under normal circumstances, you should not feel it unless you have a lot of products.

Last updated