Closed ModMaker101 closed 1 year ago
Can I also contribute to this?
There is a reason as to why the server shuts down. It's due to the fact that the script api engine is taking too long to start. You can disable watchdog by adding in a certain piece of code inside main.js but other than that. There's not much else I can really do to make it more performant. Also yes you can contribute. This is open source.
What is the piece of code
import { system } from "@minecraft/server";
system.events.beforeWatchdogTerminate.subscribe((data) => data.cancel = true);
do I just put it in there.
In the main.js
yes
okey I am trying it right now
it works
Why don't you put this in the main code?
I left it out due to the possibility that the server can hang. And watchdog is supposed to protect from the server hanging.
Oh.
so can we make a different pack for this reason and put it on the releases?
I am going to work on the app and add key binds.
so can we make a different pack for this reason and put it on the releases?
Yeh. Will be doing that later on this repo. https://github.com/SineVector241/VoiceCraft-MCBE_ProximityChat_Addon
Can I put some textures in if you want.
To what? Add-on or software?
add-on
Look at this weird error.
the h is the error
can I add a texture????
Yeh. You can. Ill review it later anyways.
I suggest that you fork the repository then clone from the forked repository. Specifically fork the dev branch so you can do PR's
I am going to start on the texture pack for the addon
Initial issue resolved
When I put the script in the server shuts down and Minecraft pops up with this error Server was shut down due to unhandled scripting watchdog exception.
any ideas as to what it could be?
You thing looks cool do you have a server of your own?