Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 494 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 494 Bytes

BedrockWS

Starting up the first time:

git clone https://github.com/eDroiid/BedrockWS.git
cd BedrockWS
npm i && node Server

Another way:

npm i https://github.com/eDroiid/BedrockWS.git
node MyServer.js

MyServer.js:

const MyServer = new (require("bedrockws"))();

MyServer.on("PlayerMessage", event => console.log(`${event.sender}: ${event.message}`));

MyServer.listen(80);

In Minecraft run /connect localhost. Send a message. Check your command line.