v1.10.4

Important

A full reinstall is advised

New 🚀

  • New warning message
  • Opensource some moderation related functionality (moderation.lua)
    • Bans, warnings logs are open source
    • You can also customize the playerConnecting event
    • Please be careful, if you make a mistake you might make bans ineffective or prevent players from connecting

Fixes

  • Internal bug fixing and stability improvements

Config Changes

Added message_duration_seconds option

  "warnings": {
    "maximum_warnings_until_ban": 3,
+   "message_duration_seconds": 15,
...

New file moderation.lua

Bans, warnings logs are open source.

You can also customize the playerConnecting event

Please be careful, if you make a mistake you might make bans ineffective or prevent players from connecting

📁 Files Changed

  • client/modules/nui.lua
  • client/utils/noclip.lua
  • config/config.json
  • config/custom_functions/client.lua
  • config/moderation.lua
  • fxmanifest.lua
  • locales/en.json
  • locales/es.json
  • locales/fr.json
  • locales/pt.json
  • locales/zh.json
  • server/index.js
  • server/sv_main.lua
  • server/utils/sv_functions.lua

🗣️ Locales

- "banned_message": "You have been banned by {staff} for {reason}\nBanned at {created}\nExpires {expiration}",
+ "warning": "Warning"