Step 0 · Everyone
Before you start
Jcommand talks to your Rust server through WebRCON, which is built into Rust. You only need to switch it on once.
- Add three settings to your server's startup line. On a game host, look for a "startup", "command line" or "launch parameters" box. On your own machine, it's the line that starts
RustDedicated.+rcon.web 1 +rcon.port 28016 +rcon.password "pick-a-long-password"
- Restart the Rust server once so the settings take effect.
- Write down three things: the server's IP address, the RCON port (28016 above) and the RCON password. Jcommand asks for these.
Option A
Windows app
Best if you want Jcommand on your own PC. It watches one server at a time while it's open.
- Download the installer. Download for Windows (about 4.8 MB).
- Run it. Windows may say it "protected your PC", because the installer isn't code-signed. Click More info, then Run anyway.
- Finish the installer, then start Jcommand from the Start menu. It installs just for your Windows account.
- Add your server. Click + Add, then enter a name, the IP address, the RCON port and the password from Step 0. Jcommand can remember the password for you, encrypted with your Windows account.
- Connect. Click the server. Jcommand shows the console, figures out whether you run Oxide or Carbon, and fills in your players and stats.
%APPDATA%\dev.rustrcon.client. Updating or reinstalling keeps it.Option B
Linux: try it out
The web version is one program with the web page built in. Nothing else to install. This is the quickest way to see it running on your own Linux computer.
- Download it into your home folder: Download for Linux (about 10.5 MB, 64-bit Intel or AMD). Or from a terminal:
curl -LO https://airwyke.design/jcommand/download/jcommand-server-linux-x86_64
- Make it runnable and start it. Open a terminal in the folder you downloaded it to:
chmod +x jcommand-server-linux-x86_64 ./jcommand-server-linux-x86_64
- Open
http://127.0.0.1:8088in your browser. - Create your account. The first visit asks you to pick a username and password. That's the owner account.
- Add your server with the details from Step 0, and you're in.
~/.local/share/jcommand. To stop Jcommand, press Ctrl+C in the terminal. It only records history while it's running, so for 24/7 history use Option C.--bind 0.0.0.0:8088 and open http://this-computer's-ip:8088. They'll be asked for a 6-digit setup code, printed in the terminal. Don't open this port to the internet without HTTPS; use Option C for that.Option C
Linux server: always on
For a VPS or home server. Jcommand starts on boot, keeps every saved server connected, records player history around the clock, and you reach it from anywhere at an address like https://jcommand.yourdomain.com.
You'll need: a Linux server with sudo, systemd and nginx; a domain or subdomain pointing at the server; and certbot for the free HTTPS certificate.
- Download Jcommand onto the server.
curl -LO https://airwyke.design/jcommand/download/jcommand-server-linux-x86_64
- Give it its own user and folder. Jcommand runs as a locked-down user that can only touch its own data folder.
sudo useradd --system --home /var/lib/jcommand --shell /usr/sbin/nologin jcommand sudo install -d -o jcommand -g jcommand -m 700 /var/lib/jcommand sudo install -D -m 755 jcommand-server-linux-x86_64 /opt/jcommand/jcommand-server
- Make it start on boot. Create the service file:
Paste this in, then save (Ctrl+O, Enter, Ctrl+X):
sudo nano /etc/systemd/system/jcommand.service
[Unit] Description=Jcommand (Rust RCON web panel) After=network-online.target Wants=network-online.target [Service] Type=simple User=jcommand Group=jcommand Environment=JCOMMAND_DATA=/var/lib/jcommand Environment=JCOMMAND_BIND=127.0.0.1:8088 ExecStart=/opt/jcommand/jcommand-server Restart=always RestartSec=5 NoNewPrivileges=yes ProtectSystem=strict ProtectHome=yes PrivateTmp=yes PrivateDevices=yes ProtectKernelTunables=yes ProtectKernelModules=yes ProtectControlGroups=yes RestrictSUIDSGID=yes ReadWritePaths=/var/lib/jcommand UMask=0077 [Install] WantedBy=multi-user.target
- Start it, and note the setup code.
The log shows a 6-digit setup code. You'll need it in step 7.
sudo systemctl daemon-reload sudo systemctl enable --now jcommand journalctl -u jcommand -n 20
- Put nginx in front. Create
/etc/nginx/sites-available/jcommandwith this, changingjcommand.example.comto your address:Make sure theserver { listen 80; listen [::]:80; server_name jcommand.example.com; location / { proxy_pass http://127.0.0.1:8088; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_read_timeout 1h; proxy_send_timeout 1h; } }http { }block of/etc/nginx/nginx.confhas this line (most do already):Then switch the site on:map $http_upgrade $connection_upgrade { default upgrade; '' close; }sudo ln -s /etc/nginx/sites-available/jcommand /etc/nginx/sites-enabled/ sudo nginx -t && sudo systemctl reload nginx
- Turn on HTTPS. certbot gets a free certificate and switches the site to HTTPS for you:
sudo certbot --nginx -d jcommand.example.com
- Sign in for the first time. Open your address, enter the setup code from step 4, and create the owner account with a strong password.
/var/lib/jcommand. It holds your database, log and secret.key, the key that encrypts saved RCON passwords. Without that key, saved passwords can't be read and you'd have to type them again.X-Forwarded and X-Real-IP lines in the nginx file. Without them every visitor looks like the server itself, and Jcommand couldn't tell who needs the setup code.Option D
Docker
Already use Docker? This is the easiest way to run the web version. It works on Linux, and on Windows or Mac with Docker Desktop. The image is ogre28/jcommand on Docker Hub.
- Start Jcommand. One command downloads it and starts it. It also starts again by itself after a reboot.
docker run -d --name jcommand --restart unless-stopped -p 8088:8088 -v jcommand-data:/data ogre28/jcommand
- Open
http://localhost:8088in your browser. - Get your setup code. Jcommand asks for a 6-digit code the first time. It's in the log:
docker logs jcommand
- Create your account with the code, then add your server with the details from Step 0.
jcommand-data: the database, the log and secret.key, which unlocks your saved RCON passwords. Removing the container keeps it; only docker volume rm jcommand-data deletes it. Back it up like this:
docker run --rm -v jcommand-data:/data -v "$PWD":/backup alpine tar czf /backup/jcommand-data.tar.gz -C /data .
-p 8088:8088 lets other devices on your network open Jcommand too. To keep it to this machine only, use -p 127.0.0.1:8088:8088 instead. Reaching it from the internet? Put it behind HTTPS: the nginx and certbot steps in Option C work the same way, pointed at port 8088.Optional
Bring over your desktop servers
Already using the Windows app? The web version can import its saved servers and player history.
- Find the desktop database on your PC: press Win+R, type
%APPDATA%\dev.rustrcon.clientand press Enter. Copyrust-rcon.dbto the Linux machine. - Import it. On a server set up with Option C:
With Option B, just run
sudo cp rust-rcon.db /var/lib/jcommand/ sudo chown jcommand: /var/lib/jcommand/rust-rcon.db sudo -u jcommand JCOMMAND_DATA=/var/lib/jcommand /opt/jcommand/jcommand-server import /var/lib/jcommand/rust-rcon.db sudo systemctl restart jcommand
./jcommand-server-linux-x86_64 import rust-rcon.db. It's safe to run more than once. - Type the RCON passwords in again. The desktop app locks them to your Windows account, so they can't be read anywhere else. Everything else comes across.
Later on
Updating
Windows app: download the newest installer from the downloads and run it. Your servers and history stay.
Web version, Option B: stop it with Ctrl+C, download the new file over the old one, and start it again.
Web version, Option C:
curl -LO https://airwyke.design/jcommand/download/jcommand-server-linux-x86_64 sudo install -m 755 jcommand-server-linux-x86_64 /opt/jcommand/jcommand-server sudo systemctl restart jcommand
Docker, Option D: get the new image and start a fresh container. Your data stays in the volume.
docker pull ogre28/jcommand docker rm -f jcommand docker run -d --name jcommand --restart unless-stopped -p 8088:8088 -v jcommand-data:/data ogre28/jcommand
Your data is kept. You can check a download against the published checksums with sha256sum -c SHA256SUMS.txt.
Troubleshooting
If something goes wrong
It says it can't connect to my server
Check the IP, the RCON port (not the game port, which is usually 28015) and that +rcon.web 1 is in the startup line. If you use a VPN, try turning it off. If the game server is on a host, make sure its firewall allows the RCON port.
It says the password is wrong
Copy the password straight from your startup line. Careful: after 5 wrong tries, Rust blocks your IP from RCON for about 5 minutes. Jcommand never retries a wrong password by itself, so wait, fix the password, then connect again.
My Rust server runs in WSL on the same PC
Connect to 127.0.0.1 instead of localhost.
The web page asks me for a setup code
That happens the first time someone opens Jcommand from another computer. The 6-digit code is printed where Jcommand was started. On a server, run journalctl -u jcommand -n 20. With Docker, run docker logs jcommand.
I forgot my Jcommand password
On the machine running the web version:
sudo -u jcommand JCOMMAND_DATA=/var/lib/jcommand /opt/jcommand/jcommand-server reset-password USERNAME
With Option B, run ./jcommand-server-linux-x86_64 reset-password USERNAME instead.
Windows won't run the installer
Click More info on the blue SmartScreen box, then Run anyway. The installer isn't code-signed, so Windows doesn't recognize it yet.
Still stuck?
Get in touch. You'll get the person who built it.