Flan (Fabric)

Flan (Fabric)

1M Downloads

[Feature Request]: Add configurable potion effect duration (for claim/sub-claim use cases)

samexit opened this issue ยท 0 comments

commented

Suggestions

Hi Flemmli97 ๐Ÿ‘‹

First of all, huge thanks for your amazing mod โ€“ Flan is a fantastic tool for claim management, and I really enjoy using it in my serveur.

Iโ€™d like to suggest a small improvement that could greatly enhance flexibility:
๐Ÿ‘‰ Allow setting custom durations for potion effects applied via claim or sub-claim rules.

๐Ÿ’ญ Context:
Iโ€™m using a sub-claim to create an area shrouded in darkness (via the Blindness effect,)
The issue is that potion effects applied via Flan currently use a fixed duration, which makes it hard to control how long the effect lasts.

Solution

โœ… What I suggest:
Allow a format like this in the claimmenu or claim config:

Alternatively, allowing a very short duration (e.g., 1 second) would ensure the effect only applies within the claim area.
This helps prevent exploits like teleporting out while still benefiting from the potion effect.