The "ReAPI: Demo Recorder" plugin is designed for AMX Mod X to automatically start recording a demo when a player connects to the server. It provides essential information about the player and server in a well-formatted message in the chat. This plugin utilizes the ReAPI for advanced functionalities and the GeoIP module to fetch geographical information based on the player's IP address.
Features:
Automatic Demo Recording: The plugin automatically starts recording a demo for each player after a specified delay upon their connection.
Player Information Display: Displays essential information such as the player's name, map, connection time, IP address, and Steam ID in the chat.
Geolocation Data: Utilizes the GeoIP module to fetch and display the player's city and country based on their IP address.
Admin Identification: Identifies and marks different admin levels (OWNER, ADMIN, VIP) and displays this information in the chat.
Complaint Information: Provides a link for players to submit complaints if they feel they were unfairly banned.
Customization: The plugin includes customizable prefixes and complaint links.
Setup Instructions:
Dependencies: Ensure that the required modules (amxmodx, WPMGPrintChatColor, geoip, and reapi) are installed and enabled on your server.
Installation:
Place the plugin file in the amxmodx/plugins directory.
Add the plugin name to the plugins.ini file to enable it.
Configuration:
Edit the constants PREFIX and COMPLAINT to customize the chat message prefix and complaint URL respectively.
Server Restart: Restart your server to apply the changes.
Customization:
PREFIX: Customize the chat message prefix.
COMPLAINT: Update the URL for submitting complaints.
Delay Time: Adjust the delay for starting the demo recording by changing the set_task parameter in client_putinserver.