From fe6875904f0c8f4ed8359efe961570307d9cbae6 Mon Sep 17 00:00:00 2001 From: RblSb Date: Mon, 2 Mar 2020 03:26:01 +0300 Subject: addAdmin server command --- user/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'user') diff --git a/user/README.md b/user/README.md index f59e576..e244d09 100644 --- a/user/README.md +++ b/user/README.md @@ -12,7 +12,12 @@ File example: You can patch any file you want in project `res/` by creating `user/res/sameName` files. For example `user/res/index.html` or `user/res/css/custom.css`. You can also add any new files. + +## Server commands +Server has input commands, for example, to set admin users. Simple enter anything to terminal after run to get command list. + ## Other files here -- `state.json` - saved state of latest server session (messages, videos, video time). -- `logs/` - latest 10 logs. You can change count in config. -- `crashes/` - folder with latest error logs, when the server had to restart itself. +- `state.json` - Saved state of latest server session (messages, videos, video time). +- `users.json` - Admin names with password hashes and random channel-specific salt. Do not share this file! +- `crashes/` - Latest error logs, when the server had to restart itself. +- `logs/` - (TODO) Latest activity logs. -- cgit v1.2.3