Support for Backpacks pluginSolved
Hi,
How would i go about adding backpacks so that they are blocked suring combat and raids. Would i have to edit the backpacks plugin itself to use it?
Thanks
Ask @LaserHydra to add a CanBackpack hook with the same behavior as the other Can* hooks.
Thanks for your reply

Ive posted in his plugin thread hopefully he will add this as it would be a neat feature

Thanks once again
Would support for the Backpacks plugin be possible now ?
string CanOpenBackpack(BasePlayer player, ulong backpackOwnerID)​

https://umod.org/plugins/backpacks

Any update on this ?
Should be added, feel free to let me know if there are issues with the new integration, thanks.

Permission 'noescape.combat.backpack' doesn't exist

Also "backpack" is not in the blocktypes, dunno if that makes a difference

  "Settings": {
    "Block": {
      "Types": [
        "remove",
        "tp",
        "bank",
        "trade",
        "recycle",
        "shop",
        "bgrade",
        "build",
        "repair",
        "upgrade",
        "vend",
        "kit",
        "assignbed",
        "craft",
        "mailbox"
      ]
    },
    "cacheMinutes": 1.0
  },
  "VERSION": "2.1.31"
}

Merged post

Oh... the documentation says:
  • noescape.raid.backpack and noescape.combat.backpack

The registered perm is noescape.raid.backpackblock and noescape.combat.backpackblock
Works like a charm so far.

MUCH appreciated. :o)

Merged post

We have discovered an issue with the backpack block.
Whenever combatblock ends, there's a 10-90 seconds delay before the backpack is "unlocked", there is no notification or anything, the command is just dead.
Is this a NoEscape issue, or a Backpacks issue ?
5d485c0d7001e.png?uid=5d485c56dcf2c FuelStream

Also "backpack" is not in the blocktypes, dunno if that makes a difference

It does make a difference. For anyone having issues with the new backpack permissions (specifically if they do not show up in game), you should ensure that you have added "backpack" to the block types list within your configuration file and then reload the plugin. Otherwise the noescape.raid.backpackblock and noescape.combat.backpackblock permissions will not appear in your permissions.
I've updated the documentation with the correct permissions. And yes there is a new "blockType" called "backpack" which will need to be added to your configuration, but will be there by default in new configurations.
5d485c0d7001e.png?uid=5d485c56dcf2c FuelStream
We have discovered an issue with the backpack block.
Whenever combatblock ends, there's a 10-90 seconds delay before the backpack is "unlocked", there is no notification or anything, the command is just dead.
Is this a NoEscape issue, or a Backpacks issue ?

This is probably a NoEscape issue, though I doubt a fix will be forthcoming. If another developer would like to submit a patch I will be happy to accept it.

Thanks @Calytic

I'll see if I can get someone to take a look at NoEscape.

Ha this is great - thank you!  I had requested this feature by way of the Backpacks plugin and it didn't go anywhere, so I modified it myself.  This is a more elegant (and maintainable) solution.  Appreciate this!
Locked automatically