Suggested Discord Report System

Plug-ins compatibility with Zombie Escape Rebuild v1.x only.


Post Reply
User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 520
Joined: 5 years ago
Location: The Red City ❤
Contact:

Discord Report System

#1

Post by z0h1r-LK » 5 months ago

Discord Report System

• Description :

  • This add-on request was made by Sam (sh_iva), Discord Report System is allows players to report on a bad player on a server and sends this report to the discord server.

• Screenshots :

  • Image Image Image Image

• Installation && Instructions :

  • After install Requirements, Compile plug-in with AMX Mod X 1.10.0.5467 or newer

  • Copy translation keys does not exist in zombie_escape.txt in section [en].

  • Copy ReportTemplate.json and paste it in data directory.

• Translation Keys :

  1. [en]
  2. MENU_REPORT_TITLE = "Who this guy?"
  3. MENU_REASONS_TITLE = "What's the reason for reporting?^nTarget: \d%s"
  4. MENU_REPORT_WARN = "If your report is false or kidding, You will be banned."
  5. MSG_REPORT_SENT = "Your report has been sent !"
  6. MSG_REPORT_DELAY = "!tYou can use report menu after !g%.2f !tSecond(s) !y!"
  7. MSG_REPORT_LIMIT = "You have reached the maximum number of reports !t(Max: %d) !y!"

• Requirements :

• Commands :

  • /rpt or /report • Open Report Menu.

• Settings :

  1. [DC Report System]
  2. WEBHOOK_URL = https://discord.com/api/...
  3. REPORT_REASONS = Cheats/Hack , Insult/Abuse , Spoil the gameplay , Teamplay , Chat/Voice Spammer

• Console Variables :

  1. // --- --- ---
  2. // Discord Report System
  3. // --- --- ---
  4. ze_reportdc_enable 1          // Discord Report System (1 = Enabled | 0 = Disabled).
  5. ze_reportdc_times 3           // Maximum number of reports allowed for player (0 = Unlimited).
  6. ze_reportdc_cooldown "60.0"   // Delay before re-activate Report Menu for player (0.0 = No Delay).

• Changes Log :

  1. [Version 1.0.0]
  2.  - First release.
  3.  
  4. [Version 1.0.1]   ; Current.
  5.  - Added new elements.
  6.  - Added custom reason 'Other?'.
  7.  - Minor changes in JSON file.

• How to build new JSON file? :

• Elements :

  • You can use this elements in JSON file :

    • {$report_id} - Report ID (CRC32 Hash)

    • {$sender_name} - Nick name of reporter

    • {$sender_authid} - Auth ID of reporter (SteamID/ValveID)

    • {$sender_ipaddr} - IP address of reporter

    • {$target_name} - Nick name of reported

    • {$target_authid} - Auth ID of reported

    • {$target_ipaddr} - IP address of reported

    • {$reason} - Reason of reporting

    • {$is_admin} - Reported on Admin (🟢 or 🔴)

• Downloads :

Last edited by z0h1r-LK 5 months ago, edited 1 time in total.

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 520
Joined: 5 years ago
Location: The Red City ❤
Contact:

#2

Post by z0h1r-LK » 5 months ago

  • Updated to v1.0.1


Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 1 guest