2026-04-10 19:30:29 -07:00
2025-08-11 16:51:52 -07:00
2026-02-14 01:56:29 -08:00
2026-02-09 01:24:53 -08:00
2022-12-28 23:35:52 +01:00
2026-01-06 00:51:26 +01:00
2026-01-28 12:55:13 -08:00
2026-02-09 01:24:53 -08:00
2025-10-14 00:13:55 -07:00
2023-11-27 11:27:47 +01:00
2021-10-02 16:39:08 +02:00
2025-06-06 10:30:27 -07:00
2023-04-21 15:57:23 +02:00
2022-12-05 11:41:27 +01:00

GServer-v2

Build Status

Created by: Joey, Nalin, dufresnep, Codr, Marlon. Based off the original work by 39ster. For their additional work on the old gserver, special thanks go to: Agret, Beholder, Joey, Marlon, Nalin, and Pac.

Building

Required dependencies

Linux users can install openjdk-21-jre or similar via their package manager, Windows users can install from Microsoft or via winget.

vcpkg needs to be installed and the VCPKG_ROOT environment variable needs to be set to the location where it exists. The directory should be writable by the user running the build (unless you want to spend extra time reading documentation and configuring the software).

Build with CMake

If using command-line cmake, you would start a build like so:

cmake --preset "Windows Release" -G Ninja -B build
cmake --build build

On a Linux build, you would use Linux Release as the preset.

IDEs such as Visual Studio and CLion have CMake support built-in and can be used to easily build and configure the projects.

Quick Start Instructions

How-to setup a server:

  1. Under the accounts folder, rename the text file YOURACCOUNT.txt to your account name. For example: KuJi.txt
  2. Modify defaultaccount.txt to your liking. This is the default settings new players will start with. It can also be modified via RC.
  3. Open config/serveroptions.txt and edit it to your liking (like selecting a server generation). Be sure to modify the settings under "Private server options".
  4. Find the line that starts with staff= in config/serveroptions.txt. Replace YOURACCOUNT with your account name. Anybody who needs RC access must be added to this line with their account names separated by commas. Additionally, RC users must have their IP range changed to at least *.*.*.* in their account to connect.
  5. Run gs2emu.exe -- enjoy.

Next steps:

Start here for more detailed instructions on how to set up and configure your server.

Documentation

Documentation is available in the /docs/ folder.

S
Description
No description provided
Readme 34 MiB
Languages
C++ 91.9%
CMake 4.6%
C 2.6%
Dockerfile 0.8%
HTML 0.1%