Jump to content

Add a configuration option that allows for integration with external loot

Pending 2.1.15

m3dus4
m3dus4

Posted

Would it be possible to add a configuration option that allows for integration with external loot-injecting plugins? Specifically to support Zeode's Heli/Bradley Signals, which provides an internal custom loot table we like to use for multiplying your plugins loot table. Simply disabling custom loot injection for these crate types in the Loot Table & Stacksize interface, will result in vanilla crate contents.

 

        "Loot Options": {

          "Use custom loot table to override crate loot": true,

          "Minimum number loot items in crate (0 - 12)": 9,

          "Maximum number loot items in crate (0 - 12)": 10,

          "Allow duplication of loot items": true,

          "Maximum number of BPs in each crate": 2,

          "Custom loot table": [

 

        "Extra Loot Options": {

          "Use extra loot table (NOTE: Total of crate loot + extra items cannot exceed 12)": false,

          "Minimum number extra items to add to crate": 3,

          "Maximum number extra items to add to crate": 4,

          "Allow duplication of extra items": true,

          "Maximum number of BPs in each crate": 2,

          "Extra loot table": [

 

Neither of these work modifying crate contents when Loot Table & Stacksize is loaded.

The goal would be to allow your plugin to detect and respect loot changes made by these plugins, or at least provide a toggle/config setting that enables compatibility. This would offer greater flexibility for servers that already use loot injection systems and wish to avoid conflicts or unintended overrides - if possible.

 

Thank you very much for considering this request.

The_Kiiiing

Posted

The loot system of this plugin does not work together with other loot systems. There is a hook OnContainerPopulate (see description for more details) that other plugins can use to change the behavior for certain loot containers.

1.8m

Downloads

Total number of downloads.

8.5k

Customers

Total customers served.

127.9k

Files Sold

Total number of files sold.

2.7m

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.