VisEntities
Equip npcs with custom loadouts

Supported Games
GameServerKingsGameServerKings

This plugin lets you equip all types of npcs on the server with custom loadouts, which include items for both belt and wear containers, replacing their original loadouts.

If you want an npc to equip a specific item as their weapon, place that item first in the belt list. For npcs capable of using healing items (as determined by the npc type or npcs spawned by plugins), include medical syringes in their belt inventory.

Demonstration


Configuration

{
  "Version": "2.0.0",
  "NPC Groups": [
    {
      "Enabled": true,
      "NPC Short Prefab Names": [
        "scientistnpc_oilrig"
      ],
      "Loadout": {
        "Randomize Active Weapon": true,
        "Belt": [
          {
            "Shortname": "shotgun.spas12",
            "Skin Id": 0,
            "Amount": 1
          },
          {
            "Shortname": "syringe.medical",
            "Skin Id": 0,
            "Amount": 2
          }
        ],
        "Wear": [
          {
            "Shortname": "halloween.mummysuit",
            "Skin Id": 0,
            "Amount": 1
          }
        ]
      }
    },
    {
      "Enabled": true,
      "NPC Short Prefab Names": [
        "scientistnpc_cargo",
        "scientistnpc_cargo_turret_lr300"
      ],
      "Loadout": {
        "Randomize Active Weapon": true,
        "Belt": [
          {
            "Shortname": "rifle.ak",
            "Skin Id": 0,
            "Amount": 1
          },
          {
            "Shortname": "syringe.medical",
            "Skin Id": 0,
            "Amount": 2
          }
        ],
        "Wear": [
          {
            "Shortname": "gingerbreadsuit",
            "Skin Id": 0,
            "Amount": 1
          }
        ]
      }
    }
  ]
}

Need Help or Found a Bug?

Please open a thread in the support section of this plugin's page. If you want quicker help or to reach me directly, join my Discord.


Credits

  • Rewritten from scratch and maintained to present by VisEntities
  • Originally created by Orange, up to version 1.0.3
MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.