Jump to content

My Animal Farm 1.2.0

$18.00
   (0 reviews)

8 Screenshots

  • 24.9k
  • 185
  • 58.81 kB

About My Animal Farm

This plugin adds animal farms on the server.

Create a farm
A player who has the required privilege can create a farm by going into the animal feeder and clicking on the type of animal available to him. After that, you need to put a box next to it, into which all resources will come.

Animal capture
Catching animals is done with bait traps that can be crafted in the menu of the created farm or you can sell these traps in the in-game or donate store using the command.

Plugin settings

  • Max farms per player
  • Changing animal pictures in the interface
  • Localization for RU and EN languages

Detailed farm settings and the ability to create new ones

  • Trap Skin Change
  • Changing the name of a trap
  • Trap model changes
  • Trap range
  • Customization of which animals can be caught with a trap
  • Changing the skin of an animal item after being caught
  • Enable / disable crafting in the interface
  • Changing the trap picture in the interface
  • List of necessary items for crafting

Detailed farm settings and the ability to create new ones

  • Farm creation privilege for each species
  • The name of the animal that will bring the resources (should be ShortPrefabName)
  • The interval for obtaining resources from the farm
  • How much to take away HP from an animal
  • Maximum number of animals
  • Farm range
  • The amount of food needed per 1 tick (0 - off)
  • What food do you need for a farm (ShortName)
  • Detailed settings for rewards that are placed in a connected box to the farm

Video

 

Player Permissions (Standard, change in config)

 

myanimalfarm.bear
myanimalfarm.boar
myanimalfarm.stag
myanimalfarm.wolf


Administrator Permissions

myanimalfarm.give.animal - allows you to give animals by skin
myanimalfarm.give.trap - allows you to give traps by skin


Commands for administrator and shops

ganimal "name|steamid" "SkinId" - gives an animal by skin
gtrap "name|steamid" "SkinId" - gives a trap by skin


Note
For traps to work correctly, AI must be enabled on the server

Config

{
  "General settings": {
    "Maximum farms per player": 4,
    "Link to pictures of animals": {
      "bear": "https://i.imgur.com/rwNKrbQ.png",
      "wolf": "https://i.imgur.com/AHpf3pf.png",
      "stag": "https://i.imgur.com/WmIKIFG.png",
      "boar": "https://i.imgur.com/GehMURO.png"
    }
  },
  "Trap settings": [
    {
      "Trap's skinID": 2700797172,
      "Trap's name": "Boar/Deer Trap",
      "Bait's ShortName": "pumpkin",
      "Trap's radius": 30.0,
      "Who can be caught": [
        {
          "SkinID of item after capture": 2683341177,
          "Animal name (ShortPrefabName)": "boar",
          "Animal prefab": "assets/rust.ai/agents/boar/boar.prefab"
        },
        {
          "SkinID of item after capture": 2700820020,
          "Animal name (ShortPrefabName)": "stag",
          "Animal prefab": "assets/rust.ai/agents/stag/stag.prefab"
        }
      ],
      "Can be crafted": true,
      "Link to picture": "https://i.imgur.com/IL0QYe0.png",
      "List of necessary items for crafting": [
        {
          "Item Shortname": "pumpkin",
          "Item Amount": 1
        },
        {
          "Item Shortname": "trap.bear",
          "Item Amount": 1
        }
      ]
    },
    {
      "Trap's skinID": 2700876388,
      "Trap's name": "Wolf/Bear Trap",
      "Bait's ShortName": "meat.boar",
      "Trap's radius": 30.0,
      "Who can be caught": [
        {
          "SkinID of item after capture": 2700880093,
          "Animal name (ShortPrefabName)": "bear",
          "Animal prefab": "assets/rust.ai/agents/bear/bear.prefab"
        },
        {
          "SkinID of item after capture": 2700884049,
          "Animal name (ShortPrefabName)": "wolf",
          "Animal prefab": "assets/rust.ai/agents/wolf/wolf.prefab"
        }
      ],
      "Can be crafted": true,
      "Link to picture": "https://i.imgur.com/sZyLCgP.png",
      "List of necessary items for crafting": [
        {
          "Item Shortname": "meat.boar",
          "Item Amount": 1
        },
        {
          "Item Shortname": "trap.bear",
          "Item Amount": 1
        }
      ]
    }
  ],
  "Farm settings": [
    {
      "Permission to be able to create a farm": "myanimalfarm.bear",
      "Animal name": "bear",
      "Interval between receiving items": 300,
      "How much to take away HP from animals for 1 tick of rewards (0 - off)": 25,
      "Maximum farm animals": 2,
      "Farm radius": 10,
      "The amount of food eaten per 1 animal per 1 tick (0 - off)": 1,
      "Food ShortName": "meat.boar",
      "Rewards": [
        {
          "Item ShortName": "stones",
          "Item amount": 100,
          "Item skinID": 0,
          "Item name (if custom)": "",
          "Drop chances (1 - 100)": 100
        },
        {
          "Item ShortName": "rifle.ak",
          "Item amount": 1,
          "Item skinID": 0,
          "Item name (if custom)": "",
          "Drop chances (1 - 100)": 1
        },
        {
          "Item ShortName": "glue",
          "Item amount": 10,
          "Item skinID": 2409891781,
          "Item name (if custom)": "$",
          "Drop chances (1 - 100)": 25
        }
      ]
    },
    {
      "Permission to be able to create a farm": "myanimalfarm.boar",
      "Animal name": "boar",
      "Interval between receiving items": 300,
      "How much to take away HP from animals for 1 tick of rewards (0 - off)": 10,
      "Maximum farm animals": 4,
      "Farm radius": 10,
      "The amount of food eaten per 1 animal per 1 tick (0 - off)": 1,
      "Food ShortName": "pumpkin",
      "Rewards": [
        {
          "Item ShortName": "stones",
          "Item amount": 100,
          "Item skinID": 0,
          "Item name (if custom)": "",
          "Drop chances (1 - 100)": 100
        },
        {
          "Item ShortName": "rifle.ak",
          "Item amount": 1,
          "Item skinID": 0,
          "Item name (if custom)": "",
          "Drop chances (1 - 100)": 1
        },
        {
          "Item ShortName": "glue",
          "Item amount": 10,
          "Item skinID": 2409891781,
          "Item name (if custom)": "$",
          "Drop chances (1 - 100)": 25
        }
      ]
    },
    {
      "Permission to be able to create a farm": "myanimalfarm.stag",
      "Animal name": "stag",
      "Interval between receiving items": 300,
      "How much to take away HP from animals for 1 tick of rewards (0 - off)": 10,
      "Maximum farm animals": 6,
      "Farm radius": 10,
      "The amount of food eaten per 1 animal per 1 tick (0 - off)": 1,
      "Food ShortName": "pumpkin",
      "Rewards": [
        {
          "Item ShortName": "stones",
          "Item amount": 100,
          "Item skinID": 0,
          "Item name (if custom)": "",
          "Drop chances (1 - 100)": 100
        },
        {
          "Item ShortName": "rifle.ak",
          "Item amount": 1,
          "Item skinID": 0,
          "Item name (if custom)": "",
          "Drop chances (1 - 100)": 1
        },
        {
          "Item ShortName": "glue",
          "Item amount": 10,
          "Item skinID": 2409891781,
          "Item name (if custom)": "$",
          "Drop chances (1 - 100)": 25
        }
      ]
    },
    {
      "Permission to be able to create a farm": "myanimalfarm.wolf",
      "Animal name": "wolf",
      "Interval between receiving items": 300,
      "How much to take away HP from animals for 1 tick of rewards (0 - off)": 10,
      "Maximum farm animals": 3,
      "Farm radius": 10,
      "The amount of food eaten per 1 animal per 1 tick (0 - off)": 1,
      "Food ShortName": "meat.boar",
      "Rewards": [
        {
          "Item ShortName": "stones",
          "Item amount": 100,
          "Item skinID": 0,
          "Item name (if custom)": "",
          "Drop chances (1 - 100)": 100
        },
        {
          "Item ShortName": "rifle.ak",
          "Item amount": 1,
          "Item skinID": 0,
          "Item name (if custom)": "",
          "Drop chances (1 - 100)": 1
        },
        {
          "Item ShortName": "glue",
          "Item amount": 10,
          "Item skinID": 2409891781,
          "Item name (if custom)": "$",
          "Drop chances (1 - 100)": 25
        }
      ]
    }
  ],
  "Config version": {
    "Major": 1,
    "Minor": 0,
    "Patch": 0
  }
}

 

  • Like 1
  • Love 2

Qbis's Collection

User Feedback

1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.8k

Files Sold

Total number of files sold.

1.6m

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.