A custom Windows 96 MsgRoom Server
Made by nolanwhy and Kelbaz. Feel free to make pull requests!
# Step 1: Clone the repository
git clone https://github.com/SigmacellHQ/msgroom-custom-server.git
# Step 2: Go to the folder
cd msgroom-custom-server
# Step 3: Install dependencies
npm install
# Step 4: Run the server
#: <PORT> <CLIENT UI>
npm run serve 4096 -- --client
# Step 5: Share with friends (optional)
#: <PORT>
ngrok http 4096 # (*)
(*): You need an ngrok account, which you can set up here.
You successfully installed MsgRoom Custom Server!
On the terminal, you should see the Arguments, and the url to visit your custom server.
Thank you for using our custom server! ❤
--client
: Starts the client ui server--db-file <PATH>
: Sets the path to the JSON db file--admin-secret <SECRET>
: Sets the admin secret--random-ids
: Randomizes user ids--api-url <URL>
: Sets the api endpoint--require-loginkeys
: Requires login keys to connect--enable-automod
: Enables the AutoMod bot--ratelimit <limit>
: Sets the message rate limit--user-limit <limit>
: Sets the user limit (alt accounts)--user-knowblocks
: Makes users able to see when they're blocked--enable-channels
: Enables channels
This is up to the bot api owner to add, but if its like msgroom-orm, here's how to do it
Your client should look like:
const client = new Client("TestBot", [ "!" ]);
Now, it's really easy, just add a new argument to Client with an object containing the arguments
If you don't understand anything, just do it like this:
// <DOMAIN> <PORT>
const client = new Client("TestBot", [ "!" ], { server: "wss://example.com:4096" });
Congrats! 🎉 Your bot should now work with MRCS!
- Go to .env and edit the ADMIN_SECRET value
- Go to /admin and put the admin secret
- Follow instructions
- Go to your db file (
db.json
by default) and add your ID. - You can execute
/a help
to get a list of every admin command. - To ban a user, use
/a ban
or add the user's ID todatabase/banned.json
. - To kick a user, use
/a disconnect
.
Go to your db file (db.json
by default) and add your key and ID.
Then you can execute /a help to get every admin command.
To ban, use /a ban or put the user's id in database/banned.json
To kick, use /a disconnect.