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

[Suggestion] add a blacklist for items that supports custom named items or lore #40

Open
frogglen opened this issue Sep 20, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@frogglen
Copy link

examples

  # Example:            (all variables are optional)
  # - Material: STONE
  #   Data: 0
  #   DisplayName: 0
  #   Lore: "Some text that will be searched in every line."
  #   CustomModelData: 0
  #   Compare: IGNORE_CASE      (Default=IGNORE_CASE; STRICT, IGNORE_CASE, CONTAINS, CONTAINS_IGNORE_CASE, REGEX_ANY, REGEX_ALL)
  #
  # Compare examples
  #   STRICT: "FOO" = "FOO"
  #   IGNORE_CASE: "FOO" = "foo"
  #   CONTAINS: "F" is in "Foo"
  #   CONTAINS_IGNORE_CASE: "f" is in "Foo"
  #   REGEX_ANY: "." matches "Foo"
  #   REGEX_ALL: ".*" matches "Foo"
  Blacklist:
  - Material: AIR
    Compare: IGNORE_CASE
  - DisplayName: '&cExample'
    Material: AIR
    Compare: IGNORE_CASE
  - DisplayName: '&5Libro Encantado Élite de'
    Compare: CONTAINS_IGNORE_CASE
  - DisplayName: '&9Chatarra Élite'
    Compare: CONTAINS_IGNORE_CASE
  - DisplayName: '&6Ticket de la Suerte Élite'
    Compare: CONTAINS_IGNORE_CASE
  - Lore: '&7&l&m-------&7<&7&lInfo del Objeto&7>&7&l&m-------'
    Compare: IGNORE_CASE
@frogglen frogglen changed the title [Suggestion] add a blacklist for items that supports custom named items [Suggestion] add a blacklist for items that supports custom named items or lore Sep 20, 2023
@goflishMC goflishMC added the enhancement New feature or request label Dec 15, 2023
@Sentropic
Copy link
Contributor

@frogglen can you elaborate about what this blacklist is meant to be for?

@frogglen
Copy link
Author

@frogglen can you elaborate about what this blacklist is meant to be for?

is to prevent them from selling items from other plugins with custom names or lores.

for example items made by elite mobs

@goflishMC
Copy link

@frogglen can you elaborate about what this blacklist is meant to be for?

is to prevent them from selling items from other plugins with custom names or lores.

for example items made by elite mobs

to prevent who? are you talking about the player shops addon?

@frogglen
Copy link
Author

@frogglen can you elaborate about what this blacklist is meant to be for?

is to prevent them from selling items from other plugins with custom names or lores.
for example items made by elite mobs

to prevent who? are you talking about the player shops addon?

no, I'm talking about bossShopPro
I have a store where you can buy and sell items and I would like that elitemobs items can't be sold.

@github-project-automation github-project-automation bot moved this to Sentropic's Current Projects in PROMCTEAM Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Sentropic's Current Projects
Development

No branches or pull requests

3 participants