- install nodejs
- set the environments variable (using the command
export
on Linux):
- USERNAME: the username of the minecraft account
- PASSWORD: the password of the minecraft account
- SERVER_NAME: the server name of your minehut server (the name that you type after
/join
)
- launch the program using
node index.js