Oheers / EvenMoreFish

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

Add a fish permission #339

Closed FireML closed 1 month ago

FireML commented 1 month ago

Adds the ability to lock fish behind a permission.

    Shiny Pickle:
      permission: "emf.shiny_pickle"

This fish can only be caught if the player has the emf.shiny_pickle permission.

It loops over all possible fish until the player has permission, or all fish have been checked.

If the player doesn't have permission for any fish, it prints an error to console:

[10:13:39 INFO]: [EvenMoreFish] [STDOUT] Max: 1
[10:13:39 INFO]: [EvenMoreFish] [STDOUT] Checked: 1
[10:13:39 ERROR]: [EvenMoreFish] Could not determine a fish for FireML. The player doesn't have permission to catch any fish! (See fish.yml)
FireML commented 1 month ago

oh so it does. i didn't realise it already existed, my bad.