Banarnia-Services / FancyHomes

Spigot Homes-Plugin with usability in mind.
GNU General Public License v3.0
2 stars 1 forks source link

fancyhomes.limit.<LIMIT> not honored #4

Closed jnijland closed 1 month ago

jnijland commented 1 month ago

According to the SpigotMC page, I can use the following permission to set the maximum of homes a player can have: fancyhomes.limit.<LIMIT>: Set the home limit (requires LuckPerms)

I've set the limit for group A on 3, for group B on 10. When having max-homes: 1 in the config, both groups can have a maximum of 1 home. When I set the config option to 50, every group has the option to set 50 homes.

I want to be able to configure the maximum amount of homes for a player based on their LuckPerms group, and this doesn't seem to work.

Using Purpur Version: 1.21.1-2315-2a50638 (MC: 1.21.1)* FancyHomes: 1.3.6

MikeNipkow commented 1 month ago

Thanks for reporting this issue.

Please check out version 1.3.7, which should fix your issue: https://www.spigotmc.org/resources/fancyhomes-%C2%BB-1-13-1-21-1.112762/update?update=564139

Keep in mind, that you will need to add the permission as Meta-Value - not just as simple permission: image

Should look similar to this in the editor: image

Further information on LuckPerms docs: https://luckperms.net/wiki/Meta-Commands

MikeNipkow commented 1 month ago

Update: You can now just add the permission meta.fancyhomes-limit.x, when LuckPerms is installed to prevent any confusion.