Jump to content

Custom Item Drops 1.1.200

   (1 review)

1 Screenshot

Recommended Comments

Vastitude

Posted

This is a pretty good plugin but it would be even better if I can pick what item they must gather.  As an example if the only gather hemp you get and something rather than you gathering anything 

  • Like 1
MACHIN3

Posted

4 hours ago, Vastitude said:

This is a pretty good plugin but it would be even better if I can pick what item they must gather.  As an example if the only gather hemp you get and something rather than you gathering anything 

I am looking to add a list option to disable certain things so they don't count towards the chance. 

  • Like 2
iPandam

Posted

Can I add item names? Like this
"shortname": "glue",

"Item name": "Gold Coins",
"amount": 1,
 "SkinID": 0

MACHIN3

Posted (edited)

23 minutes ago, iPandam said:

Can I add item names? Like this
"shortname": "glue",

"Item name": "Gold Coins",
"amount": 1,
 "SkinID": 0

It has to be in the same format as seen with the default items

        "shortname": "scrap",

        "amount": 2,

        "SkinID": 0

Edited by MACHIN3
iPandam

Posted (edited)

A configuration with project name is missing

"Item name": "Gold Coins",

Edited by iPandam
MACHIN3

Posted (edited)

3 hours ago, iPandam said:

A configuration with project name is missing

"Item name": "Gold Coins",

"Item Name" is not in the configuration. You can't add anything that isn't listed as the examples shown. It must be exactly like:

 

"shortname": "scrap",

"amount": 2,

"SkinID": 0

 

You enter the shortname of an item, the amount you want dropped, and the SkinID if available and using skinned items. Nothing else

Edited by MACHIN3
iPandam

Posted

21 hours ago, MACHIN3 said:

"Item Name" is not in the configuration. You can't add anything that isn't listed as the examples shown. It must be exactly like:

 

"shortname": "scrap",

"amount": 2,

"SkinID": 0

 

You enter the shortname of an item, the amount you want dropped, and the SkinID if available and using skinned items. Nothing else

can you add it to config?

MACHIN3

Posted

11 hours ago, iPandam said:

can you add it to config?

Added item display name for lists for next version

  • Love 1
DeutscherRitterPlatz

Posted

Thanks for the great plugin. Would it be possible to set the drop chance for each item individually?

MACHIN3

Posted

1 hour ago, MeinRust said:

Thanks for the great plugin. Would it be possible to set the drop chance for each item individually?

Not in this current setup. I would have to change a good bit for it to do that.. 

PandaJun

Posted

The npc's configuration will only drop the first two items (0,1) and the later ones never appear. This is my configuration

"dropchance": 15,
    "vipdropchance": 50,
    "scientist": true,
    "dweller": true,
    "bradley": true,
    "heli": true,
    "scarcrow": true,
    "customnpc": false,
    "zombie": true,
    "NPCItemList": {
      "0": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249132
      },
      "1": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249219
      },

      "2": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249178
      },
      "3": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249273
      },
      "4": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249410
      },
      "5": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249306
      },
      "6": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249089
      },
      "7": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249366
      },
      "8": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249478
      },
      "9": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249513
      }
    }
  }
}

MACHIN3

Posted

47 minutes ago, PandaJun said:

The npc's configuration will only drop the first two items (0,1) and the later ones never appear. This is my configuration

"dropchance": 15,
    "vipdropchance": 50,
    "scientist": true,
    "dweller": true,
    "bradley": true,
    "heli": true,
    "scarcrow": true,
    "customnpc": false,
    "zombie": true,
    "NPCItemList": {
      "0": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249132
      },
      "1": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249219
      },

      "2": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249178
      },
      "3": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249273
      },
      "4": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249410
      },
      "5": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249306
      },
      "6": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249089
      },
      "7": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249366
      },
      "8": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249478
      },
      "9": {
        "shortname": "glue",
        "displayname": "",
        "amount": 1,
        "SkinID": 2811249513
      }
    }
  }
}

just released update that should fix this issue

  • Like 1
MagnumSkyWolf

Posted

{

  "General Settings": {

    "showchatmessage": true

  },

  "Gathering Options / List": {

    "dropchance": 8,

    "vipdropchance": 14,

    "trees": true,

    "berries": true,

    "wood": true,

    "stones": true,

    "ore": true,

    "hemp": false,

    "mushrooms": true,

    "pumpkins": true,

    "corn": true,

    "potatos": true,

    "gatheringItemList": {

      "0": {

        "shortname": "bleach",

        "displayname": "Hash Leaf",

        "amount": 1,

        "SkinID": 2809011611

      },

      "1": {

        "shortname": "bandage",

        "displayname": "",

        "amount": 1,

        "SkinID": 0

      }

    }

  },

  "Mining Options / List": {

    "dropchance": 2,

    "vipdropchance": 4,

    "miningItemList": {

      "0": {

        "shortname": "bluedogtags",

        "displayname": "Uranium",

        "amount": 1,

        "SkinID": 1848686990

      },

      "1": {

        "shortname": "metal.refined",

        "displayname": "",

        "amount": 2,

        "SkinID": 0

      }

    }

  },

  "Looting Options / List": {

    "dropchance": 10,

    "vipdropchance": 20,

    "lootcontainer": true,

    "freeablelootcontainer": true,

    "lockedbyentcrate": true,

    "hackablelockedcrate": true,

    "lootingItemList": {

      "0": {

        "shortname": "scrap",

        "displayname": "",

        "amount": 2,

        "SkinID": 0

      },

      "1": {

        "shortname": "metal.fragments",

        "displayname": "",

        "amount": 1,

        "SkinID": 0

      }

    }

  },

  "Animal Kill Options / List": {

    "dropchance": 10,

    "vipdropchance": 20,

    "chicken": true,

    "boar": true,

    "stag": true,

    "wolf": true,

    "bear": true,

    "polarbear": true,

    "horse": true,

    "shark": true,

    "AnimalItemList": {

      "0": {

        "shortname": "scrap",

        "displayname": "",

        "amount": 2,

        "SkinID": 0

      },

      "1": {

        "shortname": "metal.fragments",

        "displayname": "",

        "amount": 1,

        "SkinID": 0

      }

    }

  },

  "NPC Kill Options / List": {

    "dropchance": 10,

    "vipdropchance": 20,

    "scientist": true,

    "dweller": true,

    "bradley": true,

    "heli": true,

    "scarcrow": true,

    "customnpc": true,

    "zombie": true,

    "NPCItemList": {

      "0": {

        "shortname": "scrap",

        "displayname": "",

        "amount": 2,

        "SkinID": 0

      },

      "1": {

        "shortname": "metal.fragments",

        "displayname": "",

        "amount": 1,

        "SkinID": 0

      }

    }

  }

}

Not sure what I'm doing wrong but Ive tried removing bandages, metal refined and metal frags from dropping but when I upload it the code reverts to the above list. I've unloaded it before uploaded the changes and still it drops the ones I don't want

MACHIN3

Posted

52 minutes ago, MagnumSkyWolf said:
{

  "General Settings": {

    "showchatmessage": true

  },

  "Gathering Options / List": {

    "dropchance": 8,

    "vipdropchance": 14,

    "trees": true,

    "berries": true,

    "wood": true,

    "stones": true,

    "ore": true,

    "hemp": false,

    "mushrooms": true,

    "pumpkins": true,

    "corn": true,

    "potatos": true,

    "gatheringItemList": {

      "0": {

        "shortname": "bleach",

        "displayname": "Hash Leaf",

        "amount": 1,

        "SkinID": 2809011611

      },

      "1": {

        "shortname": "bandage",

        "displayname": "",

        "amount": 1,

        "SkinID": 0

      }

    }

  },

  "Mining Options / List": {

    "dropchance": 2,

    "vipdropchance": 4,

    "miningItemList": {

      "0": {

        "shortname": "bluedogtags",

        "displayname": "Uranium",

        "amount": 1,

        "SkinID": 1848686990

      },

      "1": {

        "shortname": "metal.refined",

        "displayname": "",

        "amount": 2,

        "SkinID": 0

      }

    }

  },

  "Looting Options / List": {

    "dropchance": 10,

    "vipdropchance": 20,

    "lootcontainer": true,

    "freeablelootcontainer": true,

    "lockedbyentcrate": true,

    "hackablelockedcrate": true,

    "lootingItemList": {

      "0": {

        "shortname": "scrap",

        "displayname": "",

        "amount": 2,

        "SkinID": 0

      },

      "1": {

        "shortname": "metal.fragments",

        "displayname": "",

        "amount": 1,

        "SkinID": 0

      }

    }

  },

  "Animal Kill Options / List": {

    "dropchance": 10,

    "vipdropchance": 20,

    "chicken": true,

    "boar": true,

    "stag": true,

    "wolf": true,

    "bear": true,

    "polarbear": true,

    "horse": true,

    "shark": true,

    "AnimalItemList": {

      "0": {

        "shortname": "scrap",

        "displayname": "",

        "amount": 2,

        "SkinID": 0

      },

      "1": {

        "shortname": "metal.fragments",

        "displayname": "",

        "amount": 1,

        "SkinID": 0

      }

    }

  },

  "NPC Kill Options / List": {

    "dropchance": 10,

    "vipdropchance": 20,

    "scientist": true,

    "dweller": true,

    "bradley": true,

    "heli": true,

    "scarcrow": true,

    "customnpc": true,

    "zombie": true,

    "NPCItemList": {

      "0": {

        "shortname": "scrap",

        "displayname": "",

        "amount": 2,

        "SkinID": 0

      },

      "1": {

        "shortname": "metal.fragments",

        "displayname": "",

        "amount": 1,

        "SkinID": 0

      }

    }

  }

}

Not sure what I'm doing wrong but Ive tried removing bandages, metal refined and metal frags from dropping but when I upload it the code reverts to the above list. I've unloaded it before uploaded the changes and still it drops the ones I don't want

if you want to disable item in the list then set options to false otherwise you must have at least 2 - 3 items listed. If you don't have any items listed and it is enabled then it will create that default item list

MagnumSkyWolf

Posted

So I can't have one item per drop I must have 2 or 3 ok. 

MACHIN3

Posted (edited)

9 hours ago, MagnumSkyWolf said:

So I can't have one item per drop I must have 2 or 3 ok. 

yes at least 2 items need to be listed so that it doesn't confuse the "chance" calculations by only having 1 item as it does a random selection in the list when running the chance. You can list the same item twice if you only want one item to drop, that should work

Edited by MACHIN3
Geralldo.RuLey

Posted

can I have multiple droplist items like 
harvesting hemp will drop all plant seeds and some custom itemss?

MACHIN3

Posted

1 hour ago, Ping Chun Chang said:

can I have multiple droplist items like 
harvesting hemp will drop all plant seeds and some custom itemss?

hemp would fall in the "Gathering List" and you can have it only drop for hemp by setting all the other options to false. Then whatever items you have listed in the gathering list will have a chance to drop when gathering hemp. It will only choose 1 item from the list at a time however, but it can drop as much of the item chosen by setting the amount option.

If your looking to have several different items drop at once this will not do that.

Geralldo.RuLey

Posted

Thanks, the problem was with "advanced gather," which confused me (I forgot I had that installed).
I fixed that by removing the plugin and doing a reload.
I managed to add 13 items, including custom items, and hook it into your Xperience plugin.
(I disabled ranch and ridable horse spawn to avoid server performance abuse because farming is my server's main economic income.)
Thank you for the great plug-ins.

  • Like 1

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

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.