#blacklist world

1 messages · Page 1 of 1 (latest)

lucid fulcrum
#

How can I make the menus I created in the deluxemenus plugin unusable in some worlds

ember thorn
#

add an open_requirement

#

that checks for the player's world

lucid fulcrum
#

Can you please make an example for me, my brain is on fire

ember thorn
#
open_requirement:
  requirements:
    notInWorld1:
      type: "!string equals ignorecase"
      input: "%player_world%"
      output: "world1"
    notInWorld2:
      type: "!string equals ignorecase"
      input: "%player_world%"
      output: "world2"
#

you can have as many requirements as you want

lucid fulcrum
#

open_requirement:
requirements:
waiting_lobby:
type: "!string equals ignorecase"
input: "%player_world%"
output: "waiting_lobby"
deny_commands:
- "[message] &6&lSTKRAH&f&lCRAFT &7➤ &cBilinmeyen komut kullanıldı!"

#

Did I do wrong?

ember thorn
#

it looks good

#

make sure the world name is correct with /papi parse me %player_world%

#

and what's your DeluxeMenus version?

lucid fulcrum
#

1.13.7

ember thorn
#

all good, just check the world name with the command then

lucid fulcrum
#

It worked at first but now it doesn't work

ember thorn
#

how so?

lucid fulcrum
#

The menu works in a world where I don't want it to work

ember thorn
#

what does the command return in chat?

lucid fulcrum
#

There is nothing in the chat section

ember thorn
#

uh

lucid fulcrum
#

I'm sorry, I may have translated it wrong, I'm speaking in translation.

ember thorn
#

/papi parse me %player_world% doesn't say anything in chat?

lucid fulcrum
ember thorn
#

what's the world name?

lucid fulcrum
#

waiting_lobby

ember thorn
#

are you OP?

#

I think OP can open the menu even with the requirements

lucid fulcrum
#

I'm ashamed right now
You are right 🤦

ember thorn
#

does it work now?

lucid fulcrum
#

yes it worked

ember thorn
#

fingerguns 👍