In the BlockLauncher you could execute the function Server.sendChat("hello"); as net.zhuoweizhang.mcpelauncher.ScriptManager.sendChat("hello"); because of the Server.sendChat doesn't work in servers.
I tried with io.mrarm.mctoolbox.ScriptManager.sendChat("hello"); but it said that 'io' is not defined please give me the solution for that function.
OTHER QUESTIONS
How do I create custom throwables?
How do I write/edit a file using ModPE
In the BlockLauncher you could execute the function Server.sendChat("hello"); as net.zhuoweizhang.mcpelauncher.ScriptManager.sendChat("hello"); because of the Server.sendChat doesn't work in servers.
I tried with io.mrarm.mctoolbox.ScriptManager.sendChat("hello"); but it said that 'io' is not defined please give me the solution for that function.
OTHER QUESTIONS
How do I create custom throwables? How do I write/edit a file using ModPE