By
walkinrey
in Plugins
This plugin adds personal animal assistants to your server, on which the player can ride, store resources or give them various instructions, for example, attack another object or collect resources in the area.
You can choose one of 5 types of animals as a helper animal - bear, boar, chicken, deer and wolf.
At the moment, the animal can:
Attack various targets
Collect resources
Loot boxes
Collect resources within a radius of 50 meters
Follow the player and stand at the point indicated by the player
Protect the owner and yourself if any of them is attacked
You can customize:
Control
Which button will assign tasks to the animal
Button range
Displaying 3D arrows above the target
Arrow display duration
Interface
Refresh once in how many seconds
Panel layer
Panel position
Panel colors
Personal animals by permission
The name of the animal to be selected through the command when spawning
Animal type (bear, wild boar, chicken, deer, wolf)
Maximum health
Re-spawn delay
Animal supplements
The ability to ride the animal
Animal bag (inventory)
Animal capabilities
Can attack objects
Can loot crates
Can pick up resources
Can defend myself
Can protect the owner
Can collect resources within a radius of 50 meters
Interaction, loot and damage
Animal damage rate
Damage receive rate for an animal
Can an animal damage players
Can players damage an animal
Configure pickup rates of resources
Black list of items that cannot be put in the bag
Nutrition
Turn on the animal feeding system
Setting health for food eaten
Video:
By default, the plugin has 2 localization files, for Russian and English
Configuration:
{
"Controls setup": {
"Which button will assign tasks to the animal, attack / collect, etc. (MIDDLE_MOUSE, SECOND_MOUSE, E, RELOAD, SPRINT)": "MIDDLE_MOUSE",
"Range of action of the assignment button": 25.0,
"Display 3D arrows over a target?": true,
"Arrow display duration": 2
},
"GUI setup": {
"How many seconds to update the GUI?": 6,
"Panel layer (Hud, Overlay, Overall, Hud.Menu, Under)": "Overlay",
"Panel position": {
"type": "RectTransform",
"anchormin": "1 1",
"anchormax": "1 1",
"offsetmin": "-170 -104",
"offsetmax": "-10 -10"
},
"Second position of the panel (used if the player has a personal bot)": {
"type": "RectTransform",
"anchormin": "0.0 0.0",
"anchormax": "1.0 1.0",
"offsetmin": "0.0 0.0",
"offsetmax": "0.0 0.0"
},
"1 panel color": "#7f8c8d",
"2 panel color": "#bdc3c7",
"Health bar color": "#2ecc71",
"Shortcut buttons": []
},
"Setting up personal animals by permission": {
"personalanimal.wolf": {
"The name of the animal to be selected through the command when spawning": "wolf",
"Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "wolf",
"Maximum health": 200,
"Animal spawn cooldown": 10.0,
"Addons setup": {
"Enable the ability to ride an animal?": true,
"Add a bag to an animal to store resources?": true,
"Number of available slots in the bag (maximum 36)": 12
},
"Functions setup": {
"Can the animal attack objects?": true,
"Can an animal loot boxes?": true,
"Can the animal pick up resources?": true,
"Does the animal have to defend itself?": true,
"Should the animal protect the owner?": true,
"Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true
},
"Damage, interactions and loot setup": {
"Animal damage rate": 2.0,
"Damage rate receive for an animal": 1.0,
"Can the animal damage players?": true,
"Can players damage the animal?": true,
"Despawn animal corpse after death?": false,
"Setting up resource pickup rates": {
"stones": 5.0
},
"Black list of items that cannot be put in the bag": [
"rocket.launcher"
]
},
"Nutrition setup": {
"Turn on the animal feeding system?": true,
"Setting health for food eaten": {
"corn": 5.0
}
}
},
"personalanimal.bear": {
"The name of the animal to be selected through the command when spawning": "bear",
"Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "bear",
"Maximum health": 200,
"Animal spawn cooldown": 10.0,
"Addons setup": {
"Enable the ability to ride an animal?": true,
"Add a bag to an animal to store resources?": true,
"Number of available slots in the bag (maximum 36)": 12
},
"Functions setup": {
"Can the animal attack objects?": true,
"Can an animal loot boxes?": true,
"Can the animal pick up resources?": true,
"Does the animal have to defend itself?": true,
"Should the animal protect the owner?": true,
"Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true
},
"Damage, interactions and loot setup": {
"Animal damage rate": 2.0,
"Damage rate receive for an animal": 1.0,
"Can the animal damage players?": true,
"Can players damage the animal?": true,
"Despawn animal corpse after death?": false,
"Setting up resource pickup rates": {
"stones": 5.0
},
"Black list of items that cannot be put in the bag": [
"rocket.launcher"
]
},
"Nutrition setup": {
"Turn on the animal feeding system?": true,
"Setting health for food eaten": {
"corn": 5.0
}
}
},
"personalanimal.boar": {
"The name of the animal to be selected through the command when spawning": "boar",
"Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "boar",
"Maximum health": 200,
"Animal spawn cooldown": 10.0,
"Addons setup": {
"Enable the ability to ride an animal?": true,
"Add a bag to an animal to store resources?": true,
"Number of available slots in the bag (maximum 36)": 12
},
"Functions setup": {
"Can the animal attack objects?": true,
"Can an animal loot boxes?": true,
"Can the animal pick up resources?": true,
"Does the animal have to defend itself?": true,
"Should the animal protect the owner?": true,
"Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true
},
"Damage, interactions and loot setup": {
"Animal damage rate": 2.0,
"Damage rate receive for an animal": 1.0,
"Can the animal damage players?": true,
"Can players damage the animal?": true,
"Despawn animal corpse after death?": false,
"Setting up resource pickup rates": {
"stones": 5.0
},
"Black list of items that cannot be put in the bag": [
"rocket.launcher"
]
},
"Nutrition setup": {
"Turn on the animal feeding system?": true,
"Setting health for food eaten": {
"corn": 5.0
}
}
},
"personalanimal.chicken": {
"The name of the animal to be selected through the command when spawning": "chicken",
"Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "chicken",
"Maximum health": 200,
"Animal spawn cooldown": 10.0,
"Addons setup": {
"Enable the ability to ride an animal?": true,
"Add a bag to an animal to store resources?": true,
"Number of available slots in the bag (maximum 36)": 12
},
"Functions setup": {
"Can the animal attack objects?": true,
"Can an animal loot boxes?": true,
"Can the animal pick up resources?": true,
"Does the animal have to defend itself?": true,
"Should the animal protect the owner?": true,
"Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true
},
"Damage, interactions and loot setup": {
"Animal damage rate": 2.0,
"Damage rate receive for an animal": 1.0,
"Can the animal damage players?": true,
"Can players damage the animal?": true,
"Despawn animal corpse after death?": false,
"Setting up resource pickup rates": {
"stones": 5.0
},
"Black list of items that cannot be put in the bag": [
"rocket.launcher"
]
},
"Nutrition setup": {
"Turn on the animal feeding system?": true,
"Setting health for food eaten": {
"corn": 5.0
}
}
},
"personalanimal.stag": {
"The name of the animal to be selected through the command when spawning": "stag",
"Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "stag",
"Maximum health": 200,
"Animal spawn cooldown": 10.0,
"Addons setup": {
"Enable the ability to ride an animal?": true,
"Add a bag to an animal to store resources?": true,
"Number of available slots in the bag (maximum 36)": 12
},
"Functions setup": {
"Can the animal attack objects?": true,
"Can an animal loot boxes?": true,
"Can the animal pick up resources?": true,
"Does the animal have to defend itself?": true,
"Should the animal protect the owner?": true,
"Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true
},
"Damage, interactions and loot setup": {
"Animal damage rate": 2.0,
"Damage rate receive for an animal": 1.0,
"Can the animal damage players?": true,
"Can players damage the animal?": true,
"Despawn animal corpse after death?": false,
"Setting up resource pickup rates": {
"stones": 5.0
},
"Black list of items that cannot be put in the bag": [
"rocket.launcher"
]
},
"Nutrition setup": {
"Turn on the animal feeding system?": true,
"Setting health for food eaten": {
"corn": 5.0
}
}
},
"personalanimal.polarbear": {
"The name of the animal to be selected through the command when spawning": "polarbear",
"Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "polar-bear",
"Maximum health": 400,
"Animal spawn cooldown": 10.0,
"Addons setup": {
"Enable the ability to ride an animal?": true,
"Add a bag to an animal to store resources?": true,
"Number of available slots in the bag (maximum 36)": 12
},
"Functions setup": {
"Can the animal attack objects?": true,
"Can an animal loot boxes?": true,
"Can the animal pick up resources?": true,
"Does the animal have to defend itself?": true,
"Should the animal protect the owner?": true,
"Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true
},
"Damage, interactions and loot setup": {
"Animal damage rate": 2.0,
"Damage rate receive for an animal": 1.0,
"Can the animal damage players?": true,
"Can players damage the animal?": true,
"Despawn animal corpse after death?": false,
"Setting up resource pickup rates": {
"stones": 5.0
},
"Black list of items that cannot be put in the bag": [
"rocket.launcher"
]
},
"Nutrition setup": {
"Turn on the animal feeding system?": true,
"Setting health for food eaten": {
"corn": 5.0
}
}
}
},
"List of prefabs that the animal can loot (useful if the animal attacks loot instead of looting it)": [
"foodbox",
"vehicle_parts"
]
}
Commands:
/panimal - spawns or despawns an animal
/panimal where - shows the grid where the animal is and the distance to it
/panimal health - shows the current health of the animal
/panimal follow - instructs the animal to follow the owner
/panimal auto-pickup - displays information about auto-pickup resources
/panimal auto-pickup (all, wood, stone, metal, sulfur) - assigns/removes a specific resource for auto-pickup
/panimal auto-pickup enable - enables auto-pickup of resources
/panimal auto-pickup disable - disables auto-pickup of resources