Skip to content

Latest commit

 

History

History
68 lines (56 loc) · 4.2 KB

README.md

File metadata and controls

68 lines (56 loc) · 4.2 KB

Yes this STILL works as of 2024 and has no reason to break

ShowReportsInGame

A simple plugin to notify all staff in-game about reports via hints, adminchat and client console without the need of opening discord and looking through logs

Github All Releases

How do I download this?

Configs

# Whether or not the plugin is enabled.
is_enabled: true
# Should debug logs be enabled?
debug: false
# Should hints be enabled for report events?
enable_hints: true
# Duration for hint message sent to all RA access players.
report_hint_duration: 5
# Should AdminChat be enabled for report events?
enable_admin_chat: false
# Duration for AdminChat message sent to all RA access players.
admin_chat_report_duration: 5
# Normal report hint first line
local_report_hint_msg: '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<size=20><color=red>[</color><color=yellow>ShowReportsInGame</color><color=red>]</color></size>\n<size=20><color=red>/|\</color>[<color=green>NOTE: This is a normal report.</color>]<color=red>/|\</color></size>\n<size=20>[<color=yellow>Player Report, Check Console (`) For Info</color>]</size>'
# Normal report console message
local_report_console_msg: '<size=23>[<color=yellow>Normal Report</color>]</size>\n<size=23><color=orange>Reporter</color>: <color=red>%IssuerNickname%</color></size>\n<size=18>  - GameID: %IssuerGameId%</size>\n<size=18>  - UserID: %IssuerUserId%</size>\n<size=23><color=orange>Reported</color>: <color=red>%TargetNickname%</color></size>\n<size=18>  - GameID: %TargetGameId%</size>\n<size=18>  - UserID: %TargetUserId%</size>\n<size=23><color=orange>Reason</color>: <color=red>%ReportReason% </color></size>'
# Normal report adminchat
local_report_admin_chat_msg: <size=25>Normal Report!\n[Check Console (`) For Info]</size>
# Cheater report hint first line
cheat_report_hint_msg: '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<size=20><color=red>[</color><color=yellow>ShowReportsInGame</color><color=red>]</color></size>\n<size=20><color=red>/|\</color>[<color=red>WARNING: THIS IS A CHEATER REPORT</color>]<color=red>/|\</color></size>\n<size=20>[<color=yellow>Cheater Report, Check Console (`) For Info</color>]</size>'
# Normal report console message
cheat_report_console_msg: '<size=23>[<color=red>CHEATER REPORT</color>]</size>\n<size=23><color=orange>Reporter</color>: <color=red>%IssuerNickname%</color></size>\n<size=18>  - GameID: %IssuerGameId%</size>\n<size=18>  - UserID: %IssuerUserId%</size>\n<size=23><color=orange>Reported</color>: <color=red>%TargetNickname%</color></size>\n<size=18>  - GameID: %TargetGameId%</size>\n<size=18>  - UserID: %TargetUserId%</size>\n<size=23><color=orange>Reason</color>: <color=red>%ReportReason% </color></size>'
# Normal report adminchat
cheat_report_admin_chat_msg: <size=25>Cheater Report!\n[Check Console (`) For Info]</size>

Custom variables

These can be used in the config to return info, These are case sensitive!!!

Example:

cheat_report_admin_chat_msg: <size=25>Cheater Report!\n%IssuerNickname% reported %TargetNickname% for %ReportReason%</size>
Variable Name Returns
%IssuerUserId% Reporter's User ID (@steam/@discord included)
%IssuerGameId% Reporter's Game ID (# In RA)
%IssuerNickname% Reporter's Nickname
%IssuerRole% Reporter's Current Role At Report Time
------------------ ------------------------------------------
%TargetUserId% Reported User ID (@steam/@discord included)
%TargetGameId% Reported Game ID (# In RA)
%TargetNickname% Reported Nickname
%TargetRole% Reported Current Role At Report Time
------------------ ------------------------------------------
%ReportReason% Reason In Report

Previews

Hint HintCustom ConsoleMessage