Dino Passive Protection

Dino Passive Protection 1.2b

No permission to download
NOTE: This plugin is currently in Beta-V1.2. Feel free to help me test it out!

For any questions, please reach out through discord as I'll answer there far faster than here.

This plugin is free and open sourced. All future updates will still be maintained by me. Be sure to join the Discord: barnwellrd's ArkApi Plugin Discord!

Features:
  • Provides passive dino protection
  • Customizable config
  • Dino blacklist and Structure whitelist
  • Clean Plugin! Don't like it or having problems?? Remove it at anytime with no issues.

Configuration:

JSON:
{
  "General": {
    "EnableConsoleDebugging": false,
    "RequiresPassive": true,
    "RequiresPassiveFlee": false,
    "RequiresNoRider": true,
    "RequiresNoInventory": true,
    "RequireNoSaddle": true,
    "RequiresNotFollowing": true,
    "RequiresIgnoreWhistle": false,
    "RequiresNeutered": false,
    "MinimumHealthPercentage": 90.0,
    "RequiresNoNearbyEnemyStructures": true,
    "MinimumEnemyStructureDistanceInFoundations": 15.0,
    "RequiresNotTurretMode": true,
    "ProtectBabyDino": true,

    "MessageTextSize": 1.3,
    "MessageDisplayDelay": 5,
    "MessageColor": [
      1.0,
      0.0,
      0.0,
      0.0
    ],

    "DPPChatCommandPrefix": "!dpp",
    "PassiveProtectedDinoMessage": "This dino is under Passive Protection!",
    "UnprotectedDinoMessage": "This dino is NOT under Passive Protection!",
    "NotTribeSameMessage": "This dino is not in your tribe!",
    "NotADinoMessage": "This target is not a dino!",
    "NotADinoOrStructureMessage": "This target is not a dino or structure!",
    "DPPInvalidCommand": "Invalid chat command!",

    "DinoNotPassiveMessage": "Dino not set to Passive Aggressive.",
    "DinoNotPassiveFleeMessage": "Dino not set to passive flee.",
    "DinoHasRiderMessage": "Dino has a rider.",
    "DinoHasInventoryeMessage": "Dino has items in its inventory.",
    "DinoHasSaddleMessage": "Dino has a saddle equipped.",
    "DinoFollowingMessage": "Dino is on follow.",
    "DinoNotIgnoringWhistlesMessage": "Dino is not ignoring whistles.",
    "DinoNotNeuteredMessage": "Dino is not neutered.",
    "DinoBelowMinHealthMessage": "Dino is not above minimum health.",
    "DinoNearEnemyStructureMessage": "Dino is near enemy structures.",
    "DinoInTurretModeMessage": "Dino is in Turret mode.",
    "DinoIsBlacklistedMessage": "Dino is a blacklisted dino.",

    "DinoBlacklist": [
      "Blueprint'/Game/PrimalEarth/Dinos/Giganotosaurus/Gigant_Character_BP.Gigant_Character_BP'",
      "Blueprint'/Game/PrimalEarth/Dinos/Rex/Rex_Character_BP.Rex_Character_BP'"
    ],

    "StructureWhitelist": [
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Thatch/BP_Foundation_Thatch.BP_Foundation_Thatch'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Wood/BP_Foundation_Wood.BP_Foundation_Wood'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Stone/BP_Foundation_Stone.BP_Foundation_Stone'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Adobe/BP_Foundation_Adobe.BP_Foundation_Adobe'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Glass/BP_Foundation_Glass.BP_Foundation_Glass'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Metal/BP_Foundation_Metal.BP_Foundation_Metal'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Tek/BP_Foundation_Tek.BP_Foundation_Tek'",

      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Triangle/Wood/BP_TriFoundation_Wood.BP_TriFoundation_Wood'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Triangle/Stone/BP_TriFoundation_Stone.BP_TriFoundation_Stone'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Triangle/Adobe/BP_TriFoundation_Adobe.BP_TriFoundation_Adobe'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Triangle/Glass/BP_TriFoundation_Glass.BP_TriFoundation_Glass'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Triangle/Metal/BP_TriFoundation_Metal.BP_TriFoundation_Metal'",
      "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Triangle/Tek/BP_TriFoundation_Tek.BP_TriFoundation_Tek'",

      "Blueprint'/Game/PrimalEarth/Structures/Thatch/Thatch_Floor.Thatch_Floor'",
      "Blueprint'/Game/PrimalEarth/Structures/Wooden/Floor_Wood_SM_New.Floor_Wood_SM_New'",
      "Blueprint'/Game/PrimalEarth/Structures/Stone/Stone_Floor/Floor_Stone.Floor_Stone'",
      "Blueprint'/Game/ScorchedEarth/Structures/Adobe/Blueprints/SM_AdobeFloor_BP.SM_AdobeFloor_BP'",
      "Blueprint'/Game/PrimalEarth/Structures/Metal/Floor_Metal.Floor_Metal'",
      "Blueprint'/Game/PrimalEarth/Structures/TekTier/Floor_Tek.Floor_Tek'",

      "Blueprint'/Game/PrimalEarth/StructuresPlus/Structures/Foundations/Triangle/Wood/BP_TriFoundation_Wood.BP_TriFoundation_Wood'",
      "Blueprint'/Game/PrimalEarth/StructuresPlus/Structures/Foundations/Triangle/Stone/BP_TriFoundation_Stone.BP_TriFoundation_Stone'",
      "Blueprint'/Game/PrimalEarth/StructuresPlus/Structures/Foundations/Triangle/Adobe/BP_TriFoundation_Adobe.BP_TriFoundation_Adobe'",
      "Blueprint'/Game/PrimalEarth/StructuresPlus/Structures/Foundations/Triangle/Metal/BP_TriFoundation_Metal.BP_TriFoundation_Metal'",
      "Blueprint'/Game/PrimalEarth/StructuresPlus/Structures/Foundations/Triangle/Tek/BP_TriFoundation_Tek.BP_TriFoundation_Tek'"
    ]
  }
}
}


Commands:

Chat Commands:
  • !dpp status ~ Gives the player a notification with their dino's DPP status and lists one reason why if not protected
  • !dpp getpath ~ Gives the player the plugins blueprint path for a dino or structure. ALWAYS use this command to get your DPP config blueprints (most spawn BPs will not work with DPP, sorry )

Admin Commands Console:
  • cheat DPP.Reload ~ Reloads config and updates protection on the new config settings

Admin Commands RCON:
  • DPP.Reload ~ Reloads config and updates protection on the new config settings


Installation:
  1. Install ARK: Server API V3.1
  2. Copy the "DinoPassiveProtection" folder to "/ArkApi/Plugins/"
  3. ??? (Customize your config)
  4. Profit!?!

NOTES:

  • I am testing and DPP is not working for me, what do I do?
    • Enable logging via the config and reload to troubleshoot, otherwise follow the instructions in my discord to submit a bug report.

  • Why won't my whitelisted structure or blacklisted dino blueprint work?
    • Some spawn blueprints are different than the paths the plugin can see. Always use the "!dpp getpath" command to get the blueprint path of your dino or structure that will work for DPP.

  • Why am I getting a 1114 error?
    • There is an error in the config file. Make sure the JSON is correct using JsonLint, the {} and variable names match the default config, and the config.json file is UTF-8 encoded

  • I have provided the structure blueprint paths for all vanilla and S+ foundations in the default config.
    • Remember to use the "!dpp getpath" chat command to determine the blueprint path you should use to whitelist any other structures!

  • DinoBlacklist is a blueprint list of dinos that will never be protected

  • StructureWhitelist is a blueprint list of all structures that will be considered as enemy structures when checking for nearby structures.
    • Any unlisted structures will be ignored.
    • This means with the default config, only a nearby enemy foundation listed will stop protection from becoming active.
***************************************************************************************************************************

Known Issues: Beta-V1.2
  • Structure Whitelists can cause lag when bloated or a large amount of enemy structures are in the "MinimumEnemyStructureDistanceInFoundations" radius.
    • Likely causes: large amount of structures in whitelist or in scan radius of dino
    • Current solution:
      • Keep list as short as possible (under 50 is recommended)
      • Set "MinimumEnemyStructureDistanceInFoundations" to a lower number if still seeing issues under 50 whitelisted structures

***Due to the nature of the plugin triggering every time a tribed dino takes damage, the above issue may not be 100% resolved. Shotgun, explosive, and large swipe damage on dinos near a LARGE amount of enemy structures (1000+) are the only likely times this will be an issue as they trigger calls several times a second when causing damage to nearby dinos.

***Also note that the structure and dino list check will not happen on a dino that does not meet all other requirements for protection. Keep that in mind if you are experience lag, since you can enable more requirements to reduce even more structure and dino list checks.

***If the current version of the plugin does not resolve the lag issues to a more reasonable degree, the Structure and Dino lists will be removed.
***************************************************************************************************************************
GitHub: barnwellrd/Dino-Passive-Protection
Donations: Paypal.me!

****Please email any bug reports to [email protected] or contact me on Discord: Rogue Leader#5458*****[/SPOILER]
Author
barnwellrd
Downloads
156
First release
Last update
Rating
4.50 star(s) 2 ratings

More resources from barnwellrd

Latest updates

  1. [UPDATE:] Dino Passive Protection Beta-V1.2

    Change Notes: Added additional optimizations that should increase performance with decent...
  2. [UPDATE:] Dino Passive Protection Beta-V1.1

    Change Notes: Added new config option for blacklisted dinos message...
  3. [UPDATE:] Dino Passive Protection Beta-V1.0

    Change Notes: - Added config option for baby dino protection (ProtectBabyDino) (Thanks...

Latest reviews

Update for API 3.2 Pls Sir thank
Good work! works great! A must have for pvp servers who want to keep their players :D
Top