Major stuff:
- Check compiling libraries like pkg and nexe.
- Check config management libraries (specially 'convict' by Mozilla and nconf)
- Auto updater with simple-git/promise
- Make messages/commands.json via lowdb and remove the
Players online
andFile reloaded
spam.
Medium stuff:
- Add "discord client id" in the admin settings, this would enable "/kick @user"
Minor stuff:
- Hide the verbosity option. People don't fucking read and click on it anyway,
- xxxxxx
- Logger:
- [-] Revert txAdminClient cl_logger.js back into lua and fix the mismatch of killer ID from client to server
- Listen for the most common vRP and ESX server events and log them
- Divide the interface vertically, and on the right add filter options (HTML/CSS Only)
- Make the javascript for hiding events based on the
data-event-type
attribute - [.] Create a "load more" at the top of the log, for the admin too be able to see older entries.
- When restarting the server, add the name of the admin to the chat/discord messages.
- When sending a DM as admin, add the name of the admin
- Add localized uptime to the /status command and review the usage of the dateformat lib
- Add to the resources page an option to see/hide the default cfx resources
- Dark Theme!
x = done
- = being worked on . = on hold
https://www.science.co.il/language/Locale-codes.php https://www.npmjs.com/package/humanize-duration https://www.npmjs.com/package/dateformat https://www.npmjs.com/package/dateformat-light https://date-fns.org/v2.0.1/docs/formatDistance
https://www.reddit.com/r/javascript/comments/91a3tp/why_is_there_no_small_sane_nodejs_tool_for/
DIV transition: https://tympanus.net/Tutorials/OriginalHoverEffects/index9.html
- freeze detector
- inject via tmp file
- experiements dropdown menu + ban page html/js
- database module
- functional ban page with ban add, list and export
- ban feature at sv_main.lua
- tie everything correctly and push update
- fix playerlist div name issue
- Fix paths with spaces (too hard, just block in the settings page)
- Apple xss whitelist [] to all xss() calls (vide src\webroutes\diagnostics-log.js)
Discarted due to node-gyp: level, better-sqlite3, sqlite3
- dblite
- 165/week
- 0 deps
- 6 months ago
- spawn sqlite-shell
- lowdb
- 183k/week
- 5 deps
- 2 years ago
- lodash front end, can query data
- sql.js
- 26k/week
- 0 deps
- 4 months ago
- sqlite c into webassembly
Automatic event detection by regexing all .lua files in the resources folder?
AddEventHandler\(["'](.+)["'].*
data/
admins.json
example/
config.json
messages.json
commands.json
start.bat
logs/
admin.log
fxserver.log
txAdmin_errors.log
data/
players.json
extensions/
txAdminClient/
resource/
__resource.lua
...
- Global
- authenticator
- discordBOT
- logger
- webconsole
- webserver
- Individual
- monitor
- fxrunnder