Jump to content

6 Screenshots

About Farm Barn

For growing various plants (hemp, pumpkin, corn, etc.), players receive special points that they can spend in a farm barn in an NPC town.

In the city of the NPC, a small building called "Farm Barn" will spawn, in which there will be 8 boxes - they will differ by category (resources, tools, constructions, clothing, weapons, components, equipment, items).

In the configuration, you can set up the items sold, change their price, set a marker to display the farm barn on the map, set up the issuance of the initial balance to the players, set up the issuance of points, change the pictures on the sign.

You can separately disable any boxes by deleting products from it in the config. In this case, when you open the box, it will be empty and the purchase interface will not appear.

P.S: The plugin allows you to sell custom items. The MarkerManager plugin is required to display the farm barn on the map!

Video: 

Config:

{
  "How many points to give out for the planted plants?": 200,
  "Initial balance for the player": 0,
  "Reset player balance after wipe?": true,
  "Disable chat notification when you receive points?": false,
  "Products": {
    "Resource box": [
      {
        "Item name (if needed)": "",
        "Item shortname": "wood",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1000,
        "Price": 100
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "stones",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 10000,
        "Price": 500
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "metal.fragments",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1000,
        "Price": 100
      }
    ],
    "Tool box": [
      {
        "Item name (if needed)": "",
        "Item shortname": "hatchet",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 100
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "pickaxe",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 100
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "axe.salvaged",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 100
      }
    ],
    "Constructions box": [
      {
        "Item name (if needed)": "",
        "Item shortname": "door.hinged.toptier",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 1000
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "door.double.hinged.toptier",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 1000
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "door.hinged.metal",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 100
      }
    ],
    "Clothes box": [
      {
        "Item name (if needed)": "",
        "Item shortname": "hoodie",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 100
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "shoes.boots",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 50
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "metal.facemask",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 200
      }
    ],
    "Weapons box": [
      {
        "Item name (if needed)": "",
        "Item shortname": "rifle.bolt",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 200
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "rifle.ak",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 300
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "rifle.m39",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 200
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "pistol.m92",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 200
      }
    ],
    "Components box": [
      {
        "Item name (if needed)": "",
        "Item shortname": "scrap",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1000,
        "Price": 800
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "gears",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 10,
        "Price": 100
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "propanetank",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 10,
        "Price": 50
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "metalpipe",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 10,
        "Price": 100
      }
    ],
    "Equipment box": [
      {
        "Item name (if needed)": "",
        "Item shortname": "largemedkit",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 100
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "syringe.medical",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 10,
        "Price": 100
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "ammo.shotgun",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 10,
        "Price": 50
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "ammo.rifle",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 10,
        "Price": 100
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "ammo.pistol",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 100,
        "Price": 100
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "explosive.timed",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 1000
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "explosive.satchel",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 250
      }
    ],
    "Items box": [
      {
        "Item name (if needed)": "",
        "Item shortname": "furnace",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 100
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "furnace.large",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 200
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "sofa",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 50
      },
      {
        "Item name (if needed)": "",
        "Item shortname": "bbq",
        "Item icon url (if custom item)": "",
        "Skin ID": 0,
        "Amount": 1,
        "Price": 25
      }
    ]
  },
  "Ambar local position": {
    "x": 0.0,
    "y": 0.0,
    "z": 0.0
  },
  "Ambar local rotation": {
    "x": 0.0,
    "y": 0.0,
    "z": 0.0
  },
  "Marker on the map": {
    "Enable display of the farm barn on the map?": true,
    "Display name": "Farm Barn",
    "Marker radius": 0.32,
    "Marker fill color": "c0392b",
    "Marker outline color": "e74c3c"
  },
  "GoldenFish plugin support": {
    "Enable GoldenFish plugin support?": false,
    "How many points to give out for a caught goldfish?": 4
  },
  "Oysters plugin support": {
    "Enable Oysters plugin support?": false,
    "How many points to give out for a caught oyster?": 4
  },
  "Pictures": {
    "GUI Image": "https://www.rustyplugin.ru/FarmBarn/eng/gui.png",
    "Banner Image": "https://www.rustyplugin.ru/FarmBarn/eng/logo.png",
    "Picture for sign 'Components'": "https://www.rustyplugin.ru/FarmBarn/eng/components.png",
    "Picture for sign 'Constructions'": "https://www.rustyplugin.ru/FarmBarn/eng/constructions.png",
    "Picture for sign 'Equipment'": "https://www.rustyplugin.ru/FarmBarn/eng/equipment.png",
    "Picture for sign 'Items'": "https://www.rustyplugin.ru/FarmBarn/eng/items.png",
    "Picture for sign 'Resources'": "https://www.rustyplugin.ru/FarmBarn/eng/resources.png",
    "Picture for sign 'Tools'": "https://www.rustyplugin.ru/FarmBarn/eng/tools.png",
    "Picture for sign 'Weapons'": "https://www.rustyplugin.ru/FarmBarn/eng/weapons.png",
    "Picture for sign 'Clothes'": "https://www.rustyplugin.ru/FarmBarn/eng/clothes.png"
  }
}

Commands:

/farmbarn balance - shows the player his current balance in the farm barn

fb [STEAM ID] [AMOUNT] - gives the player a certain number of points (works only from the server console)

 

  • Love 1

User Feedback

1.4m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

104.9k

Files Sold

Total number of files sold.

2.1m

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.