A Web GUI to interface with RCON game servers. Developed for Minecraft, but should work with other games with RCON servers.
Allows users to add multiple RCON servers and send commands. Displays responses, keeps a history of commands, and allows adding commands as favorites.
WIP.
- Clone this repository.
git clone https://github.com/zsd7200/rcon.git- Make a copy of
docker-compose.yml.exampleand rename it to simplydocker-compose.yml. - Set both
CRYPTO_KEYandCRYPTO_SALTto random strings (wrapped in"").- If none are provided, the console (
docker logs rcon-web-gui) will log two UUIDs. - It is recommended to save these to your
docker-compose.ymlfile and recreate the container (docker compose up -d).
- If none are provided, the console (
- [OPTIONAL] Change port bindings if you do not want to host this on port 25545 (default).
- e.g. "1234:25545" would allow connection on
http://localhost:1234rather thanhttp://localhost:25545.
- e.g. "1234:25545" would allow connection on
- Navigate to this repository's directory and run (may take some time on first run):
docker compose up -d- Open http://localhost:25545 with your browser to see the result.
- Create a
.envwith the following entries:
CRYPTO_KEY=
CRYPTO_SALT=
-
Both
CRYPTO_KEYandCRYPTO_SALTshould be randomly generated strings.- If none are provided, the console will log two UUIDs.
- It is recommended to save these to your
.envfile and restart the application.
-
Run install command:
npm i- Build the server:
npm run build- Run the server:
npm run start- Open http://localhost:25545 with your browser to see the result.
Q: I'm getting the following error message: Error connecting to server via RCON. Error code: ENOTFOUND
A: The host is not currently hosting a Minecraft server. Try adding the server again and double-checking that the information is right.
Q: I'm getting the following error message: Error connecting to server via RCON. Error code: ECONNREFUSED
A: The host's RCON port is not accessible. Is your port forwarded?
Q: When going to my server page, it takes way too long to send the first command.`
A: You may have entered the server's port rather than the RCON port (or a different incorrect port). Try adding the server again and double-checking that the port entered is the RCON port and not the server port.
If you experience any other issues, please create an issue on this repository and I will see what I can do.