How to target players with placeholders using deluxemenus

My issue is that i cannot understand how to target the player clicking an item in the menu made with deluxemenus because if i use the placeholders provided by the wiki i just get "[LP] %player% is not a valid username/uuid.". Also if for whatever reason it was necessary to know why i'm doing this. It's because i wanna be able to grant a permission that lasts 1 day using Luckperms through the click of an item. But Luckperms obviously won't accept default selectors even with psudocommands installed
No description
13 Replies
Admincraft Meta
Admincraft Meta6mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by amose#0
Skullians
Skullians6mo ago
What are you trying to do when they click an item?
Amush
AmushOP6mo ago
So basically i wanna give a small amount of money to people that log in every day. To do that i figured that i could use luckperms' temp perms and my way of integrating this with deluxemenus is just by having two different items in the same slot but displaying only the item with the ability to grant me money when i do NOT have the permission. Here's the code if it is clearer: it's not it's any better now
Amush
AmushOP6mo ago
watever here's a screen
No description
No description
Amush
AmushOP6mo ago
sorry for the mess
Tamz
Tamz6mo ago
what place holder?
Skullians
Skullians6mo ago
Tried ‘%player_name%’?
Amush
AmushOP6mo ago
the player's placeholder
Skullians
Skullians6mo ago
Might not work, I’m quite tired so I may be spitting bullshit
Amush
AmushOP6mo ago
yep, it just does the same (as %player%) i even tried using the {} brackets since i've read someday somewhere (don't remember where, i might be saying bullshit) that they replaced % in favor of curly brackets but that didn't work as well
Skullians
Skullians6mo ago
discord.gg/helpchat would take it here ngl
Amush
AmushOP6mo ago
thx
Admincraft Meta
Admincraft Meta6mo ago
post closed!
The post/thread has been closed!
Requested by amose#0

Did you find this page helpful?