#FTB Quests custom rewards for T.H.I.S

18 messages · Page 1 of 1 (latest)

burnt ginkgoBOT
#

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

umbral magnet
#

did you add the FTB-X Compat mod?

sharp rose
#

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?

umbral magnet
#

Do you have ProbeJS?

sharp rose
#

No

polar voidBOT
#

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

umbral magnet
#

it helps autocomplete so you see what goes where

sharp rose
#

Ill try that rn

polar voidBOT
#

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:

umbral magnet
#

Also may ask them

#

for more info about FTB Quests

sharp rose
#

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

umbral magnet
#

does it work when you run manually?