Item List & UI Bar

This section covers what rewards are given and how the on-screen UI appears.

Item Configuration

ItemList is the pool of all possible rewards the plugin can give.

  "Number of Unique Item Types to Give": 2,
  "List of Items to Give": [
    {
      "Item Shortname": "wood",
      "Minimum Amount": 1500,
      "Maximum Amount": 5000,
      "Skin ID": 0
    },
    {
      "Item Shortname": "stones",
      "Minimum Amount": 1200,
      "Maximum Amount": 4000,
      "Skin ID": 0
    },
    {
      "Item Shortname": "metal.fragments",
      "Minimum Amount": 750,
      "Maximum Amount": 2000,
      "Skin ID": 0
    },
    {
      "Item Shortname": "scrap",
      "Minimum Amount": 75,
      "Maximum Amount": 300,
      "Skin ID": 0
    },
    {
      "Item Shortname": "rifle.ak",
      "Minimum Amount": 1,
      "Maximum Amount": 1,
      "Skin ID": 0
    },
    {
      "Item Shortname": "ammo.rifle",
      "Minimum Amount": 30,
      "Maximum Amount": 100,
      "Skin ID": 0
    },
    {
      "Item Shortname": "syringe.medical",
      "Minimum Amount": 2,
      "Maximum Amount": 10,
      "Skin ID": 0
    },
    {
      "Item Shortname": "explosive.timed",
      "Minimum Amount": 1,
      "Maximum Amount": 1,
      "Skin ID": 0
    },
    {
      "Item Shortname": "shotgun.pump",
      "Minimum Amount": 1,
      "Maximum Amount": 1,
      "Skin ID": 3139367839
    }
  ]
  • Number of Unique Item Types to Give: How many different kinds of items are given in each reward cycle.

  • List of Items to Give:

    • Item Shortname: The item's official shortname.

    • Amount: The quantity of the item to give.

    • Skin ID: The workshop skin ID for the item (0 for default).

UI Bar Settings

Customize the appearance and position of the on-screen countdown bar.

  "UI Settings": {
    "Enable UI Bar": true,
    "Anchor Min (Position)": "0.425 0.93",
    "Anchor Max (Position)": "0.575 0.95",
    "Background Color": "0.1 0.1 0.1 0.7",
    "Foreground Color": "0.3 0.6 0.2 0.8"
  }
  • Enable UI Bar: true or false to enable/disable the bar globally.

  • Anchor Min / Max: Controls the position and size of the bar on the screen using Unity's anchor system (0,0 is bottom-left, 1,1 is top-right).

  • Background Color / Foreground Color: Sets the colors of the bar using "R G B Alpha" format (values from 0 to 1).

Last updated