Jump to content

15 Screenshots

Recommended Comments



BlackLightning

Posted

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".

sykosmurf

Posted

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 😄

 

 

 

sykosmurf

Posted

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

0g.Ghost.7373

Posted

Anyone else getting this error?

Started after I bought this plugin.

NullReferenceException: Object reference not set to an instance of an object

steampunkvalley

Posted

Hello! We love your plugin and love how customizable it is. 

I think I know the answer, but are you able to make it compatible with inventory viewer? https://umod.org/plugins/inventory-viewer  When I tried it, the backpack was added to my inventory.

I know the bags are reskinned loot bags so they work differently than a backpack, but thought I'd check. Thanks!

BlackLightning

Posted

2 hours ago, steampunkvalley said:

Hello! We love your plugin and love how customizable it is. 

I think I know the answer, but are you able to make it compatible with inventory viewer? https://umod.org/plugins/inventory-viewer  When I tried it, the backpack was added to my inventory.

I know the bags are reskinned loot bags so they work differently than a backpack, but thought I'd check. Thanks!

I just tested and it seems to still be compatible. I can view another player's inventory, then open a bag in their inventory, and even return to the player's inventory from the bag using the back button.

steampunkvalley

Posted

Definitely user error. I was right clicking on the bag like a vanilla bag, not opening like this plug works. Thanks!

0g.Ghost.7373

Posted

Is there a way to allow them to be placed in a stash?

BlackLightning

Posted

15 hours ago, 0g.Ghost.7373 said:

Is there a way to allow them to be placed in a stash?

I was able to place a bag in a stash without issue. Do you have any plugins that restrict which items can be placed inside stashes?

0g.Ghost.7373

Posted

3 hours ago, BlackLightning said:

I was able to place a bag in a stash without issue. Do you have any plugins that restrict which items can be placed inside stashes?

I found my problem. I had it turned off. lol

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.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

Files Sold

Total number of files sold.

2.1m

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.