-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in BDS Software loading voicecraft #114
Comments
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. |
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] Plugin [VoiceCraft Addon BP - 1.0.0] - [main.js] ran with error: [TypeError: cannot read property 'subscribe' of undefined at (Commands/CommandSystem.js:84) |
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 |
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
The text was updated successfully, but these errors were encountered: