About This File
Discord Report & Invitation System
This is a professional CS 1.6 server utility designed to streamline player interaction with administration and boost server population via Discord integration.
Key Features:
-
Report System: If a player encounters a cheater or a rule-breaker, they can simply type
/calladminor.calladminin the chat. A user-friendly menu will appear, allowing them to select the specific player to report. The system instantly sends a detailed report to your designated Discord channel, including the reporter's name, the suspect's name, SteamID, current map, and server IP. -
Invitation System: Players can invite their friends to join the server by typing
/inviteor.invite. The plugin generates an engaging notification in Discord, showing who is playing and on which map. -
Automatic Map Previews: The plugin automatically fetches map images from
[https://cammora.lt/forum/monitor/maps/](https://cammora.lt/forum/monitor/maps/), ensuring players and admins see a visual representation of the current map in the Discord notification.
Why choose this plugin?
-
Instant Admin Alerts: Admins are automatically "tagged" (mentioned) in the Discord channel, ensuring they are notified immediately, even when not in-game.
-
Improved Accuracy: Automatically captures essential player data (SteamID, Map, Player Count), which helps reduce spam and fake reports.
-
Community Engagement: Easy-to-use invitation commands encourage players to share your server with their friends.
Administrator Setup Guide:
To get this system running in your Discord server, follow these steps before compiling the .sma file:
-
Configure Admin Mentions:
-
Find the line:
#define ADMIN_ROLE_ID "816784965009276949" -
Replace
816784965009276949with your actual Discord Role ID. -
Tip: Enable "Developer Mode" in your Discord settings, right-click your admin role, and select "Copy Role ID".
-
-
Set Server IP:
-
Find the line:
#define SERVER_IP "cs.cammora.lt:27015" -
Update this to your server's actual IP address and port.
-
-
Webhook Configuration:
-
You must configure your Discord Webhook URL in your server's
configs/discord.cfgfile. Open the file and add the following section
-
-
**Important Note on Map Images:** * The code contains pre-configured links to `[https://cammora.lt/forum/monitor/maps/](https://cammora.lt/forum/monitor/maps/)`. **Do not modify these links.** If you change or remove them, the system will fail to fetch map images, and the previews in your Discord notifications will stop working. --- **Note:** After making these changes, please compile the `.sma` file into an `.amxx` format and ensure the `discord` module is correctly installed and active on your server.
