mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-12 20:34:36 +01:00
37b74c9b35a500278c92f6e6c1c5e344732c0bd2
Nebula
A game server emulator for a certain anime game.
Notable features
- Basic game features: Logging in, team setup, inventory, characters
- Monoliths
- Mail system
Running the server and client
Prerequisites
Recommended
Compiling the server
- Open your system terminal, and compile the server with
./gradlew jar - Create a folder named
resourcesin your server directory - Download the
bin,languagefolders from a repository with datamined game data and place them into your resources folder. - Run the server with
java -jar Nebula.jarfrom your system terminal. This server 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)
- Log in with the client to an official server at least once to download game data.
- Install and have Fiddler Classic running.
- 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(".yostarplat.com") || oS.host.EndsWith(".stellasora.global")) {
oS.oRequest.headers.UriScheme = "http";
oS.host = "localhost"; // This can also be replaced with another IP address.
}
}
};
- If
autoCreateAccountis 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. - Login with your account name, the password field is ignored by the server and can be set to anything.
Server commands
Server commands need to be run in the server console.
/account {create | delete} [username] (reserved player uid) = Creates or deletes an account.
/give [item id] x[amount] = Gives the targetted player an item.
/mail = Sends the targeted player a system mail.
/reload = Reloads the server config.
Languages
Java
100%