#Development Error?
1 messages · Page 1 of 1 (latest)
this error occured after Restart of the server (i ve applied the latest Deluxe Menu update)
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)
I didn’t have the problem just after I ve put the latest version
1.14 I think?
yeah
idk why it happens but the only solution I have is to remove your JS requirements
I really can’t do that
I have a community server
Over 60 menus
And many of them
Depends on Java script
what kind of checks are you doing in JS ?
ah
And I can’t remember exactly
well I can't really do much
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*
depending on what you're doing with JS, I can change the requirement to use another requirement type as I mentionned here
ok
hi again
click_requirement:
requirements:
MONEY:
type: javascript
expression: '%vault_eco_balance% >= 2000'
this is what i use
@obsidian gorge
Sorry for ping
click_requirement:
requirements:
money:
type: has money
amount 2000