A Sonolus server for Project Sekai: Colorful Stage!.
Install LTS version of Node.js.
Download and extract release.
npm ci --omit=dev
Rename config.example.json
to config.json
and modify its content. Documentation of config can be found below.
node .
Server port.
Examples: 8080
.
Enable verbose logging.
Examples: true
, false
.
Interval between updates, in milliseconds.
Examples: 600000
.
Item prefix, should be kebab-case
.
Examples: sekai-best
.
Base path, should have leading slash but no trailing slash.
Examples: /
, /server
.
Address, should have no trailing slash.
Examples: https://my-domain.com
, https://my-domain.com/server
, http://127.0.0.1:8080/server
.
Fallback locale.
Examples: ja
, en
.
Path to banner image, optional.
Examples: ./path/to/banner.png
.
Path to pack, optional. Use @sonolus/pack to prepare a pack.
Examples: ./path/to/pack
.
Info post author.
Info post description.
Engine resources.
Share mode, can be spa
or redirect
.
Examples: spa
, redirect
.
Path to public when using SPA mode.
Examples: ./path/to/public
.
Redirect root when using redirect mode, should have no protocol.
Examples: my-domain.com
, my-domain.com/server
, 127.0.0.1:8080/server
.
Client base URL.
Examples: https://sekai-world.github.io/sekai-master-db-diff
, https://storage.sekai.best/sekai-jp-assets
, https://i18n-json.sekai.best
.
Client timeout, in milliseconds.
Examples: 30000
.
Enable whitelist to remove unusable items due to missing assets.
Examples: true
, false
.
Whitelist thread count.
Examples: 5
.
npm ci
npm run build