Skip to content
View in the app

A better way to browse. Learn more.

Learn more

HLTV Inviter

Featured Replies

  • Administrator

Lets an admin invite an HLTV proxy to the server by address and keeps one slot reserved for it so full servers can still be watched.

HLTV Inviter 1.0.0 (olds.ro)

Lets an admin invite an HLTV proxy to the server by its address, and keeps a slot free for HLTV so a full server can still be watched.

Requirements

  • AMX Mod X 1.10.0.5490 or newer with the sockets module
  • An HLTV proxy whose adminpassword you know

Install Compile scripting/olds_hltvinv.sma and copy olds_hltvinv.amxx to addons/amxmodx/plugins/; make sure "sockets" is enabled in modules.ini. No downloads.

Settings (addons/amxmodx/configs/plugins/olds_hltvinv.cfg, made on first run)

  olds_hltvinv_reserve 1     player slots kept free for HLTV proxies (0 = off)
  olds_hltvinv_pass ""       the proxy's adminpassword; without it nothing is
                             sent
  olds_hltvinv_server ""     this server's public ip:port as the proxy should
                             dial it (empty = the server's own address)

Admins (ADMIN_RCON)

  amx_hltvinvite <ip:port>   asks that proxy to connect here
  amx_hltvkick               disconnects every connected HLTV proxy
  amx_hltvinv_status         slots, proxies and the last invite

How it works

  • A game server cannot pull a proxy in by itself (the card's tv_relay idea is an HLTV-side command), so the plugin does what an admin at the proxy's console would do, over UDP: it asks the proxy for an rcon challenge ("challenge rcon"), then sends rcon <challenge> "<olds_hltvinv_pass>" connect <this server>. The proxy then joins like any HLTV. The address is checked first (a.b.c.d:port, every part in range); a bad one gets the usage line and no packet. With no answer in 3 s the invite ends with a message. Every invite, answer and kick is written with log_amx.
  • The reserve: sv_visiblemaxplayers is set to maxplayers - reserve (and restored when the reserve is 0 or the map ends), sv_proxies to at least 1. A player (or bot) who would take one of the reserved slots while no proxy holds it is turned away with "Server is full"; an HLTV proxy always gets in.
  • amx_hltvkick kicks every HLTV client, which frees the slot again.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_hltvinv.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0836).

HLTV Inviter
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads4.9 KBUpdated 4 hours ago
Sign in to download
Pawn (AMX Mod X) · 335 lines
/*
 * HLTV Inviter (olds.ro workshop card LIB-0836)
 * Copyright (C) 2026 daemon (olds.ro)
 *
 * This program is free software: you can redistribute it and/or modify it under the terms
 * of the GNU General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
Show all 335 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.