This is a simple Express server for a gameserver named GTPS.
- Node.js and npm should be installed on your system.
- Clone the repository.
- Run
npm installto install the dependencies. - Create a
key.pemandcert.pemfile for HTTPS configuration.
Run the following command to start the server:
npm installnode ./- Returns 'NaN' as a response./growtopia/server_data.php- Returns predefined pack data./host- Returns hosting details for Powertunnel./downhost- Allows downloading of a file named 'host.txt'.
The server is configured to run on:
- HTTP: Port 80
- HTTPS: Port 443
Make sure these ports are not occupied by other services.
All connections are logged in the log.txt file. Check the file for connection details.
This server is for demonstration purposes and may not be suitable for production environments without proper security considerations.
This project is licensed under the Apache License - see the LICENSE file for details.