capyb2222 71bb9e28db
Java CI with Gradle / build (push) Waiting to run
upd: donation link :3
2026-10-18 20:59:27 -07:00
2025-10-06 19:35:56 +03:00
2025-10-06 19:35:56 +03:00
2026-09-24 19:39:42 -07:00
2025-10-06 19:35:56 +03:00
2026-10-15 20:21:03 -07:00
2025-10-06 19:35:56 +03:00
2025-10-06 19:35:56 +03:00
2026-09-22 17:04:14 -07:00
2026-08-16 15:23:20 -07:00
2025-10-07 15:40:53 +03:00
2025-10-06 19:35:56 +03:00
2026-09-24 19:39:42 -07:00
2025-10-31 14:53:01 +01:00
2025-10-06 19:35:56 +03:00
2025-10-06 19:35:56 +03:00
2025-10-06 19:35:56 +03:00
2025-10-06 19:35:56 +03:00
2026-10-18 20:59:27 -07:00
2025-10-06 19:35:56 +03:00

LunaGC-7.1.0 WIP

Note from the maintainer

Base 6.7 from girluh's LunaGC. The server is more stable now, but still expect many bugs.

Vesna

Updated version of Grasscutters, with some new features implemented.

If you need help, please create an issue in this repository and I will try my best to help.

Features and functionality of the ps is not guaranteed, try it yourself to see what works and what doesnt (Most are broken). This is possibly the only public PS with updated mob and gadget spawns! (Up to Version 5.4)

Contribute if you want/can...

Read the handbook!

Setup Guide

  • Read it below, its just enough to get the server up and running along with the client.

Main Requirements

  • Get Java 17
  • Get MongoDB Community Server
  • Get NodeJS (For handbook generation)
  • Get game version REL7.1.0
  • Make sure to install java and set the environment variables.
  • Build the server (refer to "Compile the actual server" in this guide.)
  • Download the Resources, make a new folder called resources in the downloaded LunaGC folder and then extract the resources in that new folder.
  • Set useEncryption, Questing and useInRouting to false (it should be false by default, if not then change it)
  • Patch the game
  • Start the server (you can use Cultivation or Fiddler) and the game (the client), make sure to also create an account in the LunaGC console (otherwise you cannot log in)!
  • Have fun (or don't)

Patching the game

  • Install Rust and Cargo (comes with rustup)
  • Go to the patch/ folder (make sure you have cloned this repository with the --recurse-submodules flag). If that folder is empty, run git submodule update --init or clone animegamepatch yourself
  • Run cargo build --release to build the DLL ext.dll at target/release
  • Inject the DLL into the game. You can do this by renaming the patch to Astrolabe.dll and putting it in the game folder, next to GenshinImpact.exe.

Getting started

  • Clone the repository (install Git first )

    git clone --recurse-submodules https://github.com/capyb2222/LunaGC.git
    
  • Now you can continue with the steps below.

Compile the actual Server

Requirements:

Java Development Kit 17 | JDK or higher

  • Sidenote: Handbook generation may fail on some systems. To disable handbook generation, append -PskipHandbook=1 to the gradlew jar command.

  • For Windows:

    .\gradlew.bat
    .\gradlew.bat jar
    
  • For Linux:

    chmod +x gradlew
    ./gradlew
    ./gradlew jar
    

You can find the output JAR in the project root folder.

Manually compile the handbook

./gradlew generateHandbook

Gacha

All banners from 1.0 to 7.1 are supported. To change the banners, use the /banner command (use /banner list to list all the supported banner versions).

Artifact shop

You can buy artifacts (lvl 20) in Blanche's shop in Mondstadt. If you need Mora, you can use this command:

/give 202 x10000000

The odds are now close to the official server, so the stats should be more accurate now.

Troubleshooting

  • Make sure to set useEncryption and useInRouting both to false otherwise you might encounter errors.
  • To use windy make sure that you put your luac files in C:\Windy (make the folder if it doesnt exist)
  • If you get an error related to MongoDB connection timeout, check if the mongodb service is running. On windows: Press windows key and r then type services.msc, look for mongodb server and if it's not started then start it by right clicking on it and start. On linux, you can do systemctl status mongod to see if it's running, if it isn't then type systemctl start mongod. However, if you get error 14 on linux change the owner of the mongodb folder and the .sock file (sudo chown -R mongodb:mongodb /var/lib/mongodb and sudo chown mongodb:mongodb /tmp/mongodb-27017.sock then try to start the service again.)

Credit

girluh's LunaGC

kitkat's patch

kitkat's proto

Terax for nt

Note

If you use code from this project, please credit capyb2222 somewhere in your project.

Support

If you like the project, you can support me on Ko-fi.

S
Description
No description provided
Readme
59 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 97.5%
TypeScript 1.9%
SCSS 0.4%
HTML 0.2%