Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blacklist extension request #17

Open
Guardian9978 opened this issue Aug 3, 2016 · 6 comments
Open

Blacklist extension request #17

Guardian9978 opened this issue Aug 3, 2016 · 6 comments

Comments

@Guardian9978
Copy link

Is it possible to add onto the blacklist to be able to blacklist partial ids?

For instance pokecube has pokecube_ml.name_of_pokemon example:
S:Blacklist <
pokecube_ml.Fennekin
pokecube_ml.Rattata
>

This method would have hundreds of lines added to the blacklist but if we could use a wildcard such as
S:Blacklist <
pokecube_ml.*
>
It would be much more convenient.

@Vazkii
Copy link
Member

Vazkii commented Aug 10, 2016

I can make it match regular expressions, if you want.

@Guardian9978
Copy link
Author

I haven't been able to wrap my head around regular expression but if that's the way your thinking of adding it then that will work.

kirothos pushed a commit to kirothos/Neat that referenced this issue Feb 8, 2017
kirothos added a commit to kirothos/Neat that referenced this issue Feb 8, 2017
kirothos added a commit to kirothos/Neat that referenced this issue Feb 8, 2017
Closes VazkiiMods#17 - Add regex match support to entity name black list
@hairlessOrphan
Copy link

Reviving an ancient feature request for a similar reason. Would love to see an option to blacklist an entire mod. The use case here is specifically Pokecube (again!), which implements its own nameplate (that looks like it could have been forked from Neat, based solely on the config) to display mod-specific information (displays mob level and gender, obfuscates the name).

I can't think of a use case for regex, specifically. Hard to imagine a case where a user would want a subset of mobs and could stumble on a regex that captures that subset (the mod would need to assign id's with this in mind, like mymod:boss_something). Blacklisting a whole mod seems more likely and may be more efficient.

Which would allow for something like:
if ((NeatConfig.blacklist.contains(entityID)) || (Neat.Config.blacklist.contains(entityID.split(":",2)[0])))

(Not a Java developer, maybe missing a paren somewhere)

@AngellusMortis
Copy link

@williewillus Was anything like this ever actually added?

@williewillus
Copy link
Member

williewillus commented Oct 14, 2023 via email

@Uraneptus
Copy link
Member

This is ancient lmao. I'm planning on changing how the blacklist thing works. I'll add this to the list of things to consider!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

6 participants