#How do I use Create: Kubejs?
20 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
do you have event defined anywhere? Are you using StartupEvents.registry?
sorry, I don't have much experience with this at all
no worries xD
how do I define an event?
i was wrong, its this:
ServerEvents.recipes(event => {
event.recipes.createFilling......
})
you always have to have some sort of trigger, for this its ServerEvents.recipes
then you define the event, with event => {}
you could technically do anything right there, i always use just e
okay, I'll try that
so ServerEvents.recipes(e=>{})
Yeah
Ticket re-opened!