Oheers / EvenMoreFish

An advanced fishing plugin based on MoreFish, created 2 years after its last update.
MIT License
91 stars 55 forks source link

Added support for multiple permission based requirements #199

Closed sarhatabaot closed 1 year ago

sarhatabaot commented 1 year ago

This will add support for multiple permissions as a requirement. I made sure to include backwards compatibility so users can keep using the old format without changing anything.

requirements:
  permission: "evenmorefish.fish1"

or

requirements:
  permission:
  - "evenmorefish.fish1"
  - "evenmorefish.fish2"

Draft since I still need to test this.

sarhatabaot commented 1 year ago

I have tested this and it seems to work just fine,

Oheers commented 1 year ago

Many thanks, I'll let the person who suggested this know :)