Jump to content

Random NPC Names 1.0.003

$2.99
   (0 reviews)

2 Screenshots

  • Image
  • Image
  • 2.1k
  • 10
  • 18.1 kB
  • Update details
    v1.0.003
    Released
    Download size18.1 kB
    Total versions4
    Time between versions 1 day
    Typical update pace About every 2 days
    Freshness 391 days ago

Works with

Compatible add-ons, packages, or tools that pair well with this resource.

About Random NPC Names

Random NPC Names is a simple plugin that will automatically rename all NPCs on your server with a more realistic human like name. As NPCs spawn they will be given a First name with a single letter for their last name ( John D. / Mary K. / Stan R.). You can edit/remove the prefix that appears in front of every NPC type in the config.  

 

Chat Command:
commands shown use the default chat command prefix (/rnpcs), if you change the prefix command you must use that prefix with the values below

  • /rnpcs <value> - change <value> to one of the options below
    • on - enables the Random NPC Names
    • off - disables the Random NPC Names and returns NPC names to default
    • debugon - turns Debug mode on
    • debugoff - turns Debug mode off
    • renameall - manually renames all active NPCs
    • save - saves settings to config file
    • prefix <type> "<name>"  - changes the prefix of NPC type to the name you enter
      • Available Types:
        • scientist
        • tunneldweller
        • underwaterdweller
        • scarecrow
      • Chat Command Example: /rnpcs prefix scientist "Crazy Scientist"

 

API for Developers:

// Returns the NPC name as string (looks for BaseCombatEntity)
GetNameBCE(BaseCombatEntity entity)
  
// Returns the NPC name as string (looks for BaseEntity)
GetNameBE(BaseEntity entity)

 

Config: Example only

{
  "Settings": {
    "enable": true,
    "debug": true,
    "chatcommand": "rnpcs"
  },
  "NPC Prefix": {
    "scientist": "[Scientist]",
    "tunneldweller": "[Dweller]",
    "underwaterdweller": "[Dweller]",
    "scarecrow": "[Scarecrow]",
    "zombie": "[Zombie]",
    "frankenstein": "[Frankenstein]"
  }
}

 

Language:

{
  "RNPC_001": "Random NPC Names: {0}",
  "RNPC_002": "Random NPC Names Debug Mode: {0}",
  "RNPC_003": "{0} NPCs have been renamed",
  "RNPC_004": "missing command value (on, off, debugon, debugoff, renameall)"
}

 

  • Like 1

User Feedback

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
155k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.