View Single Post
Plugin Info:     Modification:          Category:          Approver:   EKS (166)
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-22-2006 , 13:50   LAN Notifier 1.0a
Reply With Quote #1

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
Attached Files
File Type: txt lann.txt (4.5 KB, 3338 views)
File Type: sma Get Plugin or Get Source (lann.sma - 5752 views - 7.9 KB)

Last edited by Brad; 06-28-2006 at 09:30. Reason: fixed formatting that got screwy from the conversion
Brad is offline