#FTB Quests custom rewards for T.H.I.S
18 messages · Page 1 of 1 (latest)
did you add the FTB-X Compat mod?
no, ill try that right now
Sadly it still dosnt work
the ftbquest id is for a reward, would it have to be FTBQuestsEvents.customReward instead?
and does the e.server.runCommandSilent() still work?
Do you have ProbeJS?
No
ProbeJS is an addon mod for KubeJS that generates typings files for VSCode, allowing VSCode to offer autocompletions for a ton of things!
Mod by @slate sleet
it helps autocomplete so you see what goes where
Ill try that rn
Please read #rules 5.
FTB support is not offered in this server.
If you need help with FTB-related mods, packs, or scripts, head over to the official FTB Discord Server by clicking the button:
Currently this is what i have now
e.server.runCommandSilent(`thitemstages add ${e.player.name} stage1`)
e.server.runCommandSilent(`/title ${e.player.name} times 20 100 20`)
e.server.runCommandSilent(`/title ${e.player.name} title {"text":"Congratulations!!!","bold":true,"italic":true,"color":"#9A52FF"}`)
e.server.runCommandSilent(`/title ${e.player.name} subtitle ["",{"text":"Welcome to ","bold":true,"italic":true},{"text":"Stage 2","bold":true,"italic":true,"color":"#9A52FF"},{"text":"!","bold":true,"italic":true}]`)
e.server.runCommandSilent(`/playsound minecraft:ui.toast.challenge_complete master ${e.player.name} ${e.player.x} ${e.player.y} ${e.player.z} 10 1`)
e.server.runCommandSilent(`/playsound minecraft:entity.generic.explode master ${e.player.name} ${e.player.x} ${e.player.y} ${e.player.z} 10 2`)
e.server.runCommandSilent(`/particle minecraft:firework ${e.player.x} ${e.player.y} ${e.player.z} 8 8 8 1 5000 normal`)
})```
The quest reward is working as fireworks are going off however, the e.server.runCommandSilent(`thitemstages add ${e.player.name} stage1`)
isnt working
How would i run these commands?
the only command that works is /particle
/playsound, /title, and /thitemstages arnt working
does it work when you run manually?