magemonkeystudio / genesis

MIT License
8 stars 8 forks source link

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

Open frogglen opened 11 months ago

frogglen commented 11 months ago

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
Sentropic commented 8 months ago

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

frogglen commented 8 months ago

@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 commented 8 months ago

@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 commented 8 months ago

@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.