Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

LunarCore

> 编程语言
Open source

A game server reimplementation for a certain turn-based anime game

1.4K stars0 likes1 views
WebsiteGitHub

About

A game server reimplementation for a certain turn-based anime game

EN | ID | 简中 | 繁中 | JP | RU | FR | KR | VI

Attention: For any extra support, questions, or discussions, check out our Discord.

Notable features

  • Basic game features: Logging in, team setup, inventory, basic scene/entity management
  • Monster battles working
  • Natural world monster/prop/NPC spawns
  • Character techniques
  • Crafting/Consumables working
  • NPC shops handled
  • Gacha system
  • Mail system
  • Friend system (Assists are not working yet)
  • Forgotten hall
  • Pure Fiction
  • Simulated universe (Runs can be finished, but many features are missing)

Running the server and client

Prerequisites

  • Java 21 JDK

Recommended

  • Java 25 JDK
  • MongoDB 4.0+

Compiling the server

  1. Open your system terminal, and compile the server with ./gradlew jar
  2. Create a folder named resources in your server directory
  3. Download the Config, TextMap, and ExcelBin folders from https://github.com/Dimbreath/StarRailData and place them into your resources folder.
  4. Run the server with java -jar LunarCore.jar from your system terminal. Lunar Core comes with a built-in internal MongoDB server for its database, so no Mongodb installation is required. However, it is highly recommended to install Mongodb anyway.

Connecting with the client (Fiddler method)

  1. Log in with the client to an official server and Hoyoverse account at least once to download game data.
  2. Install and have Fiddler Classic running.
  3. Copy and paste the following code into the Fiddlerscript tab of Fiddler Classic. Remember to save the fiddler script after you copy and paste it:
import System;
import System.Windows.Forms;
import Fiddler;
import System.Text.RegularExpressions;

class Handlers
{
    static function OnBeforeRequest(oS: Session) {
        if (oS.host.EndsWith(".starrails.com") || oS.host.EndsWith(".hoyoverse.com") || oS.host.EndsWith(".mihoyo.com") || oS.host.EndsWith(".bhsr.com")) {
            oS.oRequest.headers.UriScheme = "http";
            oS.host = "localhost"; // This can also be replaced with another IP address.
        }
    }
};
  1. If autoCreateAccount is set to true in the config, then you can skip this step. Otherwise, type /account create [account name] in the server console to create an account.
  2. Login with your account name, the password field is ignored by the server and can be set to anything.

Server commands

Server commands can be run in the server console or in-game. There is a dummy user named "Server" in every player's friends list that you can message to use in-game commands.

…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javagame-server

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言