#My Server_Scripts Not Working on Server
51 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Paste version of BrickFix_-_Kopie.txt from @safe eagle
why is your script a txt
you have a trailing comma on your array
i renamed it to txt idk i could send the js file
you can send any file
but why does it the work in singeplayer ? does act kubejs there different ?
also, why are you storing your event.smelt in a constant?
rhino does, that is very annoying
i had sh** broken for that =/
i had do remove that rule from my Linter
at some case it complains
hmm it is not needed ? my knowledge is based on an tutorial guy so i was thinking i need it ?
nobody puts recipes in a list
i have never seen people storing event.smelting or something being stored in a constant/var
ServerEvents.recipes(event => {
//Remove by item ID
[
'twigs:cracked_bricks',
'blockus:charred_bricks',
'biomemakeover:cracked_bricks'
].forEach(itemID => event.remove({ output: itemID }))
//left Output right Input twigs:cracked_bricks minecraft:bricks blockus:charred_bricks biomemakeover:cracked_bricks
event.smelting('biomemakeover:cracked_bricks', 'minecraft:bricks')
event.smelting('twigs:cracked_bricks', 'biomemakeover:cracked_bricks')
event.smelting('blockus:charred_bricks', 'twigs:cracked_bricks')
})
@lyric gust he claims it works on singleplayer, that is super sus 😐
yeah theres something definitey wrong on the user side
->
not the script
show me your server log
You can find your KubeJS server log in /minecraft/logs/kubejs/server.log.
If you are on 1.18 or below it will be called server.txt.
Please send it if asked, as it contains helpful information.
KubeJS loaded with no errors
"works for me on single"
hope it was not the case and he actually checked recipe/JEI
Paste version of server.log from @safe eagle
Unknown item 'geode_plus:prismarine_cluster'
well, there's your error
:P
ctrl+f in the file and find that item
that is sice the beginning i copyed all of fabric 7 this error was already there i needed to remove the geode mod (I have the same error in singleplayer)
okay, then remove the recipe. simple as that
if you removed the mod then yeah
or if it's the input of the recipe, change it to sometihng else
do i need to search in all the text files from the AOF Team or is there a easyer way to find it
isn't there a way in visual studio code to search for text in multiple files...?
there is ofc
yes
ok that nice to know...sorry first time
removed all lines that where not needed and replaced my script with that from Lexxie
Yey it works
then it was the lines from geode :(

i definitly need to learn more. There are a LOT more overlapping recipie but thank you guys ^^

