Configuration
Configure your Gurotopia server and client connection
Server Configuration
This guide explains how to configure your Gurotopia server and set up client connections.
Hosts File Configuration
To connect to your local server, you must modify your system's hosts file to redirect Growtopia's servers to your local machine.
Windows
- Open Notepad as Administrator
- Open the file:
C:\Windows\System32\drivers\etc\hosts - Add the following lines at the end:
127.0.0.1 www.growtopia1.com
127.0.0.1 www.growtopia2.com- Save the file
You need administrator privileges to edit the hosts file on Windows.
Linux / macOS
- Open terminal
- Edit the hosts file with sudo:
sudo nano /etc/hosts- Add the following lines:
127.0.0.1 www.growtopia1.com
127.0.0.1 www.growtopia2.com- Save with
Ctrl + O, then exit withCtrl + X
Server Data Configuration
The server_data.php file is auto-generated on first run with default values. To customize:
server|127.0.0.1
port|17091
type|1
type2|1
#maint|Server under maintenance. Please try again later.
loginurl|login-gurotopia.vercel.app
meta|gurotopia
RTENDMARKERBS1001Edit this file before starting the server to change the IP, port, or maintenance message.
Database Configuration
The database.cfg file is auto-generated on first run. It uses a pipe-delimited format:
host|127.0.0.1
user|root
password|Edit this file to point to your MariaDB server before starting.
Gurotopia uses MariaDB (not SQLite). Make sure MariaDB is installed and running before starting the server.
Reverting Changes
To connect to official Growtopia servers again, remove or comment out the lines you added to the hosts file:
# 127.0.0.1 www.growtopia1.com
# 127.0.0.1 www.growtopia2.com