Player gets item they can throw down to have some npc's help defend the area you throw the item in.
Commands.
defender <playerID> <Item config name> <amount>
/defender <Item config name> <amount>
/defender list - Shows all item names
Permissions.
npcdefenders.admin
The default configured item is Little so to get this item you can /defender little
Code:
{
{
"Defender Items": {
"Defender Item SkinID And Config Options": {
"Little": {
"Defender Item SkinID": 2890862070,
"Total Defenders": 1,
"Defender Spawner Item Should FlashBang": true,
"Total Time In Minutes Defender Will Stay": 5,
"Defender Ignores Team Members": true,
"Spawn Health Of The Defender": 100.0,
"Weapion Damage Scale Default 1.0": 1.0,
"Defenders aimConeScale default 2.0": 2.0,
"Names To Give The Defenders": [
"Npc Defender"
],
"Spawn Kits For The Defenders": []
},
"Small": {
"Defender Item SkinID": 2890862657,
"Total Defenders": 1,
"Defender Spawner Item Should FlashBang": true,
"Total Time In Minutes Defender Will Stay": 5,
"Defender Ignores Team Members": true,
"Spawn Health Of The Defender": 110.0,
"Weapion Damage Scale Default 1.0": 1.0,
"Defenders aimConeScale default 2.0": 2.0,
"Names To Give The Defenders": [
"Npc Defender"
],
"Spawn Kits For The Defenders": []
},
"Medium": {
"Defender Item SkinID": 2890862798,
"Total Defenders": 1,
"Defender Spawner Item Should FlashBang": true,
"Total Time In Minutes Defender Will Stay": 5,
"Defender Ignores Team Members": true,
"Spawn Health Of The Defender": 120.0,
"Weapion Damage Scale Default 1.0": 1.0,
"Defenders aimConeScale default 2.0": 2.0,
"Names To Give The Defenders": [
"Npc Defender"
],
"Spawn Kits For The Defenders": []
},
"Large": {
"Defender Item SkinID": 2891395741,
"Total Defenders": 1,
"Defender Spawner Item Should FlashBang": true,
"Total Time In Minutes Defender Will Stay": 5,
"Defender Ignores Team Members": true,
"Spawn Health Of The Defender": 130.0,
"Weapion Damage Scale Default 1.0": 1.0,
"Defenders aimConeScale default 2.0": 2.0,
"Names To Give The Defenders": [
"Npc Defender"
],
"Spawn Kits For The Defenders": []
},
"Xlarge": {
"Defender Item SkinID": 2890862889,
"Total Defenders": 1,
"Defender Spawner Item Should FlashBang": true,
"Total Time In Minutes Defender Will Stay": 5,
"Defender Ignores Team Members": true,
"Spawn Health Of The Defender": 150.0,
"Weapion Damage Scale Default 1.0": 1.0,
"Defenders aimConeScale default 2.0": 2.0,
"Names To Give The Defenders": [
"Npc Defender"
],
"Spawn Kits For The Defenders": []
}
}
},
"Version": {
"Major": 1,
"Minor": 0,
"Patch": 6
}
}