Open Floatingjacob opened 1 week ago
You need to use the server beta modules because voicecraft commands rely on the ChatSend event
when i use the beta modules it gives me an error. let me change it back to send you the errors
the server should give you the latest beta version module to input.
the server should give you the latest beta version module to input.
so, it just needs to be the latest beta modules?
yup
ok, ill try that.
i am still getting
` [2024-11-11 18:33:00:164 ERROR] [Scripting] Unhandled promise rejection: TypeError: cannot read property 'subscribe' of undefined
[2024-11-11 18:33:00:164 ERROR] [Scripting] Unhandled promise rejection: TypeError: cannot read property 'subscribe' of undefined
[2024-11-11 18:33:00:164 ERROR] [Scripting] Plugin [VoiceCraft Addon BP - 1.0.0] - [main.js] ran with error: [TypeError: cannot read property 'subscribe' of undefined at
Are you using 1.15.0-beta
no, i am using 1.17.0-beta
I dunno. Should be working according to the microsoft documentation here https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/worldbeforeevents?view=minecraft-bedrock-experimental
okay, i will mess around some more and tell you if i figure it out.
would it be possible to make the js files manually import specific versions of the @minecraft/server module?
no. that is not possible.
okay
whenever i launch the bds server the terminal says ` [2024-11-11 18:01:02:571 ERROR] [Scripting] Unhandled promise rejection: TypeError: cannot read property 'subscribe' of undefined
[2024-11-11 18:01:02:571 ERROR] [Scripting] Unhandled promise rejection: TypeError: cannot read property 'subscribe' of undefined
[2024-11-11 18:01:02:571 ERROR] [Scripting] Plugin [VoiceCraft Addon BP - 1.0.0] - [main.js] ran with error: [TypeError: cannot read property 'subscribe' of undefined at (Commands/CommandSystem.js:84)
`
Steps to reproduce the behavior
download Voicecraft server&packs version v1.0.7, install them according to the guide, change sections of the behavior pack manifest from
{ "module_name": "@minecraft/server", "version": "1.14.0-beta" }, { "module_name": "@minecraft/server-net", "version": "1.0.0-beta" }, { "module_name": "@minecraft/server-ui", "version": "1.1.0-beta" }
to
{ "module_name": "@minecraft/server", "version": "1.14.0" }, { "module_name": "@minecraft/server-net", "version": "1.0.0-beta" }, { "module_name": "@minecraft/server-ui", "version": "1.1.0" }
Expected behavior the server should the start the world normally, but at the end of loading it should say ` [2024-11-11 18:01:02:571 ERROR] [Scripting] Unhandled promise rejection: TypeError: cannot read property 'subscribe' of undefined[2024-11-11 18:01:02:571 ERROR] [Scripting] Unhandled promise rejection: TypeError: cannot read property 'subscribe' of undefined
[2024-11-11 18:01:02:571 ERROR] [Scripting] Plugin [VoiceCraft Addon BP - 1.0.0] - [main.js] ran with error: [TypeError: cannot read property 'subscribe' of undefined at (Commands/CommandSystem.js:84)
]
`
Platform