#Development Error?

1 messages · Page 1 of 1 (latest)

spice ruin
#

Hi, so im getting this error in my console and i don t really know how to solve it, i ve never seen it before

#

this error occured after Restart of the server (i ve applied the latest Deluxe Menu update)

obsidian gorge
#

I'm not sure why this happen, but it seems related to Javascript requirements

#

idk from which menu it is though

#

Usually, people use JS to do simple >,<,>=,<=,== checks which is already possible with DeluxeMenus without using JS. Hoping it's your case as well, you could use another requirement type instead of javascript so it doesn't throw the error anymore (it won't fix the issue though but I have no idea why it exists XD)

spice ruin
#

1.14 I think?

obsidian gorge
#

yeah

#

idk why it happens but the only solution I have is to remove your JS requirements

spice ruin
#

I really can’t do that

#

I have a community server

#

Over 60 menus

#

And many of them

#

Depends on Java script

obsidian gorge
#

what kind of checks are you doing in JS ?

spice ruin
#

I m not on my computer right now

#

I’m out of town

obsidian gorge
#

ah

spice ruin
#

And I can’t remember exactly

obsidian gorge
#

well I can't really do much

spice ruin
#

I can tell after I get home

#

I could give you a entire menu

#

Or what you need

#

And suport me with that

#

If you can

#

A menu that uses JS*

obsidian gorge
spice ruin
#

ok

#

hi again

#

click_requirement:
requirements:
MONEY:
type: javascript
expression: '%vault_eco_balance% >= 2000'

#

this is what i use

#

@obsidian gorge

#

Sorry for ping

obsidian gorge
#
click_requirement:
  requirements:
    money:
      type: has money
      amount 2000
spice ruin
#

i guess that the plugins code had changed

#

i guess that

#

wiki changed too

#

right?

obsidian gorge
#

it's been quite a while since it's been this way

#

I remember using DM in 2019 or maybe 2020 and it was already like this 😅