Skip to content

Setting up your shop (fatItemData file)

Fatboychummy edited this page Jul 1, 2018 · 3 revisions

Return to Setting up your shop


The fatItemData File

This file is simply a table of items which you wish to sell. Don't worry about organizing it, just throw items in as you wish. All items are alphabetically sorted upon startup anyways.

The structure

The fatItemData file is set up to be a file that returns a table. If it does not return a table, the shop will error.

Each 'item' within the table should also be a table, which should each hold four values.

display: What to be displayed on the monitor. For example, for gold ingots you might type display = "Gold Ingot",

find: The item name. For example, for gold ingots you would type find = "minecraft:gold_ingot",

damage: The damage ID of the item. For example, for gold ingots you would type damage = 0,

price: The price per item in KST. For example, for gold ingots you might type price = 1.5,

The final structure of your "item" should look like this:

{
  display = "Gold Ingot",
  find = "minecraft:gold_ingot",
  damage = 0,
  price = 1.5,
},
Clone this wiki locally