Jump to content

Creating Legendary items

Pending 1.0.6

winslow3085
winslow3085

Posted

Hi I am new to using this plugin. I created a legendary armor item and I can spawn it in a loot container(vanilla default loot) in the config json file. My question is what is the command to give that certain Item ID to my inventory with not having to spawn in a crate to see if item is in the crate and pick it out of case.  I am also using the plugin Loot Table & Stacks GUI. I am trying to find how you add the Legendary Items with the buffs in the loot tables. I keep reading forums you need an API to edit the plugin custom items to the custom loot table. Is it possible to find the Custom Legendary Item short name ID number? So i can spawn that number id in a loot table to get that exact item with the correct buffs?  Is there a plugin that shows you the list of all your custom item ids to spawn in?

This is the loot plugin I am using, that I am trying to add the Legend items to the custom loot tables.

 

  • Curator
imthenewguy

Posted

You managed the drops through the legendary items plugin. 

You can create an item using the command "givelegendary".

Drops are rolled when someone attempts to loot the container for the first time, and can also be grabbed from many other sources. I recommend watching the video

winslow3085

Posted

What is the exact command to type in F1 to give myself a custom item. I'm doing givelegendary Sergeant Helm then enter. nothing happens.
Idk what im doing wrong.

winslow3085

Posted (edited)

OK this is my code of my helm i created.
 

 "Sergeant Helm": {
      "Item shortname": "metal.facemask",
      "Item skin": 3322501158,
      "Restrict enhancement": true,
      "Announce in chat when this item drops for the player?": false,
      "Send a UINotify message to the player when this item drops?": false,
      "List of perks and modifiers that the item has [perk: modifier]": {
        "UncannyDodge": 0.16,
        "FlakJacket": 0.1,
        "Thorns": 0.05
      },
      "Description about the item that is shown when mousing over the ownership banner [blank/null = nothing]": null,
      "How many armor mod slots will the item spawn with? [won't exceed item definitions max cap]": 4
    },

What is the command I type in the F1 console in-game to spawn this item in my inventory?  Other than spawning tons of crates and hoping I find one. Is the option to spawn in this item available?  Reason why I ask, say someone on the server loses an item and asks to be reimbursed the item, how do I spawn in a replacement item.

Edited by winslow3085
  • Curator
imthenewguy

Posted

Usage: givelegendary <target> <optional: profile name>

 

So you would run:

givelegendary winslow Sergant Helm

2m

Downloads

Total number of downloads.

9.6k

Customers

Total customers served.

140.2k

Files Sold

Total number of files sold.

3m

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.