Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Alexit/

Contact Info Command

Plugin
Alexitb26605dae6Version 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Contact Info Command 1.0.0 (olds.ro) ==================================== Players type /contact or /info in chat and see where to find the server: the website, the Discord invite and how to reach an admin. The details come as coloured chat lines that only that player sees, or in a MOTD window. Requirements - AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed) - Tested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install 1. Compile scripting/olds_contact.sma with amxxpc 1.10 and copy olds_contact.amxx to addons/amxmodx/plugins/. 2. Copy data/lang/olds_contact.txt to addons/amxmodx/data/lang/. 3. Copy configs/plugins/olds_contact.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the defaults on its first start). 4. Add olds_contact.amxx to addons/amxmodx/configs/plugins.ini. 5. Put your own details in olds_contact.cfg. Chat commands (chat and team chat) /contact /info show the contact details - The typed command stays in chat like any other line, so plugins that read chat (logs, anti-spam, gag) still see it. - A contact cvar that is empty (or only spaces) is left out: no blank line and no empty row in the window. When all three are empty, the player is told "No contact details are set on this server." - Within the cooldown the player gets only "Please wait N seconds before asking again." Settings (addons/amxmodx/configs/plugins/olds_contact.cfg) olds_contact_web "https://olds.ro" website line, "" = no line olds_contact_discord "" Discord line, "" = no line olds_contact_admin "" admin contact line, "" = no line olds_contact_mode 1 1 = chat lines, 2 = MOTD window olds_contact_cd 5 seconds a player waits between two uses, 0 = no wait - Changes are shown at once, without a map change. A lower cooldown also shortens a wait that has already started. - Values longer than 96 bytes are cut. In the window, characters such as < > & are shown as text, so a value cannot break the page. Chat example (mode 1; the labels are green) Website: https://olds.ro Discord: discord.gg/yourcode Admin: Alex - Steam: alex_cs Texts are in data/lang/olds_contact.txt (English). Add a section such as [ro] to translate them. No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1506. Licence: GNU GPL version 3 or later (GPL-3.0-or-later).

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.