Jump to content

Random NPC Names 1.0.002

$2.99
   (0 reviews)

2 Screenshots

  • 172
  • 3
  • 17.27 kB

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
        • zombie
        • frankenstein
      • 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)"
}

 


MACHIN3's Collection

User Feedback

1.6m

Downloads

Total number of downloads.

7.6k

Customers

Total customers served.

114.1k

Files Sold

Total number of files sold.

2.3m

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.