/Monolith

Entierly opensource classicube.net backend implementation in typescript.

Primary LanguageTypeScript

mônolith

Entierly opensource classicube.net backend implementation

in typescript.

Features

  1. Almost exact API to cc.net
  2. Working Heartbeat service
  3. Skin saving and viewing
  4. Exact Sessions API
  5. Fully fleshed out API docs
  6. DB for saving users and hashing/salting for everything
  7. Password changing
  8. Tutorial on how to patch the Classicube client

API docs

  1. Authenication: doc.deno.land/yourfriendoss/Monolith/routes/auth.ts
  2. Extras (skin): doc.deno.land/yourfriendoss/Monolith/routes/extra.ts
  3. Heartbeat/server: doc.deno.land/yourfriendoss/Monolith/routes/heartbeat.ts

config.json example

Make sure hashSalt and passwordSalt are as randomly-generated as possible.

{
    "hashSalt": "MyCoolHashSalt999:)",
    "passwordSalt": "AwsomePasswordSalt.GoodForSalting",
    "ports": [ 8008 ],
    "trustXForwardedFor": false
}

Screenshots