Option to exclude named NPCsSuggestion

would it be possible to add an option to exclude some names defined in the config so that DeathNotes won't display for those name(s)?

so say if I wanted the name "zombie" excluded there would be no death note displayed for that name.

Yes please add this option. I also am looking to exclude "zombie".
Thanks DRaKo.

DraKo

Yes please add this option. I also am looking to exclude "zombie".
Thanks DRaKo.

The ability to add names of killers is already in the configuration file you just edit in/out the ones you want.

- Helicopter
- Bradley
- Animal
- Murderer
- Scientist
- Scarecrow
- Player
- Trap
- Turret
- Barricade
- ExternalWall
- HeatSource
- Fire
- Lock
- ScientistSentry
 "KillerType": "Player",
    "VictimType": "Player",
    "DamageType": "Bullet",
    "Messages": [
        "{killer} shot {victim} using their {weapon} over a distance of {distance}."
j5Tl8DEteiJAlak.jpg pookins

The ability to add names of killers is already in the configuration file you just edit in/out the ones you want.

- Helicopter
- Bradley
- Animal
- Murderer
- Scientist
- Scarecrow
- Player
- Trap
- Turret
- Barricade
- ExternalWall
- HeatSource
- Fire
- Lock
- ScientistSentry
 "KillerType": "Player",
    "VictimType": "Player",
    "DamageType": "Bullet",
    "Messages": [
        "{killer} shot {victim} using their {weapon} over a distance of {distance}."

yes I know this, this is not what I meant..

I use BotSpawn and have set the Murderers that spawn to have different names and would like to exclude certain named Muderers.
For example, if I named the Murderers:-

Assassin
Hitman
Bodyguard
Police Agent
Zombie

And I didn't want the DeathNotes to show up for the Murderers named "Zombie" but the others (Assassin, Hitman, Bodyguard, Police Agent) I want the DeathNotes to show..

Basically I have various named Murderers at the monuments, but I also have a custom spawn in what I call a "Zombie House" where a lot of murderers spawn with the name "Zombie". I have to limit the range that DeathNotes appears on screen to players as otherwise there would be constant spam on the screen of the DeathNotes for the name "Zombie" when a player kills the Murderers at the Zombie House as they spawn and die really fast.

I want to be able to exclude the Murderers named "Zombie" and have the other named Murderers DeathNotes show on screen and not have to limit the range to stop the spam of the Murderers named "Zombie". 

Does that explain better?

Have you included the "names" of the zombies you want shown in the config ?

Assassin
Hitman
Bodyguard
Police Agent

"KillerType": "Assassin",
"VictimType": "Player",
"DamageType": "Bullet",
"Messages": [
"{killer} shot {victim} using their {weapon} over a distance of {distance}."

I also use botspawn with 35 different botnames as well as bots (3 Sets)  for guarded crate plugin and zombies from RandomAnimalSpawns Plugin and have no difficulty with DeathNotes,

I see what you're saying and never thought of doing it that way, however I have l about 150 different names for the bots so that would mean I would have to repeat that 150 times in the config minus the Zombie one.

Would just seem easier to have a section to exclude 1 or more names. 

5biIetycCOBfdpl.jpg Smokedawg

I see what you're saying and never thought of doing it that way, however I have l about 150 different names for the bots so that would mean I would have to repeat that 150 times in the config minus the Zombie one.

Would just seem easier to have a section to exclude 1 or more names. 

How is the dev going to anticipate what *names to exclude ?, it cant just exclude NPC's as other plugins such as FancyDrop, Guarded Crate, HumanNpc's and Botspawn use them, it can exclude *Zombies

the plugin could have an option in the config like:-

"excluded names": [
  "Zombie"
]

and add a check in the plugin code against those names before displaying the Death Note. Surely that wouldn't be difficult?