Files
WT-Offline/apps/server/tuning/marketplace.jsonc
T
N0VAN0M4LY 27fc535301 Split the repository into apps, packages and patches
Everything sat in packages/: two programs next to the small libraries
they use, and the patch data loose at the root. The programs now live in
apps/ and the shared libraries in packages/:

  apps/server        the local server (was packages/local-service),
                     package @wto/server
  packages/patcher   builds the game copy (was packages/build),
                     package @wto/patcher
  patches/exe        exe patch definitions (was exe-patches)
  patches/gui        GUI script patches (was gui-patches)

Inside the server, the network layer folder becomes transport/ so it is
not server/server/, the entry module is server.ts, and startLocalService
and its types become startServer, ServerOptions and RunningServer. The
health answer names the app wto-server, and the TLS files in the data
folder are server.key and server.crt (made again on the next start).
Comments, logs and tool texts say "local server".

The patcher no longer reaches into the server's folder. It read the
default tuning/store.jsonc by a relative path to register bundle GUIDs
for the multi-vehicle packs, which also ignored the player's overrides
in <data>/tuning/. It now takes the pack ids from its caller; the
server exports multiVehiclePackIds(dataFolder), which reads them the way
the running server does. rebuildGuiPack takes the patch folder from its
caller as well.

The development build moves out of the patcher to
scripts/build-game-copy.ts, since it uses both the server and the
patcher. It needs --data (the folder the server will run with) and
defaults the patch folders and the hook library to this repository.


Checked with the root typecheck, check-patches, check-gui,
check-offsets, the native build, a run of build-game-copy.ts into a
scratch folder (12 exe patches, 35 GUI patches, 496 bundle GUIDs as
before) and a server start from apps/server answering wto-server.
2026-11-29 03:20:54 +08:00

430 lines
14 KiB
JSON

// The local marketplace sells coupons for GJN and places purchases in the game inventory.
// GJN supports two decimal places and uses the official USD-equivalent prices.
{
// Maximum coupon quantity per purchase.
"maxPerPurchase": 20,
// Fee withheld when selling coupons back to the system, from 0 to 0.99. The official marketplace fee is 15% (classInfo.market_fee = 0.15).
"sellFeeRate": 0.15,
// Vehicle coupons use vehicles with a marketplaceItemdefId in shop.blk.
"vehicleCoupons": {
// Per-vehicle GJN prices use implementation notes.
// Use the lowest sell listing or the highest buy order when no sell listing exists. Keep the 2026-11-02 reference price for unmatched vehicles.
"byVehicle": {
"a6m6c": 27.96,
"a_7k": 91.9,
"b7a2_homare_23": 24.69,
"beaufighter_mk1_40mm": 15.0,
"bf-109e-7": 1174.99,
"bf-109f-4_hungary": 30.0,
"bf-110c-6": 24.0,
"bi": 176.5,
"boston_mk_1": 57.84,
"buccaneer_s1": 40.0,
"bv-155b-1": 37.49,
"cn_plz_83_130": 38.99,
"cn_qn506": 59.95,
"cn_t_80ud_478be": 27.5,
"cn_type_64": 62.0,
"cn_wz_141": 28.99,
"cr_32_bis": 57.86,
"db_7": 9.29,
"douglas_a_1h": 225.0,
"f-4f": 65.75,
"f-5a": 64.97,
"f-5ag_norway": 45.0,
"f11f_1_late": 45.0,
"f2g-1": 48.99,
"f4d_1": 44.49,
"f4f-4_martlet_mk4": 15.95,
"f4u-6_au-1": 169.89,
"f7f3": 50.0,
"f_100f_china": 55.0,
"f_106a_1972": 48.97,
"f_14a_iriaf": 119.88,
"f_16a_block_5_netherlands": 34.97,
"f_16xl": 45.0,
"f_6c_pakistan": 19.0,
"fj_4b_agm_12b": 41.29,
"fr_amd_35_sa35": 5.85,
"fr_amx_50_1950": 81.87,
"fr_amx_50_surblinde": 1499.77,
"fr_amx_elc_901": 26.73,
"fr_arras_class_amiens": 6.7,
"fr_battleship_strasbourg": 59.99,
"fr_m46_patton": 27.0,
"fr_panhard_ebr_1963": 93.84,
"fr_trident_class_glaive_p671": 13.0,
"fw-189a-1": 12.84,
"fw-190c": 34.47,
"germ_battlecruiser_mackensen_class": 36.0,
"germ_battleship_baden": 62.05,
"germ_battleship_ostfriesland": 39.66,
"germ_boxer_3105": 48.0,
"germ_destroyer_class1924_jaguar1941": 29.0,
"germ_frigate_koln_lubeck": 96.0,
"germ_kv_1B_finland": 69.99,
"germ_leopard_2_pt14": 147.99,
"germ_leopard_2av": 57.99,
"germ_leopard_c2_mexas": 89.37,
"germ_panzerjager_tiger_P_elefant": 174.9,
"germ_pzkpfw_VI_ausf_h1_tiger_animal_version": 90.0,
"germ_pzkpfw_VI_tiger_P": 64.43,
"germ_sdkfz_234_1": 38.99,
"germ_sdkfz_234_3": 29.9,
"germ_sdkfz_234_4": 192.97,
"germ_sdkfz_251_10": 26.98,
"germ_spz_12_3": 49.99,
"germ_th_400": 23.98,
"germ_th_800_bismark": 61.0,
"germ_type143_bussard": 49.0,
"germ_vilkas": 40.0,
"germ_vsw_flak_41": 155.0,
"germ_vt_1_2": 348.95,
"h-75a-2_finland": 14.16,
"h_34": 76.95,
"he-177a-3": 46.5,
"he51b_2w": 11.59,
"he_112b_2": 198.99,
"i_180": 36.98,
"i_29": 17.93,
"iar_93b": 39.5,
"il_2_m82": 20.0,
"il_8_1944": 15.1,
"il_sholef": 24.97,
"it_albatros_class_f544": 23.0,
"it_aubl_74_60_70m": 47.64,
"it_breda_52_autocannone": 32.59,
"it_cruiser_cadorna_class_cadorna": 17.0,
"it_fiat_6614_firos": 28.0,
"itp_m1": 27.0,
"j6k1": 69.78,
"jaguar_e": 67.88,
"jaguar_is": 29.42,
"jp_armoredcruiser_kurama": 44.68,
"jp_battlecruiser_haruna": 36.79,
"jp_battlecruiser_kirishima": 32.86,
"jp_battleship_tosa": 31.98,
"jp_destroyer_suzutsuki": 4.98,
"jp_destroyer_yugure": 18.77,
"jp_destroyer_yuudachi": 16.39,
"jp_escort_hiburi_class_shisaka": 15.92,
"jp_pzkpfw_VI_ausf_e_tiger": 86.99,
"ju-388j": 76.99,
"kfir_c10_colombia": 32.0,
"kfir_c2": 65.0,
"ki_21_1hei": 25.54,
"ki_48_2_otsu": 7.39,
"ki_94_2": 29.5,
"la_174": 47.99,
"lagg-3-34": 888.0,
"lagg-i-301": 18.2,
"marut_mk1": 19.38,
"mb_152c1": 20.78,
"mbr-2": 29.99,
"me-262a-2a": 62.0,
"meteor_frmk9_iaf": 17.35,
"mig-21_pfm": 58.84,
"mig_23mf_germany": 49.89,
"mig_25pd": 36.0,
"mirage_2000c_s4": 42.0,
"mosquito_j30_sweden": 7.1,
"p-26a_34": 99.0,
"p-38j_marge": 32.97,
"p-39q_25_france": 31.0,
"p-40c": 27.07,
"p-43a-1": 14.99,
"p-51b_7_sweden": 38.79,
"p-51c-10_france": 18.0,
"p-51c-11-nt_china": 10.98,
"p-59a": 60.0,
"p-63c-5_kingcobra_animal_version": 73.0,
"pbm_5a": 12.0,
"po-2m": 18.9,
"pv_2d": 30.0,
"re_2005_vdm": 21.0,
"sb2c_5_thailand": 12.87,
"sb_25j_netherlands": 7.06,
"spitfire_lf_mk9c_cw_greece": 9.9,
"spitfire_mk5b_float": 8.29,
"spitfire_mk9c_4cannons": 54.9,
"strikemaster_mk88": 67.99,
"su-8": 83.98,
"su_25_558arz": 56.98,
"sw_kungstiger": 72.2,
"sw_patria_amv_ctcv_105": 40.0,
"sw_patria_bmp_3": 13.14,
"sw_pbil_m40": 22.44,
"tis_ma": 95.89,
"tornado_ids_de_mfg": 49.89,
"uk_a_13_mk2_1939": 18.0,
"uk_a_22f_mk_7_churchill_crocodile": 79.99,
"uk_a_33_excelsior": 118.0,
"uk_a_34_comet_iron_duke": 37.5,
"uk_alecto_mk_1": 15.59,
"uk_armored_car_aec_mk_2": 31.85,
"uk_battlecruiser_renown": 35.3,
"uk_battleship_q_elizabet_class_barham": 59.98,
"uk_boxer_crv_block2": 19.88,
"uk_centurion_mk_2": 135.91,
"uk_centurion_mk_5_raac": 79.37,
"uk_churchill_avre": 34.97,
"uk_cruiser_tiger": 42.9,
"uk_destroyer_g_garland": 7.94,
"uk_destroyer_tribal_mohawk": 38.76,
"uk_frigate_river": 22.3,
"uk_fv107_scimitar_mk2": 11.2,
"uk_matilda_hedgehog": 21.0,
"uk_mk1_grant": 17.9,
"uk_ram_90mm_aa": 39.79,
"uk_sgb_309": 22.17,
"uk_shir_2": 38.29,
"us_ags_teledyne": 107.9,
"us_battleship_mississippi": 56.44,
"us_battleship_oklahoma": 29.19,
"us_ccvl": 94.98,
"us_cruiser_baltimore_class": 30.9,
"us_cruiser_des_moines_class_newport_news": 35.0,
"us_destroyer_porter_1944": 28.96,
"us_destroyer_somers_davis": 48.67,
"us_efv_p1": 17.96,
"us_losat_ccv": 79.9,
"us_lvt_4_zis_2": 27.56,
"us_m551_76": 103.65,
"us_m60a3_slep": 165.0,
"us_m6a2e1": 292.97,
"us_m8_greyhound": 24.6,
"us_m8a1": 27.76,
"us_merkava_mk_1": 119.0,
"us_merkava_mk_2b_late": 71.5,
"us_merkava_mk_3d": 104.5,
"us_pt811": 40.0,
"us_t18_e2": 77.78,
"us_t30": 101.0,
"us_t86": 11.97,
"us_xm_8": 122.5,
"ussr_a_12_mk_2_matilda_2A_F96": 33.19,
"ussr_ba_11": 33.87,
"ussr_battleship_oktyabrskaya_revolutsiya": 18.39,
"ussr_bm_13n": 77.0,
"ussr_bmd_4": 49.99,
"ussr_bt_7a_f32": 34.89,
"ussr_cruiser_maxim_gorky": 19.99,
"ussr_cruiser_omaha_class_murmansk": 13.28,
"ussr_cruiser_shcherbakov": 31.87,
"ussr_destroyer_leningrad": 276.0,
"ussr_is_7": 2000.0,
"ussr_kv_220": 61.87,
"ussr_kv_2_1940": 65.47,
"ussr_kv_8": 10.0,
"ussr_m3c": 102.92,
"ussr_mbk_161_1943": 15.37,
"ussr_mpk_122bis": 22.15,
"ussr_mpk_201k": 14.12,
"ussr_object_248": 89.0,
"ussr_object_279": 1649.96,
"ussr_object_292": 188.49,
"ussr_pr_205pe_k225": 41.0,
"ussr_pt_76_57": 749.77,
"ussr_pzkpfw_V": 48.5,
"ussr_rbt_5": 59.99,
"ussr_su_76d": 27.87,
"ussr_su_76m_5st_kav_corps": 17.66,
"ussr_su_85a": 36.9,
"ussr_t_10a": 143.0,
"ussr_t_26E": 67.66,
"ussr_t_34E": 39.0,
"ussr_t_34_85_zis_53_v80": 20.9,
"ussr_t_44_po": 27.96,
"ussr_t_72b3_arena": 40.0,
"ussr_t_72m2_moderna": 549.88,
"ussr_t_80um2": 69.97,
"ussr_type_62": 210.0,
"whirlwind_p9": 39.94,
"xf5f": 27.0,
"yak-3_eremin": 35.0,
"yak-9t_france": 37.8
},
// For unlisted vehicles, use the first upToRank tier at or above the vehicle's rank.
"byRank": [
{ "upToRank": 1, "gjn": 8 }, { "upToRank": 2, "gjn": 14 }, { "upToRank": 3, "gjn": 22 }, { "upToRank": 4, "gjn": 35 },
{ "upToRank": 5, "gjn": 48 }, { "upToRank": 6, "gjn": 59 }, { "upToRank": 7, "gjn": 69 }, { "upToRank": 99, "gjn": 75 }
],
// Vehicle rank determines coupon rarity and the displayed name color.
"qualityByRank": [ { "upToRank": 3, "quality": 2 }, { "upToRank": 5, "quality": 3 }, { "upToRank": 99, "quality": 4 } ]
},
// Cosmetic and unlock coupon prices and rarities have category defaults.
"cosmeticCoupons": {
// Resource-specific GJN prices use the same snapshot. Unlisted resources use the category default.
"byResource": {
"akms_ag": 0.55,
"aks_74u": 0.88,
"arachis_bull_decal": 0.71,
"atrl_light_west_launcher": 6.3,
"bear_head": 0.56,
"bengal_light_decor": 8.99,
"boar_head": 0.62,
"bsa_bicycle_fold": 4.98,
"cannibal_axe": 1.94,
"cardicon_33": 3.2,
"cardicon_bundeswehr_infantryman": 6.84,
"cardicon_centurion": 15.0,
"cardicon_ch_special_forces": 3.29,
"cardicon_combat_exoskeleton": 9.94,
"cardicon_desert_01_fix": 2.8,
"cardicon_dogfighting_pilot": 31.9,
"cardicon_experienced_shooter": 2.56,
"cardicon_football_marathon_2024": 3.23,
"cardicon_fr_legioner": 1.0,
"cardicon_fr_sapper": 4.85,
"cardicon_gasmask": 24.0,
"cardicon_germ_tanker_gw": 13.0,
"cardicon_hussar_fix": 48.5,
"cardicon_ind_pilot_mk": 0.68,
"cardicon_jalil_zandi": 3.17,
"cardicon_legioner": 4.38,
"cardicon_loot_carrier_driver": 4.2,
"cardicon_motolady": 3.2,
"cardicon_newyear_23": 1.26,
"cardicon_option": 5.0,
"cardicon_paratrooper": 5.36,
"cardicon_poddubny": 14.54,
"cardicon_sw_famale": 5.75,
"cardicon_tanker_sw_modern_02": 4.5,
"cardicon_test_driver": 0.36,
"cardicon_toon_bear": 6.56,
"cardicon_toon_fox": 12.5,
"cardicon_winter_marathon_2024": 7.94,
"cardicon_winter_marathon_2025": 3.1,
"cardicon_woman_scout": 1.23,
"christmas_gnome": 2.47,
"christmas_gnome_girl": 0.47,
"christmas_sock_decor": 0.99,
"christmas_tree_decor": 2.5,
"christmas_wreath": 2.49,
"cn_type_63_ar": 0.37,
"colt_browning_m1895": 2.5,
"crock_head": 1.28,
"cuckoo_watch": 1.1,
"death_valley_sign": 2.5,
"decor_black_quadrocopter": 9.42,
"decor_bmx": 1.17,
"decor_christmas_board": 4.0,
"decor_christmas_deer": 0.89,
"decor_demolition_bomb": 0.8,
"decor_hut_on_chicken_legs": 0.55,
"decor_metall_flame_md": 0.61,
"decor_nutcraker": 0.39,
"decor_snowbike_200": 4.0,
"decor_snowboard": 1.4,
"decor_snowshoes": 1.3,
"decor_wheel_spike_md": 1.94,
"downhill_skating_decal": 0.1,
"explore_more_decal": 0.1,
"female_warrior_1": 0.21,
"fire_decal_1": 0.5,
"fire_decal_2": 0.67,
"fire_decal_3": 0.6,
"fire_decal_4": 0.45,
"fire_decal_5": 0.46,
"fire_decal_6": 0.5,
"fire_decal_7": 0.64,
"fire_decal_8": 0.87,
"fire_decal_9": 23.53,
"ger_ammunition_wwii_512": 4.71,
"good_catch_decal": 0.12,
"hydra_badge": 0.13,
"ice_climber_backpack": 1.0,
"item_danger_zone_decal": 0.21,
"item_eagles_shadow_decal": 0.18,
"item_germany_airforce_emblem": 0.29,
"item_germany_tank_emblem": 0.26,
"item_northern_wind_decal": 0.21,
"item_ny_marathon_decal_japan_200_2": 0.83,
"item_project_x_decal": 0.21,
"item_sky_odyssey_decal": 0.11,
"item_supersonic_decal": 0.35,
"item_ussr_airforce_emblem": 0.44,
"item_ussr_tank_emblem": 0.51,
"item_viking_fury_decal": 0.72,
"items_akms": 1.0,
"items_famas_f1": 0.5,
"items_foil_hat": 2.81,
"items_g36k": 0.64,
"items_helm_rome_gold": 500.0,
"items_helmet_hat": 2.77,
"items_jester_hat": 1.7,
"items_l85a1": 0.65,
"items_m4_carbine": 1.16,
"items_magic_hat": 17.5,
"items_pirate_hat": 0.97,
"items_rabbit_hat": 1.8,
"items_sombrero_hat": 1.17,
"items_type_89f": 0.3,
"items_uncle_sams_hat": 3.42,
"jaws1_decal": 1.49,
"jaws2_decal": 2.2,
"jaws3_decal": 1.42,
"jaws4_decal": 0.87,
"jaws5_decal": 2.5,
"jaws_shark_01": 0.9,
"jaws_shark_02": 0.59,
"jaws_shark_03": 0.65,
"jaws_shark_04": 0.68,
"kitewing_decal": 0.1,
"l85a1_ag": 0.25,
"m249_200": 0.61,
"m4_late": 0.79,
"mg3_kws_200": 0.54,
"mg_mp40": 1.02,
"mg_thompson": 0.49,
"minotaur_badge": 0.12,
"ny_marathon_decal_china": 0.31,
"ny_marathon_decal_italy": 0.39,
"ny_pinup_decal_germany": 0.45,
"piat": 2.36,
"powder_day_decal": 0.1,
"rpk_200": 0.63,
"sailing_catamaran": 0.24,
"secret_santa_decal": 0.12,
"ski": 2.56,
"skier_decal": 0.1,
"slasher_hatchet": 0.56,
"slasher_mask": 1.38,
"sleigh": 9.99,
"snake_head": 0.73,
"snowkiting_decal": 0.1,
"snowman_decor": 1.39,
"snowmobile_nkl16": 0.71,
"summer_2023_paraglider_decal": 0.1,
"summer_2023_windsurfing_decal": 0.1,
"summer_2023_wingsuit_decal": 0.1,
"sweden_ak5d": 0.75,
"tiger_head": 0.79,
"times_to_travel_decal": 0.1,
"travel_gramophone": 4.5,
"type_88_200": 0.19,
"us_browning_m1918": 0.9,
"us_browning_m1919a6": 1.9,
"usa_ciras_land_512": 1.16,
"ussr_ammunition_wwii_512": 2.3,
"ussr_body_armor_6b43": 2.25,
"ussr_marines": 0.4,
"ussr_text_silny": 1.98,
"ussr_text_smely": 1.77,
"vespiary": 0.76,
"waffenhalter": 9.7,
"we_can_climb_it_decal": 0.1,
"willys_mb_dec": 0.45,
"wolf_head": 0.93,
"ww_chinese_farm": 0.55
},
"skin": { "gjn": 5, "quality": 2 },
"decal": { "gjn": 3, "quality": 2 },
"attachable": { "gjn": 8, "quality": 3 },
"unlock": { "gjn": 6, "quality": 3 }
}
}