1.2.0 • Published 3 years ago
minecraftlegionwebserver v1.2.0
minecraftLegionWebServer
This project was part of minecraftLegion.
This is a bridge for manage the bot.
Install:
- Install Node.js version 14+
- go to the directory which you want to install into
- run
npm i minecraftLegionWebServer
on command prompt - make a new file called .env with the fields shown below
LISTEN_PORT=4001
ADMIN_PASSWORD=AdminnPassForManageBot
WEB_CLIENT=http://localhost:4000
- Run the app with
npm start
- WEB_CLIENT => Is minecraftLegionWebClient host:port, is used for accept CORS
Usage:
Start the app with npm start
They start listening with the port you selected in the .env file.
No need for anything else. This app is used for bridge/middleware between bots and the front end.
TODO
- Make a robuts documentation