UI Config

You can change individual values in client/ui/config.js

Quick Report Buttons

You could define quick buttons as templates for reports. You could specify report title and button label for each quick button.

DATE FORMATS

If you want you could change date formats used in UI.

SHOW_HISTORY_FOR_PLAYERS

If you want to hide reports history to players you could set it here.

MAX_ACTIVE_REPORTS

If you want to limit active reports for players you could set it here. null if you want unlimited reports.

LOGO_HEIGHT

You can change height of logo in top of report system here.

Locales

All locales used in UI are stored here. You could also change current locale here.

ADMIN_MESSAGE_NAME_COLOR & ADMIN_MESSAGE_BACKGROUND_COLOR

You could set custom colors for admin name and background of message for messages sent by admins

null - default colors are used
color - you could use RGB/RGBA/HEX colors. We recommend to pick your color in https://g.co/kgs/xdDh7t

SHOW_ADMIN_NAMES

If set to false all admins will be shown as 'ADMIN' for players in report chat

ADMIN_IN_REPORT_TIMEOUT_BEFORE_CHANGE

Defines timeout before update about admin in report is sent to server. This prevents event spam when admin is browsing reports.

TIMEOUT_BEFORE_NEXT_REPORT_CREATION

Defines timeout before player is allowed to create next report

HIDE_ADMIN_DUTY_TOGGLE

Set this to true only if you handle admin duty toggle by yourself

DISABLE_GOD_MODE_ACTION

if set to true admins won't be able to set god mode to anyone

SHOW_ONLY_REPORTS_WITHOUT_ADMINS

if set to true admin will see only reports which are untouched and no admin is currently in the report this affects only admins

Last updated