Jump to content

Loot Data Reset

Pending 1.1.8

Hello again,

Im having a problem with the Data/loottable.

I added under "Misc" the note + a Skin ID so people can loot "coins".
Everything works fine until our daily server restart happens. Then the line with the skin ID is getting deleted.

Before restart:
 

      "note": {
        "probability": 10,
        "minStack": 1,
        "maxStack": 1,
        "skins": [2786667843],
      },

After restart:

      "note": {
        "probability": 10,
        "minStack": 1,
        "maxStack": 1
      },

Im watching this issue since last week. Hope you can help us there.

Thanks

Edited by MatzeXX

Share this comment


Link to comment

Hi,
I'm afraid that's expected behaviour. CustomLoot only shows up the 'skins' option for items which have multiple skins to choose from in vanilla game.
When you reload the plugin your manually added 'skins' entry is removed because the plugin is determining that the item only has one skin in the normal game.

I think I could add a list for skin override in the config file, so you could have something like

"ShowSkinsFor": [ "note" ]

I'll see about doing that for the next update.

 

Until then, you could enabled the config option `Show_Skins_For_All_Items` although, obviously, this will enabled the skins field for all items - not just note.


Thanks for the info!

Edited by Steenamaroo

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82k

Files Sold

Total number of files sold.

1.6m

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.