Simple Node.js web frontend for RCON connections to a specified Minecraft server.
Clone the repo and cd
into it:
git clone https://github.com/dpleshkov/web-rcon-mc
cd web-rcon-mc
Install dependencies:
npm install
Create a .env
file with the following fields:
PORT=3742 # the port you want the webserver to listen on
RCON_HOST=your.minecraft.server.ip
RCON_PORT=25575 # RCON port
RCON_PASSWORD=rconpasswordtoyourminecraftserver
Run npm start
and open the page in your browser.
You will be prompted to enter the RCON password.
After which it will save the password locally to your browser, so you don't have to enter it
again. If you wish to change or reset the stored password, simply type /password
.
After that, simply typing a Minecraft server command into the bottom box will remotely execute it on the server and print out the result.