LuckPerms

LuckPerms

41.4k Downloads

Placeholder back to the question

liaojinmin opened this issue · 6 comments

commented

Description

papi variable returns an exception

Reproduction Steps

Set certain permissions for players, such as: [RandomlvStore.use]
lp user player_name perm settemp RandomlvStore.use true 360s
Reuse: [%luckperms_expiry_time_RandomIvStore.use%] will not return the valid time normally

Expected Behaviour

Back to the countdown correctly

Server Details

paper1.16.5

LuckPerms Version

v5.3.77

Logs and Configs

No response

Extra Details

No response

commented

if you use lowercase placeholders, everything works?

commented

Hi @liaojinmin

Make sure you are using PlaceholderAPI (or MVDWPapi) depending which plugin you're displaying the placeholder in and make sure you have the Luckperms Expansion installed if you're using PlaceholderAPI

commented

I am pretty sure that I have used PlaceholderAPI and installed the extension. When I set other temporary permissions, I didn’t find any exceptions.
An accident occurred when I used this special special statement [RandomlvStore.use]
You can test to make sure I am telling the truth.

commented

@OmegaWeaponDev This reason has been found out. It is caused by the capitalization of the letters. No matter where the capitalization of the letter is, it cannot be detected at all. The set and detected permissions are exactly the same, and the case is distinguished.

commented

if you use lowercase placeholders, everything works?

yes

commented

This is technically a bug with the placeholder expansion, but to be honest you should just lowercase all of your permissions 😛