Jump to content

15 Screenshots

Recommended Comments



BlackLightning

Posted (edited)

On 8/19/2023 at 3:49 PM, Nomad3211 said:

Plugin Update Request: 

Is it possible to add a feature that enables players with permissions to keep their bags upon death? 

Not really. That feature was considered during initial development of this plugin, because the Backpacks plugin on uMod has a similar feature, but ultimately it was deemed too complex and not a good fit for this type of plugin.

The biggest capability difference between this plugin and Backpacks is that players must "earn" the capacity by acquiring the bags. If a player loses their bags for any reason, not only are the contents of those bags lost, but the capacity is also lost.

If you want to allow players to keep the bags and their contents on death, that would be in scope for the Restore Upon Death plugin to solve. At this time, that plugin doesn't discriminate about which items are retained, but it could be updated to allow the server owner to configure which types of items are kept vs lost, in order to keep Bag of Holding bags (and their contents) on death. Another way to achieve this would be to use the Backpacks plugin with keep-on-death enabled, and only allow backpacks to hold Bag of Holding bags. As a result, players could place Bag of Holding bags inside their Backpack to protect them (and their contents) from dropping on death.

If you want to allow players to keep only the bags themselves on death (not the contents of the bags), there is no solution at this time. One reason we didn't try to solve that problem is that it's not clear where the bag contents would go. Depending on how many items were inside the bags, the player's corpse may not have sufficient inventory space to hold all the items. We considered the possibility of creating a "corpse" bag, which is basically read-only bag that would replace the original bag on the player corpse, allowing the player to retrieve the bag contents, but the player would not be permitted to move the corpse bag or add items to it to prevent abuse or bag duplication. We could possibly revisit that idea in the future.

Edited by BlackLightning
  • Like 2
Father

Posted

| Error while compiling BagOfHolding: ) expected | Line: 4458, Pos: 29

Father

Posted

new update

 

BlackLightning

Posted

27 minutes ago, Father said:

| Error while compiling BagOfHolding: ) expected | Line: 4458, Pos: 29

There must be something wrong on your side. I can't reproduce that problem.

Trenyc

Posted (edited)

I'm very interested in this mod as a way to expand containe storage and enable clutter organization. To that end I'd ideally like to set a limit of 0 in inventory and backpack but greater than zero in storage. I'd also like to set per-bag limits (rather than overall) and to have different limits for players based on permissions. I assume these things are possible with the config options in this plugin but I'd like to know before spending please!

Any answers will be greatly appreciated. 🙂

Edited by Trenyc
  • Like 1
BlackLightning

Posted

2 hours ago, Trenyc said:

I'm very interested in this mod as a way to expand containe storage and enable clutter organization. To that end I'd ideally like to set a limit of 0 in inventory and backpack but greater than zero in storage. I'd also like to set per-bag limits (rather than overall) and to have different limits for players based on permissions. I assume these things are possible with the config options in this plugin but I'd like to know before spending please!

Any answers will be greatly appreciated. 🙂

Yes, those things are all possible with this plugin.

Here's an example of the highlighted parts of the config that you would need to change.

...
  "Player bag limits": {
    "Default limits": {
      "Max total bags": 0,
      "Max bags by category name": {}
    }
  },
...
  "Backpack bag limits": {
    "Default limits": {
      "Max total bags": 0,
      "Max bags by category name": {}
    }
  },
...
  "Default container bag limits": {
    "Default limits": {
      "Max total bags": 3,
      "Max bags by category name": {
        "generic": 1,
        "armor_clothing": 1,
        "food_medical": 1,
        "items_construction": 1,
        "resources_components": 1,
        "weapons_tools": 1
      }
    },
    "Bag limits by permission": [
      {
        "Permission suffix": "vip",
        "Max total bags": 6,
        "Max bags by category name": {
          "generic": 1,
          "armor_clothing": 1,
          "food_medical": 1,
          "items_construction": 1,
          "resources_components": 1,
          "weapons_tools": 1
        }
      }
    ]
  },

This example will allow all storage containers to store up to 3 total bags, but at most one bag of each category (regardless of size). Containers placed by players with the bagofholding.limit.container.vip permission will be able to hold up to 6 bags, but still at most one of each category.

Note there are currently some limitations which might be applicable to your use case.

  • You cannot limit bags by bag type, only by bag category. For example, the Small Generic Bag and Medium Generic Bag are different bag types but in the same category called "generic", so if the "generic" bag limit is set to 1 in a given container, it can't store both those bags at once, even if the total bag limit for the container is higher. If you want a precise limit of 1 Small Generic Bag and 1 Medium Generic bag, there is no way to define that precise combination. I could potentially extend the plugin in the future to allow limiting specific bag types, if there is sufficient justification.
  • Bag limits inside other bags is not subject to permission. You can control how many bags can be stored in a container, with different limits according to permission, but you cannot control what happens inside those bags according to permission (you can control it, but it's a global setting for that bag type).
  • Love 2
thunder storm

Posted

Hi @BlackLightning

Problems found in the 1.6.0 update

When the backpack in wearable inventory and is covered by other equip, the game will Disconnected: RPC Error in Moveltem

Server console display: 
NullReferenceException: Object reference not set to an instance of an object

BlackLightning

Posted

1 hour ago, thunder storm said:

Hi @BlackLightning

Problems found in the 1.6.0 update

When the backpack in wearable inventory and is covered by other equip, the game will Disconnected: RPC Error in Moveltem

Server console display: 
NullReferenceException: Object reference not set to an instance of an object

Thanks for the report! I've released the v1.6.2 update to resolve this.

  • Love 1
CoreSnap

Posted

I haven't seen anything on this in recent posts (may have missed it), but with the use of having a bag in the backpack slot, it seems to ignore the Gather function. Is this something that's being worked on? Just my 2cents. Just a white people problem so no worries! 😄

BlackLightning

Posted

30 minutes ago, CoreSnap said:

I haven't seen anything on this in recent posts (may have missed it), but with the use of having a bag in the backpack slot, it seems to ignore the Gather function. Is this something that's being worked on? Just my 2cents. Just a white people problem so no worries! 😄

That issue hasn't been reported yet, but now that you mention it, I think that could be an issue when you have configured the wearable bag limits separately (latest feature released hours ago) since it splits container supervisors which gather mode uses to know which containers to monitor. I'll take a look and figure out a solution in the next few days.

  • Love 1
CoreSnap

Posted

5 minutes ago, BlackLightning said:

That issue hasn't been reported yet, but now that you mention it, I think that could be an issue when you have configured the wearable bag limits separately (latest feature released hours ago) since it splits container supervisors which gather mode uses to know which containers to monitor. I'll take a look and figure out a solution in the next few days.

Awesome, appreciate it. I don't even really mind, just something I noticed and figured it was something to do with where Gather pulls from. 😄

CoreSnap

Posted

Just stopping by to thank you a ton for implementing the gather feature into when a player is 'wearing' the bag. Love it! 😄

  • Love 1
Neighigh

Posted

Been using this for a while, it's been a core piece of the server and we love it so much. Will we be seeing an integration with native backpacks this coming month? I personally would like to use the same upgrade system on the new in game backpacks. 

BlackLightning

Posted

10 hours ago, Neighigh said:

Been using this for a while, it's been a core piece of the server and we love it so much. Will we be seeing an integration with native backpacks this coming month? I personally would like to use the same upgrade system on the new in game backpacks. 

I'm not planning anything in particular at this time, given that it's still a few weeks out and subject to change of course. I'll have to do some experimentation to determine what's actually possible to modify, but I'm open to feedback about what people would like to see.

  • Love 1
Neighigh

Posted

13 hours ago, BlackLightning said:

I'm not planning anything in particular at this time, given that it's still a few weeks out and subject to change of course. I'll have to do some experimentation to determine what's actually possible to modify, but I'm open to feedback about what people would like to see.

Copy that! I have a few ways I can go about having both if they look inaccessable - just a little reworking configs really. What I'm really hoping for is being able to use the same item shortname as vanilla backbacks, for the new backpack models to show up lol

paxx

Posted (edited)

On 1/11/2024 at 1:00 AM, BlackLightning said:

I'm not planning anything in particular at this time, given that it's still a few weeks out and subject to change of course. I'll have to do some experimentation to determine what's actually possible to modify, but I'm open to feedback about what people would like to see.

Considering buying this as the built in bag functions will obviously be limited but want to ensure the continued develop after the fact.  This will be supported going forward even with the addition of the official backpacks, correct?

 

thanks!!

Edited by paxx
BlackLightning

Posted (edited)

On 1/16/2024 at 5:16 PM, paxx said:

This will be supported going forward even with the addition of the official backpacks, correct?

Yes, I plan on maintaining it at least through end of 2025.

As for integration with vanilla backpacks, so far it doesn't seem like much will be possible. To open a backpack, the player must click on the backpack while equipped, which shows a container on the left of the inventory. It doesn't appear to be possible for the server to detect that event as it is client sided, so I won't be able to draw any UI over there. At best, we can probably change the visual backpack feature currently in the plugin to show the new backpacks instead of the parachute.

Edited by BlackLightning
  • Like 1
Roine

Posted

Hi

I purchased BoH today.
Is there any way for an administrator to see the contents of a BAG owned by a particular user?
Also, where is the data on the contents of the BAG owned by each user stored?

The reason I want to know this is because I have used other similar plugins before and had no way to see what was in a bag when it disappeared or the bag did not work.
Sorry for my bad English.

BlackLightning

Posted

4 hours ago, Roine said:

Is there any way for an administrator to see the contents of a BAG owned by a particular user?
Also, where is the data on the contents of the BAG owned by each user stored?

The reason I want to know this is because I have used other similar plugins before and had no way to see what was in a bag when it disappeared or the bag did not work.

Hi, unlike the Backpacks plugin, which has a dedicated storage container for each player, and which saves backpack contents in a data file to remember them between plugin reloads, Bag of Holding bags are simply items with containers inside them, using the same vanilla capability as weapons that have attachments, water jugs that contain water, etc. As a result, there is no need for the plugin to store the contents in a data file since Rust knows how to save it.

If you want to view the contents of the bags currently in a player's inventory, you can just use the Inventory Viewer plugin to remotely open their inventory, then click on the bags and open them. If that is not possible because the bag cannot be found, then there isn't much the plugin can do to help, as that would be the same as losing any item. For what it's worth, I haven't heard this brought up as an issue before.

Roine

Posted

18 hours ago, BlackLightning said:

こんにちは。各プレイヤーに専用のストレージ コンテナがあり、プラグインのリロードの間に覚えておくためにバックパックの内容をデータ ファイルに保存する Backpacks プラグインとは異なり、Bag of Holding バッグは、同じバニラ機能を使用した、中にコンテナが入った単純なアイテムです。アタッチメント付きの武器、水の入った水差しなどです。その結果、Rust は内容を保存する方法を知っているため、プラグインが内容をデータ ファイルに保存する必要がありません。

現在プレイヤーのインベントリにあるバッグの中身を表示したい場合は、Inventory Viewer プラグインを使用してリモートでインベントリを開き、バッグをクリックして開きます。バッグが見つからないためにそれが不可能な場合は、アイテムを紛失したのと同じことになるため、プラグインができることはあまりありません。当然のことですが、これまでにこれが問題として取り上げられたのを聞いたことがありません。

I see, thanks for the details.
I will try using BoH for a while and report back if there are any problems.

Father

Posted

seems we can't place other bags with items in them into bag of holding now something get changed?

Father

Posted

for some reason players can't place bags into bag of holding haven't changed my config so i'm wondering something got messed up last update

??

 

BlackLightning

Posted

17 hours ago, Father said:

for some reason players can't place bags into bag of holding haven't changed my config so i'm wondering something got messed up last update

??

 

It's working for me.

Neighigh

Posted

Had an idea - possible to allow a held input to toggle gather all to on? So players could hold leftshift or another desired key while looting or picking items up to put them straight into the backpacks? 

sykosmurf

Posted

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 😄

 

 

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.

7k

Customers

Total customers served.

104.9k

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.