Jump to content

NPC Building Block 2.1.0B

$2.99
   (0 reviews)

1 Screenshot

  • 15.7k
  • 18
  • 3.66 kB
 Share

About NPC Building Block

IMRG plugins are currently not for sale.
Additionally the "IMR Tools Package" are (or soon to be) unlisted.
Those who've already bought our plugins are welcome to still submit support request if necessary.
Once we've more time to allocate to Codefling plugins will be relisted again as well as more added.

 

NPC Building Block is a plugin that will prevent players from building if there are specific animals and/or specific Bots/named NPC's nearby. It also has an option for all animals and all NPC's at once. The building block effect will stop when the player moves out of radius or kills the animals/NPC's causing the block. 

This can be a great way to stop players from using foundations for example to abuse animal AI (since animals can't deal with players on foundations) which makes them free kills, whereas this plugin makes animals much more of a threat. It can also be used to prevent players from making sniper towers to shoot NPC Bots outside of their attack range or all kinds of other abuse of their AI to make for a more all around fair and challenging PVE experience. Admins can think of all kinds of uses!

List of entity names for the config can be found here:https://www.corrosionhour.com/rust-prefab-list/

 

Features

• Prevents players from being able to build near specific animals and/or specific NPC's while those animals/npc's are in range or alive

• Makes animals that much more lethal because their AI will be much harder to abuse - great for servers that want more of a PVE challenge!

• Also makes specific NPC's more lethal since their AI cannot be abused by making improvised sniper towers or hiding behind twig bases, and so on!

• VIP Ready with permissions to let select players bypass the blocks

• Great performance

• Customizable

 

Depends On

IMR Tools Package: https://codefling.com/tools/imr-tools-package

Always make sure you have the IMR Tools Package installed first when running any plugins by IMR Games. 

 

Installation

- Make sure you have the IMR Tools Package installed, as explained above.

- Put this plugin in your oxide plugins folder.

- It will generate a config and lang file.

- Customize and enjoy!

 

Permissions

imrgnpcbuildingblock.animalignore - Lets the player(s) bypass the animal-based building block.

imrgnpcbuildingblock.npcignore - Lets the player(s) bypass the npc-based building block.

 

Config

{
  "Named NPC Block Radius": 100.0, //Radius in which configured named npc's will prevent players from building. For example, "Frank Bot" will prevent players from building if they're within 100 meters of it.
  "Named NPC Block List": [ //List of named npc's to cause the building block effect.
    "Bob The Builder",
    "Frank Bot",
    "Bob"
  ],
  "Animal Block Radius": 100.0, //Radius in which configured animals will prevent players from building. For example, a Bear will prevent players from building if they're within 100 meters of it.
  "Animal Block List": [ //List of animals to cause the building block effect.
    "assets/rust.ai/agents/bear/bear.prefab",
    "assets/rust.ai/agents/boar/boar.prefab",
    "assets/rust.ai/agents/chicken/chicken.prefab",
    "assets/rust.ai/agents/stag/stag.prefab",
    "assets/rust.ai/agents/wolf/wolf.prefab"
  ],
  "Blocked Prefabs List": [ //List of prefabs that cause the blocking effect.
    "assets/prefabs/building core/foundation/foundation.prefab",
    "assets/prefabs/building core/foundation.triangle/foundation.triangle.prefab",
    "assets/prefabs/misc/xmas/icewalls/wall.external.high.ice.prefab",
    "assets/prefabs/deployable/furnace.large/furnace.large.prefab"
  ]
}

Lang

{
  "AnimalBlock": "You can't build here because there are hostile animals nearby.", //Message send to players that are within range of an animal-based building block. 
  "NPCBlock": "You can't build here because {0} is nearby." //Message send to players that are within range of an npc-based building block. 
}

 

Notes

- If the Named NPC Block List is entirely empty, then all NPC's will enforce the building block. This includes even Vanilla Scientists. This can be an easy way to include all NPC's at one time!

- If the Animal Block List is entirely empty, all animals will enforce the building block as well. 


IMR Games's Collection

User Feedback

1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.3k

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.