Riddick_2K 174 Posted January 10, 2023 (edited) Hello everybody. Despite a few years of modifying my vanilla server, now that I've started assembling a modded one I find myself with a doubt that had never occurred to me before. Given that I don't know English and I have to use Google (which sucks), the point is the translation I find on the explanation of the "min" & "max" values in the "types.xml" file. Until now I hadn't worried about it, roughly I know what they mean, but now that I would like a specific weapon to be present in the issue of 1, and that as soon as it is taken, only one is born, I have this doubt. The "max" is the number of items the economy will generate once the item minimum is reached. Ok, but the minimum is "exactly" what ? The number "at which" the restoration of the object starts? Or the number "under which" the restoration of the object starts? I hope Google has translated it correctly (this is where my problem arises too 😕 ) Not all mods provide the "types.xml" file and the ones I find "suggested" around are often inaccurate. Now... To understand better: if I want only one object always present in my server I should set... max = 1 & min = 0 or max = 1 & min =1 Is there anyone who already knows it well and saves me hours of tests and various "messes"? Thank you Errata corrige: I'm sorry for the mistake and I'm sorry to have corrected it after a long time. I already explained the reason for the mistake in the post of September 8th. Today I thought it was necessary to correct the title too because it could generate confusion in searches, both within this forum and on Google. I myself, very often, am directed to this forum starting from Google searches, and the title is a significant part of Google's display in the search window. Edited September 10 by Riddick_2K Errata corrige Share this post Link to post Share on other sites
Karl S 1 Posted February 14, 2023 Min is the lowest amount that will be on the map at any given time. If set to 2 there will always be 2 laying about on the map. If set to 0 the server is not required to spawn any. How you set the count is also critical. If you set count on players to 1 it will count the item in a players inventory. Hope this helps. 1 Share this post Link to post Share on other sites
InfraredGhost 1 Posted April 24, 2023 Sorry to revive an old post here, quantmax and quantmin do not change the amount that spawns on the server, that changes how much spawns within that item. For example: if you had an ammo stack of .22 and quantmax and quantmin were both set to 100 (100%) it would spawn 50/50 everytime. If you had it at quantmax 100 and quantmin 50(%) it would spawn between 25 and 50 rounds in that stack. The thing you need to edit is nominal value which is the total amount of that specific object spawning on the server capable (rarely does it reach this) and min which needs to be below the nominal, min is the bare minimum the server needs to spawn said object. If you set the M4 to have a nominal of 100 and a min of 25 it would absolutely spawn 25 M4s, but there can be complications with that as well. I hope this clears the types.xml up for you. 1 Share this post Link to post Share on other sites
Riddick_2K 174 Posted September 8 On 2/14/2023 at 4:57 PM, Karl S said: Min is the lowest amount that will be on the map at any given time. If set to 2 there will always be 2 laying about on the map. If set to 0 the server is not required to spawn any. How you set the count is also critical. If you set count on players to 1 it will count the item in a players inventory. Hope this helps. Sorry for the huge delay in thanking you. Share this post Link to post Share on other sites
Riddick_2K 174 Posted September 8 On 4/24/2023 at 6:02 PM, InfraredGhost said: Sorry to revive an old post here, quantmax and quantmin do not change the amount that spawns on the server, that changes how much spawns within that item. For example: if you had an ammo stack of .22 and quantmax and quantmin were both set to 100 (100%) it would spawn 50/50 everytime. If you had it at quantmax 100 and quantmin 50(%) it would spawn between 25 and 50 rounds in that stack. The thing you need to edit is nominal value which is the total amount of that specific object spawning on the server capable (rarely does it reach this) and min which needs to be below the nominal, min is the bare minimum the server needs to spawn said object. If you set the M4 to have a nominal of 100 and a min of 25 it would absolutely spawn 25 M4s, but there can be complications with that as well. I hope this clears the types.xml up for you. I forgot about this thread. Okay... I wrote it wrong... I didn't mean "quantmax" and "quantmin", but "nominal" and "min", only that I wrote "nominal" as "max" since it is the maximum number of spawns of the item. "quantmax" and "quantmin" refer to the amount of items present in other items that contain them (ammo inside magazines). "nominal" and "min" refer to the amount of items spawned inside the game. It was a typo on my part. Share this post Link to post Share on other sites