#! DeluxeMenu need help

1 messages Ā· Page 1 of 1 (latest)

tawny palm
#

i was about to reply

spice zealot
#

Nothing works 😦

tawny palm
#

u can simply use the string equals

#

and check for permission with parseother too

#

but u r gonna need a placeholder

#

like the one from luckperms

spice zealot
#

But I know but nothing works with this anymore I can send it to you but let’s admit I want to display perms etc. it all puts in no while the player has it etc..

#

Wait how do we send via a link?

tawny palm
#

?paste

muted trellisBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use

spice zealot
#

Nothing goes I don’t know why even when the player has permission it tells me no (the player is offline in the case there..)

spice zealot
# tawny palm ?paste

Here’s the links after there are things it works only when I indicate my nickname so it’s weird but If you can watch, I would be grateful because I don’t understand

vast oak
#

not all placeholders work when the user is offline

spice zealot
vast oak
#

standard procedure

#

otherwise you would have to keep all permissions for all users that ever existed in constant memory

spice zealot
vast oak
#

you misunderstood the update notes

#

placeholderapi started supporting offline players in 2.9.0, correct

#

but once again, not ALL placeholders work for offline users

#

ESPECIALLY ones that deal with permissions or data in general

#

this includes luckperms placeholders

vast oak
spice zealot
past quest
spice zealot
tawny palm
#
open_requirement: 
  requirements: 
    player: 
      type: string equals
      input: "%parseother_{{username}}_{player_online}%"
      output: "yes"
      deny_commands: 
      - '[message] &7[&6&l!&7] &7This user isn''t online'
    haspermission: 
      type: string equals
      input: "%parseother_{{username}}_{luckperms_check_permission_test}%"
      output: "yes"
      deny_commands: 
      - '[message] &7[&6&l!&7] &7This user doesn''t have permission.'
#

@spice zealot ^

spice zealot
tawny palm
#

np :d

spice zealot
#

Question why use the has permission?

tawny palm
#

?

#

eh tomato tomato, both work :/

#

check is similar to has or whatever it is

spice zealot
#

Why did you put that?

tawny palm
spice zealot
#

So if I understand correctly, if the player is connected and we have permission to make the command it opens the menu but if we do not have permission it does not open the menu and if the player is not connected it tells us that he is not connected?

tawny palm
#

the permission check is for the other user not u

spice zealot
#

But suddenly, I would like to use it only for people to connect so there are no more permission concerns but if the player is not connected, it must not open the menu to him

tawny palm
#

oh

#

well remove the haspermission requirement then

#

use the online one only

spice zealot
#

So I explain myself when I type the command /staffstats <user> if the player is online, it opens the interface and if he is not it sends us a message to tell us that he is not connected and of course if we do not have permission to use the /staffstats <user> commands it sends us the message to say that we do not have permission

spice zealot
spice zealot
#

Nice šŸ™‚

#

Thank you very much, friends

tawny palm
#

šŸ„–

spice zealot
#

Bhahah it became a valve the baguette you heartattack

spice zealot
tawny palm
#

%parseother_{{joueur}}_{player_online}%

spice zealot
tawny palm
spice zealot
tawny palm
#

i think op has a bypass for the view requirement eitherway

tawny palm
spice zealot
tawny palm
#

do u have the parseother expansion installed?

#

any errors when u reload the plugin?

spice zealot
#

But for players disconnecting it doesn’t work well if I’m no longer an operator

spice zealot
tawny palm
#

do u get any error msg from the deny commands?

spice zealot
#

It’s weird because when I reload it it works with offline players but if I type a nickname offline it no longer puts a message to say that the player is not connected and it opens the interface if we spam

tawny palm
#

can u paste all your menu here again?

#

?paste

muted trellisBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use

spice zealot
tawny palm
spice zealot
#

Even if I’m no longer an operator

#

So I don’t know why

spice zealot
vast oak
#

the type should be string equals not string_equals

#

@spice zealot