Page 1 of 1

LAN Notifier 1.0a

Posted: Mon Nov 22, 2021 11:38 am
by greenie
LAN Notifier 1.0a

This plugin let's everyone see who on the server is on the same LAN. It will prepend "Ln:" to the front of players' names when they are on the same LAN where "n" is an integer signifying which LAN group they belong to.

You can set whether this plugin should look for an exact IP match or just a match of the first 3 octets. My recommendation, and the default setting, is to look at just the first 3 octets.

See the Options (CVARs) section for detailed functionality.


Installation

File Locations:
.\gamemod\addons\amxmodx\plugins\lann.amxx
.\gamemod\addons\amxmodx\data\lang\lann.txt
Enabled Modules:
regex
Options (CVARS)

lann_exact_match <0|1>
Determines whether to look at all 4 octets of an IP address or just the first 3.
0: xxx.xxx.xxx.* = yyy.yyy.yyy.*
1: xxx.xxx.xxx.xxx = yyy.yyy.yyy.yyy
The default is 0.


Compilation
Most people will have no need for this section.

File Locations:
.\scripting\lann.sma

plugin
source