Skip to content

How to set up RCON management for a Gportal server

konsti219 edited this page May 22, 2021 · 8 revisions

This guide will show you how to set up RCON management for a Gportal server. With this setup you will be able to remotely control your Gportal server, including seeing who is online, banning/kicking players and save management.

You need:

  • Any kind of server/computer, Linux (I will be using an Ubuntu server) or Windows
  • Some basic networking knowledge

Configuration (Linux)

  1. Create folder, download and generate config mkdir astro-starter && cd astro-starter && wget https://github.com/konsti219/astro-starter/releases/latest/download/astro-starter && ./astro-starter

  2. This will generate the default config file starter.json.

  3. Edit the config file with nano starter.json.

  4. Delete what's already there and paste this

{
    "webserverPort": 5000,
    "owner": "<your name>",
    "servers": [
        {
            "id": "remoteserver",
            "type": "remote",
            "name": "<Enter your server Name>",
            "IP": "<Server IP>",
            "port": <Server port>,
            "consolePort": <Console Port>,
            "consolePassword": "<Console password (go to Configuration files on the GPortal website and find it in AstroServerSetting.ini)>"
        }
    ]
}
  1. Replace the things in the <placeholders> with your information

Note: more documentation on the configuration file can be found here: TODO

Starting the tool (Linux)

  • run astro-starter (I recommend using pm2 for this)
  • Manage and stop the server with the web interface at http://localhost:5000.

Configuration (Windows)

Don't use Windows. Basically download the tool like for a local server and do the configuration file like in The Linux section.

Starting the tool (Windows)

  • Start the server by double-clicking start.bat

Note (for more advanced users): you can start astro-starter.exe in any way you like, the batch file is only there to show you the output in case an error occurs.