Jump to content

15 Screenshots

  • 62.9k
  • 875
  • 453.82 kB

Recommended Comments



On 8/24/2024 at 10:39 AM, sykosmurf said:

hi love the plugin, im trying to work out how i turn off all the bags except generic one? im sure it is simple but im new to this and help would be awesome 😄

Technically all bags are "off" by default, meaning they won't appear anywhere on your server unless you explicitly make them available somehow such as via loot tables, shops, kits, etc. The only built-in way that bags can be made available to players is via the "Loot spawns" feature which is disabled by default. If you have enabled loot spawns, simply reduce the spawn chance of bags that you don't want to 0 under "Bag spawn chance percent by prefab".

Link to comment
Share on other sites

awesome thankyou, yes i had turned on loot spawn as, that answer is exactly what i was looking for but just didnt click in my head so ill set each other bag to 0 thankyou 😄

 

 

 

Link to comment
Share on other sites

just to confirm below is how i should have it ?

this would give me generic's only being able to spawn for players

"Loot spawns": {
    "Enabled": true,
    "Bag spawn chance percent by prefab": {
      "assets/bundled/prefabs/radtown/crate_normal_2.prefab": {
        "weapons_tools.xxsmall": 0.0,
        "armor_clothing.xxsmall": 0.0,
        "items_construction.xxsmall": 0.0,
        "resources_components.xxsmall": 0.0,
        "generic.xxsmall": 0.1
      },
      "assets/bundled/prefabs/radtown/crate_normal.prefab": {
        "weapons_tools.small": 0.0,
        "armor_clothing.small": 0.0,
        "items_construction.small": 0.0,
        "resources_components.small": 0.0,
        "generic.small": 0.2
      },
      "assets/bundled/prefabs/radtown/foodbox.prefab": {
        "food_medical.xxsmall": 0.0
      },
      "assets/bundled/prefabs/radtown/crate_normal_2_food.prefab": {
        "food_medical.xxsmall": 0.0
      },
      "assets/bundled/prefabs/radtown/crate_normal_2_medical.prefab": {
        "food_medical.xxsmall": 0.0
      },
      "assets/bundled/prefabs/radtown/crate_elite.prefab": {
        "bagofholding": 0.0
      },
      "assets/prefabs/npc/m2bradley/bradley_crate.prefab": {
        "bagofholding": 0.0
      },
      "assets/prefabs/npc/patrol helicopter/heli_crate.prefab": {
        "bagofholding": 0.0

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 4
  • Love 9

User Feedback

1.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

95.8k

Files Sold

Total number of files sold.

1.9m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.