#How to make an item only craftable once, and for it to display a chat message when crafted

13 messages · Page 1 of 1 (latest)

sick gardenBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

olive oar
#

You need to use the modify result method, do you want it once per person or once anywhere?

agile orchid
#

once anywher

olive oar
#

You'll need to use the json reader functions then

#

On startup, check if a crafted file exists, if it doesn't, create it

#

Then when it's crafted, check if a variable is true

agile orchid
#

im very new to kubejs, i barely understand what youre saying lmfao

olive oar
#

If it is, return air

#

Oh okay

#

I'm on phone rn

#

You'll have to wait for someone who's on PC and can provide code snippets

agile orchid
#

alr, thanks

agile orchid
#

idk if its needed but here is my item