Luckperms: Luckperms issue with placeholderapi %luckperms_group_expiry_time_vip% not working as it should.

Created on 5 Aug 2020  路  2Comments  路  Source: lucko/LuckPerms

What's the issue
The issue is the when doing %luckperms_group_expiry_time_vip% it dosn't show actual expire time, as it's wrong images of evidence:
image

How you can see the actual time of rank is different then when on a placeholderapi.

Useful information:
PlaceholderAPI version:
2.10.9
Luckperms version:
LuckPerms-Bukkit-5.1.86

The extension was re downloaded just to be sure it's not because of outdated extension.

Most helpful comment

This is an issue with how the TimeUtil utility class (provided by PAPI, which is used to format the time it is given) calculates the number of days and hours from the provided duration.
The PAPI Expansion for LP just asks it to format the remaining time in seconds into a (supposedly) nicely human-readable formatted string.

Already made a PR for it PlaceholderAPI/PlaceholderAPI#423, hope it gets reviewed soon.

All 2 comments

This is an issue with how the TimeUtil utility class (provided by PAPI, which is used to format the time it is given) calculates the number of days and hours from the provided duration.
The PAPI Expansion for LP just asks it to format the remaining time in seconds into a (supposedly) nicely human-readable formatted string.

Already made a PR for it PlaceholderAPI/PlaceholderAPI#423, hope it gets reviewed soon.

What a efficient man!
Thank you! FeFo6644

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Zekrin picture Zekrin  路  3Comments

PhanaticD picture PhanaticD  路  3Comments

GiaNTizmO picture GiaNTizmO  路  3Comments

chillerkraft picture chillerkraft  路  3Comments

netherstar picture netherstar  路  4Comments